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 15119 for NEMO/trunk/tests/ICE_AGRIF – NEMO

Ignore:
Timestamp:
2021-07-13T16:43:22+02:00 (3 years ago)
Author:
jchanut
Message:

#2638, changes to accomodate nn_hls=2 and AGRIF zooms crossing cyclic boundaries. E-W case ok, update for North-Fold still needed.

Location:
NEMO/trunk/tests/ICE_AGRIF/MY_SRC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/tests/ICE_AGRIF/MY_SRC/usrdef_hgr.F90

    r14976 r15119  
    8989         ! deduce offset from parent: 
    9090         roffsetx = Agrif_Parent(roffsetx) & 
    91             & + (-(nbghostcells_x   - 1) + (Agrif_Parent(nbghostcells_x  ) & 
     91            & + (-(nbghostcells_x_w - 1) + (Agrif_Parent(nbghostcells_x_w) & 
    9292            & + Agrif_Ix()-2)*Agrif_Rhox()) * 1.e-3 * rn_dx 
    9393         roffsety = Agrif_Parent(roffsety) & 
  • NEMO/trunk/tests/ICE_AGRIF/MY_SRC/usrdef_nam.F90

    r14976 r15119  
    9191         kpj  = nbcellsy + 2 * nbghostcells 
    9292!! JC: number of ghosts unknown at this tage 
    93 !!$         kpi  = nbcellsx + nbghostcells_x   + nbghostcells_x  + 2 
     93!!$         kpi  = nbcellsx + nbghostcells_x_w + nbghostcells_x_e + 2 
    9494!!$         kpj  = nbcellsy + nbghostcells_y_s + nbghostcells_y_n + 2 
    9595      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.