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/DOME – 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/DOME/MY_SRC
Files:
2 edited

Legend:

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

    r14976 r15119  
    8585         ! deduce offset from parent: 
    8686         roffsetx = Agrif_Parent(roffsetx) & 
    87               & + (-(nbghostcells_x   - 1) + (Agrif_Parent(nbghostcells_x  ) & 
     87              & + (-(nbghostcells_x_w - 1) + (Agrif_Parent(nbghostcells_x_w) & 
    8888              & + Agrif_Ix()-2)*Agrif_Rhox()) * 1.e-3 * rn_dx 
    8989         roffsety = Agrif_Parent(roffsety) & 
  • NEMO/trunk/tests/DOME/MY_SRC/usrdef_nam.F90

    r14976 r15119  
    104104         kpj  = nbcellsy + ighost_s + ighost_n 
    105105!! JC: number of ghosts are unknown at this stage ! 
    106 !!$         kpi  = nbcellsx + nbghostcells_x   + nbghostcells_x    
     106!!$         kpi  = nbcellsx + nbghostcells_x_w + nbghostcells_x_e 
    107107!!$         kpj  = nbcellsy + nbghostcells_y_s + nbghostcells_y_n  
    108108      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.