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 13238 for NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE/USR/usrdef_nam.F90 – NEMO

Ignore:
Timestamp:
2020-07-03T12:04:50+02:00 (4 years ago)
Author:
smasson
Message:

Extra_Halo: cosmetic modifications, see #2366

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2020/dev_r12558_HPC-08_epico_Extra_Halo/src/OCE/USR/usrdef_nam.F90

    r13229 r13238  
    6969      kk_cfg = nn_GYRE 
    7070      ! 
    71       kpi = 30 * nn_GYRE + 2       ! Global Domain size: add 1 land point on each side 
    72       kpj = 20 * nn_GYRE + 2 
    73 #if defined key_agrif 
    74       IF( .NOT. Agrif_Root() ) THEN 
    75          kpi  = nbcellsx + 2 * ( nbghostcells_x   + 1 )   ! Global Domain size: add nbghostcells + 1 "land" point on each side 
     71      IF( Agrif_Root() ) THEN         ! Global Domain size: add 1 land point on each side 
     72         kpi = 30 * nn_GYRE + 2       !                      
     73         kpj = 20 * nn_GYRE + 2 
     74      ELSE                            ! Global Domain size: add nbghostcells + 1 "land" point on each side 
     75         kpi  = nbcellsx + nbghostcells_x   + nbghostcells_x   + 2 
    7676         kpj  = nbcellsy + nbghostcells_y_s + nbghostcells_y_n + 2 
    7777      ENDIF 
    78 #endif 
    7978      kpk = jpkglo 
    8079      !                             ! Set the lateral boundary condition of the global domain 
Note: See TracChangeset for help on using the changeset viewer.