New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2236 for branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/DYN/sshwzv.F90 – NEMO

Ignore:
Timestamp:
2010-10-12T20:49:32+02:00 (14 years ago)
Author:
cetlod
Message:

First guess of NEMO_v3.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r2106_LOCEAN2010/NEMO/OPA_SRC/DYN/sshwzv.F90

    r2148 r2236  
    66   !! History :  3.1  !  2009-02  (G. Madec, M. Leclair)  Original code 
    77   !!            3.3  !  2010-04  (M. Leclair, G. Madec)  modified LF-RA  
     8   !!             -   !  2010-05  (K. Mogensen, A. Weaver, M. Martin, D. Lea) Assimilation interface 
     9   !!             -   !  2010-09  (D.Storkey and E.O'Dea) bug fixes for BDY module 
    810   !!---------------------------------------------------------------------- 
    911 
     
    2628   USE obc_par         ! open boundary cond. parameter 
    2729   USE obc_oce 
     30   USE bdy_oce 
    2831   USE diaar5, ONLY :   lk_diaar5 
    2932   USE iom 
    30    USE sbcrnf, ONLY : rnf_dep, rnf_mod_dep  ! River runoff 
     33   USE sbcrnf, ONLY  : h_rnf, nk_rnf  ! River runoff  
     34#if defined key_asminc    
     35   USE asminc          ! Assimilation increment 
     36#endif 
    3137 
    3238   IMPLICIT NONE 
     
    4248   !! NEMO/OPA 3.3 , LOCEAN-IPSL (2010)  
    4349   !! $Id$ 
    44    !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     50   !! Software governed by the CeCILL licence  (NEMOGCM/License_CeCILL.txt) 
    4551   !!---------------------------------------------------------------------- 
    4652 
     
    138144         hur(:,:) = umask(:,:,1) / ( hu(:,:) + 1.e0 - umask(:,:,1) ) 
    139145         hvr(:,:) = vmask(:,:,1) / ( hv(:,:) + 1.e0 - vmask(:,:,1) ) 
    140          ! 
     146         !  
    141147      ENDIF 
    142148      ! 
     
    168174      ENDIF 
    169175#endif 
     176#if defined key_bdy 
     177      ssha(:,:) = ssha(:,:) * bdytmask(:,:) 
     178      CALL lbc_lnk( ssha, 'T', 1. )  
     179#endif 
     180 
    170181      !                                                ! Sea Surface Height at u-,v- and f-points (vvl case only) 
    171182      IF( lk_vvl ) THEN                                ! (required only in key_vvl case) 
     
    184195         CALL lbc_lnk( sshv_a, 'V', 1. ) 
    185196      ENDIF 
     197! Include the IAU weighted SSH increment 
     198#if defined key_asminc 
     199      IF( ( lk_asminc ).AND.( ln_sshinc ).AND.( ln_asmiau ) ) THEN 
     200         CALL ssh_asm_inc( kt ) 
     201         ssha(:,:) = ssha(:,:) + z2dt * ssh_iau(:,:) 
     202      ENDIF 
     203#endif 
     204 
    186205      !                                           !------------------------------! 
    187206      !                                           !     Now Vertical Velocity    ! 
     
    193212            &                      - (  fse3t_a(:,:,jk) - fse3t_b(:,:,jk) )    & 
    194213            &                         * tmask(:,:,jk) * z1_2dt 
     214#if defined key_bdy 
     215         wn(:,:,jk) = wn(:,:,jk) * bdytmask(:,:) 
     216#endif 
    195217      END DO 
    196218 
Note: See TracChangeset for help on using the changeset viewer.