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 2486 for trunk/NEMO/OPA_SRC – NEMO

Changeset 2486 for trunk/NEMO/OPA_SRC


Ignore:
Timestamp:
2010-12-19T16:07:25+01:00 (13 years ago)
Author:
rblod
Message:

Correct Agrif inconstency for ssh, nemo_v3_2 version, see ticket 669

Location:
trunk/NEMO/OPA_SRC/DYN
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DYN/dynnxt.F90

    r1876 r2486  
    3232   USE bdydta          ! unstructured open boundary conditions 
    3333   USE bdydyn          ! unstructured open boundary conditions 
    34    USE agrif_opa_update 
    3534   USE agrif_opa_interp 
    3635   USE in_out_manager  ! I/O manager 
     
    259258      ENDIF 
    260259 
    261 #if defined key_agrif 
    262       ! Update velocity at AGRIF zoom boundaries 
    263       IF (.NOT.Agrif_Root())    CALL Agrif_Update_Dyn( kt ) 
    264 #endif       
    265  
    266260      IF(ln_ctl)   CALL prt_ctl( tab3d_1=un, clinfo1=' nxt  - Un: ', mask1=umask,   & 
    267261         &                       tab3d_2=vn, clinfo2=' Vn: '       , mask2=vmask ) 
  • trunk/NEMO/OPA_SRC/DYN/sshwzv.F90

    r1792 r2486  
    2727   USE diaar5, ONLY :   lk_diaar5 
    2828   USE iom 
     29   USE agrif_opa_interp 
     30   USE agrif_opa_update 
    2931 
    3032   IMPLICIT NONE 
     
    156158      ssha(:,:) = (  sshb(:,:) - z2dt * ( zraur * emp(:,:) + zhdiv(:,:) )  ) * tmask(:,:,1) 
    157159 
     160#if defined key_agrif 
     161      CALL agrif_ssh(kt) 
     162#endif 
    158163#if defined key_obc 
    159164      IF ( Agrif_Root() ) THEN  
     
    275280      ENDIF 
    276281      ! 
     282#if defined key_agrif 
     283      ! Update velocity at AGRIF zoom boundaries 
     284      IF (.NOT.Agrif_Root())    CALL Agrif_Update_Dyn( kt ) 
     285#endif 
     286 
    277287      IF(ln_ctl)   CALL prt_ctl(tab2d_1=sshb    , clinfo1=' sshb  - : ', mask1=tmask, ovlap=1 ) 
    278288      ! 
Note: See TracChangeset for help on using the changeset viewer.