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/VORTEX/MY_SRC/usrdef_hgr.F90 – 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.

File:
1 edited

Legend:

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

    r14976 r15119  
    8888         ! deduce offset from parent: 
    8989         roffsetx = Agrif_Parent(roffsetx) & 
    90                   & + (-(nbghostcells_x   - 1) + (Agrif_Parent(nbghostcells_x  ) + Agrif_Ix()-2)*Agrif_Rhox()) * 1.e-3 * rn_dx 
     90                  & + (-(nbghostcells_x_w - 1) + (Agrif_Parent(nbghostcells_x_w) + Agrif_Ix()-2)*Agrif_Rhox()) * 1.e-3 * rn_dx 
    9191         roffsety = Agrif_Parent(roffsety) & 
    9292                  & + (-(nbghostcells_y_s - 1) + (Agrif_Parent(nbghostcells_y_s) + Agrif_Iy()-2)*Agrif_Rhoy()) * 1.e-3 * rn_dy 
Note: See TracChangeset for help on using the changeset viewer.