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 15265 for NEMO/trunk/tests/VORTEX – NEMO

Ignore:
Timestamp:
2021-09-16T13:13:13+02:00 (3 years ago)
Author:
jchanut
Message:

Improve ghost cell initialization with AGRIF + minor changes such as missing _wp, tests namelists updates, etc... can be assigned to #2638

File:
1 edited

Legend:

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

    r14976 r15265  
    9797         ighost_n = nbghostcells 
    9898 
    99          IF  ( Agrif_Ix() == 1 ) ighost_w = 1  
    100          IF  ( Agrif_Ix() + nbcellsx/AGRIF_Irhox() == Agrif_Parent(Ni0glo) - 1 ) ighost_e = 1  
    101          IF  ( Agrif_Iy() == 1 ) ighost_s = 1  
    102          IF  ( Agrif_Iy() + nbcellsy/AGRIF_Irhoy() == Agrif_Parent(Nj0glo) - 1 ) ighost_n = 1  
     99         ! In case one sets zoom boundaries over domain edges:  
     100         IF  ( Agrif_Ix() == 2 - Agrif_Parent(nbghostcells_x_w) ) ighost_w = 1 
     101         IF  ( Agrif_Ix() + nbcellsx/AGRIF_Irhox() == Agrif_Parent(Ni0glo) - Agrif_Parent(nbghostcells_x_w) ) ighost_e = 1  
     102         IF  ( Agrif_Iy() == 2 - Agrif_Parent(nbghostcells_y_s) ) ighost_s = 1 
     103         IF  ( Agrif_Iy() + nbcellsy/AGRIF_Irhoy() == Agrif_Parent(Nj0glo) - Agrif_Parent(nbghostcells_y_s) ) ighost_n = 1  
    103104!         kpi  = nbcellsx + 2 * ( nbghostcells + 1 ) 
    104105!         kpj  = nbcellsy + 2 * ( nbghostcells + 1 ) 
Note: See TracChangeset for help on using the changeset viewer.