Changeset 11206


Ignore:
Timestamp:
2019-07-02T15:24:06+02:00 (17 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

Location:
utils/tools/NESTING
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • utils/tools/NESTING/namelist_nordic1

    r10398 r11206  
    1010    parent_meter_name      = 'Bathymetry' 
    1111    parent_domcfg_out      = 'domain_cfg.nc' 
     12    parent_jperio          = 4 
    1213/     
    1314     
  • utils/tools/NESTING/namelist_nordic1_update

    r10398 r11206  
    1010    parent_meter_name      = 'Bathymetry' 
    1111    parent_domcfg_out      = 'domain_cfg.nc' 
     12    parent_jperio          = 4 
    1213/     
    1314     
  • utils/tools/NESTING/namelist_nordic2

    r10398 r11206  
    1010    parent_meter_name      = 'Bathymetry' 
    1111    parent_domcfg_out      = '1_domain_cfg.nc' 
     12    parent_jperio          = 0 
    1213/     
    1314     
  • 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 
  • utils/tools/NESTING/src/agrif_types.f90

    r10383 r11206  
    4949  !  
    5050  INTEGER ::   jpizoom, jpjzoom, npt_connect, npt_copy 
     51  INTEGER ::   parent_jperio 
    5152  !       
    5253  REAL*8 ::   rn_hmin 
     
    7172  ! 
    7273  NAMELIST /coarse_grid_files/parent_coordinate_file, parent_bathy_level, parent_level_name, & 
    73      &                                                parent_bathy_meter, parent_meter_name, parent_domcfg_out 
     74     &                                                parent_bathy_meter, parent_meter_name, parent_domcfg_out, & 
     75     &                                                parent_jperio 
    7476  !       
    7577  NAMELIST /bathymetry/new_topo, elevation_database, elevation_name, smoothing, smoothing_factor,  & 
Note: See TracChangeset for help on using the changeset viewer.