Ignore:
Timestamp:
2019-07-02T15:24:06+02:00 (19 months ago)
Author:
clem
Message:

solve ticket #2280 by adding a new namelist parameter in the NESTING namelist to account for jperio of the parent grid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/tools/NESTING/src/agrif_readwrite.f90

    r10383 r11206  
    559559     top_level(:,:)    = MIN( 1, mbathy(:,:) ) 
    560560 
    561      ! closed domain (agrif) 
    562      jperio = 0 
     561     ! closed domain for child grid and namelist defined domain for parent grid 
     562     IF( TRIM(name) == TRIM(parent_domcfg_updated) .OR. TRIM(name) == TRIM(parent_domcfg_out) ) THEN 
     563        jperio = parent_jperio 
     564     ELSE 
     565        jperio = 0 
     566     ENDIF 
    563567 
    564568     bottom_level(1:nx,1   ) = 0 
Note: See TracChangeset for help on using the changeset viewer.