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 13026 for NEMO/branches/2020/dev_r12973_AGRIF_CMEMS/src/NST/agrif_oce_update.F90 – NEMO

Ignore:
Timestamp:
2020-06-03T16:30:02+02:00 (4 years ago)
Author:
rblod
Message:

AGRIF with northfold and perio, see ticket #2129

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r12973_AGRIF_CMEMS/src/NST/agrif_oce_update.F90

    r12489 r13026  
    2626   USE domvvl         ! Need interpolation routines  
    2727   USE vremap         ! Vertical remapping 
     28   USE lbclnk  
    2829 
    2930   IMPLICIT NONE 
     
    8182      IF (Agrif_Root()) RETURN 
    8283      ! 
     84#if defined TWO_WAY 
    8385      IF (lwp.AND.lk_agrif_debug) Write(*,*) 'Update momentum from grid Number',Agrif_Fixed() 
    8486 
    8587      Agrif_UseSpecialValueInUpdate = .FALSE. 
    8688      Agrif_SpecialValueFineGrid = 0. 
     89 
     90      use_sign_north = .TRUE. 
     91      sign_north = -1. 
     92 
    8793      !      
    8894# if ! defined DECAL_FEEDBACK 
     
    126132#  endif 
    127133      END IF 
     134#endif 
     135      use_sign_north = .FALSE. 
    128136      ! 
    129137   END SUBROUTINE Agrif_Update_Dyn 
     
    148156#  if defined VOL_REFLUX 
    149157      IF ( ln_dynspg_ts.AND.ln_bt_fw ) THEN 
     158         use_sign_north = .TRUE. 
     159         sign_north = -1. 
    150160         ! Refluxing on ssh: 
    151161#  if defined DECAL_FEEDBACK_2D 
     
    156166         CALL Agrif_Update_Variable(vb2b_update_id,locupdate1=(/ 0, 0/),locupdate2=(/-1,-1/),procname = reflux_sshv) 
    157167#  endif 
     168         use_sign_north = .FALSE. 
    158169      END IF 
    159170#  endif 
     
    826837   SUBROUTINE correct_v_bdy( tabres, i1, i2, j1, j2, k1, k2, n1, n2, before, nb, ndir ) 
    827838      !!--------------------------------------------- 
    828       !!           *** ROUTINE correct_u_bdy *** 
     839      !!           *** ROUTINE correct_v_bdy *** 
    829840      !!--------------------------------------------- 
    830841      INTEGER                                     , INTENT(in   ) :: i1, i2, j1, j2, k1, k2, n1, n2 
Note: See TracChangeset for help on using the changeset viewer.