Changeset 13163
- Timestamp:
- 2020-06-26T15:21:13+02:00 (3 years ago)
- Location:
- utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/1_namelist_cfg
r13056 r13163 90 90 !----------------------------------------------------------------------- 91 91 &namagrif ! AGRIF zoom ("key_agrif") 92 ln_bry_south = .TRUE.93 92 !----------------------------------------------------------------------- 94 93 / -
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/1_namelist_ref
r13056 r13163 23 23 &namdom ! space and time domain (bathymetry, mesh, timestep) 24 24 !----------------------------------------------------------------------- 25 ln_read_cfg = .false. ! Read from a domain_cfg file 25 26 nn_bathy = 1 ! compute analyticaly (=0) or read (=1) the bathymetry file 26 27 ! or compute (2) from external bathymetry 27 28 nn_interp = 1 ! type of interpolation (nn_bathy =2) 29 cn_domcfg = ' ' ! Name of the domain_cfg input file 28 30 cn_topo = 'bathymetry_ORCA12_V3.3.nc' ! external topo file (nn_bathy =2) 29 31 cn_bath = 'Bathymetry' ! topo name in file (nn_bathy =2) … … 169 171 npt_connect = 2 170 172 npt_copy = 2 171 ln_bry_south = .TRUE.172 173 / 173 174 !----------------------------------------------------------------------- -
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/2_namelist_cfg
r13056 r13163 90 90 !----------------------------------------------------------------------- 91 91 &namagrif ! AGRIF zoom ("key_agrif") 92 ln_bry_south = .TRUE.93 92 !----------------------------------------------------------------------- 94 93 / -
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/2_namelist_ref
r13056 r13163 23 23 &namdom ! space and time domain (bathymetry, mesh, timestep) 24 24 !----------------------------------------------------------------------- 25 ln_read_cfg = .false. ! Read from a domain_cfg file 25 26 nn_bathy = 1 ! compute analyticaly (=0) or read (=1) the bathymetry file 26 27 ! or compute (2) from external bathymetry 27 28 nn_interp = 1 ! type of interpolation (nn_bathy =2) 29 cn_domcfg = ' ' ! Name of the domain_cfg input file 28 30 cn_topo = 'bathymetry_ORCA12_V3.3.nc' ! external topo file (nn_bathy =2) 29 31 cn_bath = 'Bathymetry' ! topo name in file (nn_bathy =2) … … 169 171 npt_connect = 2 170 172 npt_copy = 2 171 ln_bry_south = .TRUE.172 173 / 173 174 !----------------------------------------------------------------------- -
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/3_namelist_cfg
r13056 r13163 90 90 !----------------------------------------------------------------------- 91 91 &namagrif ! AGRIF zoom ("key_agrif") 92 ln_bry_south = .FALSE.93 92 !----------------------------------------------------------------------- 94 93 / -
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/3_namelist_ref
r13056 r13163 23 23 &namdom ! space and time domain (bathymetry, mesh, timestep) 24 24 !----------------------------------------------------------------------- 25 ln_read_cfg = .false. ! Read from a domain_cfg file 25 26 nn_bathy = 1 ! compute analyticaly (=0) or read (=1) the bathymetry file 26 27 ! or compute (2) from external bathymetry 27 28 nn_interp = 1 ! type of interpolation (nn_bathy =2) 29 cn_domcfg = ' ' ! Name of the domain_cfg input file 28 30 cn_topo = 'bathymetry_ORCA12_V3.3.nc' ! external topo file (nn_bathy =2) 29 31 cn_bath = 'Bathymetry' ! topo name in file (nn_bathy =2) … … 169 171 npt_connect = 2 170 172 npt_copy = 2 171 ln_bry_south = .TRUE.172 173 / 173 174 !----------------------------------------------------------------------- -
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/make_namelist.py
r13024 r13163 107 107 if line.strip().startswith('cp_cfg'): 108 108 line = " cp_cfg = 'dumb'\n" 109 if nbghostcells_y_s == 0 :110 if line.strip().startswith('ln_bry_south'):111 line = " ln_bry_south = .FALSE.\n"112 109 f2.write(line) 113 110 cnt1 += 1 -
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/namelist_cfg
r13056 r13163 91 91 !----------------------------------------------------------------------- 92 92 &namagrif ! AGRIF zoom ("key_agrif") 93 ln_bry_south = .TRUE.94 93 !----------------------------------------------------------------------- 95 94 / -
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/namelist_ref
r13109 r13163 172 172 npt_connect = 2 173 173 npt_copy = 2 174 ln_bry_south = .TRUE.175 174 / 176 175 !----------------------------------------------------------------------- -
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/src/agrif_connect.F90
r13109 r13163 201 201 202 202 ! --- South --- ! 203 IF(( (nbondj == -1) .OR. (nbondj == 2) ).AND.(l n_bry_south)) THEN203 IF(( (nbondj == -1) .OR. (nbondj == 2) ).AND.(lk_south)) THEN 204 204 ind1 = 1+nbghostcells + istart 205 205 ind2 = ind1 + ispongearea -
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/src/agrif_parameters.F90
r13056 r13163 14 14 INTEGER :: npt_copy 15 15 INTEGER :: npt_connect 16 LOGICAL :: ln_bry_south = .TRUE.17 16 REAL(wp), PUBLIC, ALLOCATABLE, SAVE , DIMENSION(:,:) :: ztabramp 18 17 REAL(wp), PUBLIC, ALLOCATABLE, SAVE , DIMENSION(:,:,:) :: e3t_interp -
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/src/agrif_user.F90
r13056 r13163 226 226 CALL Agrif_Set_DistantCommonBorderX(.TRUE.) 227 227 endif 228 if (.not.l n_bry_south) THEN228 if (.not.lk_south) THEN 229 229 CALL Agrif_Set_NearCommonBorderY(.TRUE.) 230 230 endif … … 850 850 ! May need to extend at south boundary 851 851 IF (j1<1) THEN 852 IF (.NOT.agrif_child(l n_bry_south)) THEN852 IF (.NOT.agrif_child(lk_south)) THEN 853 853 IF ((nbondj == -1).OR.(nbondj == 2)) THEN 854 854 DO jj=1,j2 … … 888 888 IF( before) THEN 889 889 IF (j1<1) THEN 890 IF (.NOT.agrif_child(l n_bry_south)) THEN890 IF (.NOT.agrif_child(lk_south)) THEN 891 891 IF ((nbondj == -1).OR.(nbondj == 2)) THEN 892 892 DO jj=1,j2 … … 966 966 IF( before) THEN 967 967 IF (j1<1) THEN 968 IF (.NOT.agrif_child(l n_bry_south)) THEN968 IF (.NOT.agrif_child(lk_south)) THEN 969 969 IF ((nbondj == -1).OR.(nbondj == 2)) THEN 970 970 DO jj=1,j2 … … 1004 1004 IF( before) THEN 1005 1005 IF (j1<1) THEN 1006 IF (.NOT.agrif_child(l n_bry_south)) THEN1006 IF (.NOT.agrif_child(lk_south)) THEN 1007 1007 IF ((nbondj == -1).OR.(nbondj == 2)) THEN 1008 1008 DO jj=1,j2 … … 1076 1076 1077 1077 NAMELIST/namagrif/ nn_cln_update,ln_spc_dyn,rn_sponge_tra,rn_sponge_dyn,ln_chk_bathy,npt_connect, & 1078 & npt_copy , ln_bry_south1078 & npt_copy 1079 1079 1080 1080 REWIND( numnam_ref ) ! Namelist namagrif in reference namelist : nesting parameters … … 1094 1094 WRITE(numout,*) ' npt_copy = ', npt_copy 1095 1095 WRITE(numout,*) ' npt_connect = ', npt_connect 1096 WRITE(numout,*) ' ln_bry_south = ', ln_bry_south1097 1096 ENDIF 1098 1097 … … 1102 1101 nbghostcells_y_s = nbghostcells 1103 1102 nbghostcells_y_n = nbghostcells 1103 1104 lk_west = .NOT. ( Agrif_Ix() == 1 ) 1105 lk_east = .NOT. ( Agrif_Ix() + nbcellsx/AGRIF_Irhox() == Agrif_Parent(jpiglo) -1 ) 1106 lk_south = .NOT. ( Agrif_Iy() == 1 ) 1107 lk_north = .NOT. ( Agrif_Iy() + nbcellsy/AGRIF_Irhoy() == Agrif_Parent(jpjglo) -1 ) 1104 1108 1105 1109 IF (.not.agrif_root()) THEN … … 1107 1111 nbghostcells_x = 0 1108 1112 ENDIF 1109 IF (.NOT.l n_bry_south) THEN1113 IF (.NOT.lk_south) THEN 1110 1114 nbghostcells_y_s = 0 1111 1115 ENDIF -
utils/tools_dev_r12970_AGRIF_CMEMS/DOMAINcfg/src/dombat.F90
r13056 r13163 408 408 ! Correct South and North 409 409 #if defined key_agrif 410 IF( l n_bry_south ) THEN410 IF( lk_south ) THEN 411 411 IF( (nbondj == -1).OR.(nbondj == 2) ) THEN 412 412 bathy(:,1)=bathy(:,2)
Note: See TracChangeset
for help on using the changeset viewer.