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 8010 for branches/2017/dev_r7963_nemo_v3_6_AGRIF-3_AGRIFVVL/NEMOGCM/NEMO/OPA_SRC – NEMO

Ignore:
Timestamp:
2017-05-09T17:36:25+02:00 (7 years ago)
Author:
jchanut
Message:

AGRIF vvl add on

Location:
branches/2017/dev_r7963_nemo_v3_6_AGRIF-3_AGRIFVVL/NEMOGCM/NEMO/OPA_SRC
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7963_nemo_v3_6_AGRIF-3_AGRIFVVL/NEMOGCM/NEMO/OPA_SRC/DYN/divcur.F90

    r6204 r8010  
    323323            END DO 
    324324         END DO 
     325 
     326         IF( .NOT. AGRIF_Root() ) THEN 
     327            IF ((nbondi ==  1).OR.(nbondi == 2)) rotn(nlci-1 , :     ,jk) = 0.e0      ! east 
     328            IF ((nbondi == -1).OR.(nbondi == 2)) rotn(1      , :     ,jk) = 0.e0      ! west 
     329            IF ((nbondj ==  1).OR.(nbondj == 2)) rotn(:      ,nlcj-1 ,jk) = 0.e0      ! north 
     330            IF ((nbondj == -1).OR.(nbondj == 2)) rotn(:      ,1      ,jk) = 0.e0      ! south 
     331         ENDIF 
    325332         !                                             ! =============== 
    326333      END DO                                           !   End of slab 
  • branches/2017/dev_r7963_nemo_v3_6_AGRIF-3_AGRIFVVL/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_ts.F90

    r7973 r8010  
    576576         ! Set fluxes during predictor step to ensure  
    577577         ! volume conservation 
    578          IF( (.NOT.Agrif_Root()).AND.ln_bt_fw ) THEN 
     578         IF (.NOT.Agrif_Root().AND.ln_bt_fw) THEN 
    579579            IF((nbondi == -1).OR.(nbondi == 2)) THEN 
    580580               DO jj=1,jpj 
     
    11391139         IF(lwp) WRITE(numout,*) '     ln_bt_fw =.false.=> Centred integration of barotropic variables ' 
    11401140      ENDIF 
    1141       ! 
    1142 #if defined key_agrif 
    1143       ! Restrict the use of Agrif to the forward case only 
    1144       IF ((.NOT.ln_bt_fw ).AND.(.NOT.Agrif_Root())) CALL ctl_stop( 'AGRIF not implemented if ln_bt_fw=.FALSE.' ) 
    1145 #endif 
    11461141      ! 
    11471142      IF(lwp) WRITE(numout,*)    '     Time filter choice, nn_bt_flt: ', nn_bt_flt 
  • branches/2017/dev_r7963_nemo_v3_6_AGRIF-3_AGRIFVVL/NEMOGCM/NEMO/OPA_SRC/DYN/sshwzv.F90

    r7972 r8010  
    223223      ENDIF 
    224224#endif 
     225#if defined key_agrif 
     226      IF( .NOT. AGRIF_Root() ) THEN 
     227         IF ((nbondi ==  1).OR.(nbondi == 2)) wn(nlci-1 , :     ,:) = 0.e0      ! east 
     228         IF ((nbondi == -1).OR.(nbondi == 2)) wn(2      , :     ,:) = 0.e0      ! west 
     229         IF ((nbondj ==  1).OR.(nbondj == 2)) wn(:      ,nlcj-1 ,:) = 0.e0      ! north 
     230         IF ((nbondj == -1).OR.(nbondj == 2)) wn(:      ,2      ,:) = 0.e0      ! south 
     231      ENDIF 
     232#endif 
    225233      ! 
    226234      IF( nn_timing == 1 )  CALL timing_stop('wzv') 
  • branches/2017/dev_r7963_nemo_v3_6_AGRIF-3_AGRIFVVL/NEMOGCM/NEMO/OPA_SRC/step.F90

    r7971 r8010  
    353353                               CALL Agrif_Update_Tra()      ! Update active tracers 
    354354                               CALL Agrif_Update_Dyn()      ! Update momentum 
     355#if defined key_top 
     356                               CALL Agrif_Update_Trc()      ! Update passive tracers 
     357#endif 
    355358      ENDIF 
    356359#endif 
  • branches/2017/dev_r7963_nemo_v3_6_AGRIF-3_AGRIFVVL/NEMOGCM/NEMO/OPA_SRC/step_oce.F90

    r7502 r8010  
    114114   USE agrif_opa_sponge ! Momemtum and tracers sponges 
    115115   USE agrif_opa_update ! Update (2-way nesting) 
     116#if defined key_top 
     117   USE agrif_top_update ! Update (2-way nesting) 
     118#endif 
    116119#endif 
    117120#if defined key_top 
Note: See TracChangeset for help on using the changeset viewer.