Changeset 11573 for NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/tests/ICE_ADV1D
- Timestamp:
- 2019-09-19T11:18:03+02:00 (5 years ago)
- Location:
- NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/tests/ICE_ADV1D
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/tests/ICE_ADV1D/EXPREF/namelist_cfg
r10513 r11573 201 201 !! namdiu Cool skin and warm layer models (default: OFF) 202 202 !! namdiu Cool skin and warm layer models (default: OFF) 203 !! namflo float parameters ( "key_float")204 !! nam_diaharm Harmonic analysis of tidal constituents ( "key_diaharm")205 !! nam dct transports through some sections ("key_diadct")203 !! namflo float parameters (default: OFF) 204 !! nam_diaharm Harmonic analysis of tidal constituents (default: OFF) 205 !! nam_diadct transports through some sections (default: OFF) 206 206 !! nam_diatmb Top Middle Bottom Output (default: OFF) 207 207 !! nam_dia25h 25h Mean Output (default: OFF) -
NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/tests/ICE_ADV1D/EXPREF/namelist_cfg_120pts
r10513 r11573 201 201 !! namdiu Cool skin and warm layer models (default: OFF) 202 202 !! namdiu Cool skin and warm layer models (default: OFF) 203 !! namflo float parameters ( "key_float")204 !! nam_diaharm Harmonic analysis of tidal constituents ( "key_diaharm")205 !! nam dct transports through some sections ("key_diadct")203 !! namflo float parameters (default: OFF) 204 !! nam_diaharm Harmonic analysis of tidal constituents (default: OFF) 205 !! nam_diadct transports through some sections (default: OFF) 206 206 !! nam_diatmb Top Middle Bottom Output (default: OFF) 207 207 !! nam_dia25h 25h Mean Output (default: OFF) -
NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/tests/ICE_ADV1D/EXPREF/namelist_cfg_240pts
r10513 r11573 201 201 !! namdiu Cool skin and warm layer models (default: OFF) 202 202 !! namdiu Cool skin and warm layer models (default: OFF) 203 !! namflo float parameters ( "key_float")204 !! nam_diaharm Harmonic analysis of tidal constituents ( "key_diaharm")205 !! nam dct transports through some sections ("key_diadct")203 !! namflo float parameters (default: OFF) 204 !! nam_diaharm Harmonic analysis of tidal constituents (default: OFF) 205 !! nam_diadct transports through some sections (default: OFF) 206 206 !! nam_diatmb Top Middle Bottom Output (default: OFF) 207 207 !! nam_dia25h 25h Mean Output (default: OFF) -
NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/tests/ICE_ADV1D/EXPREF/namelist_cfg_60pts
r10513 r11573 201 201 !! namdiu Cool skin and warm layer models (default: OFF) 202 202 !! namdiu Cool skin and warm layer models (default: OFF) 203 !! namflo float parameters ( "key_float")204 !! nam_diaharm Harmonic analysis of tidal constituents ( "key_diaharm")205 !! nam dct transports through some sections ("key_diadct")203 !! namflo float parameters (default: OFF) 204 !! nam_diaharm Harmonic analysis of tidal constituents (default: OFF) 205 !! nam_diadct transports through some sections (default: OFF) 206 206 !! nam_diatmb Top Middle Bottom Output (default: OFF) 207 207 !! nam_dia25h 25h Mean Output (default: OFF) -
NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/tests/ICE_ADV1D/MY_SRC/usrdef_nam.F90
r10513 r11573 40 40 CONTAINS 41 41 42 SUBROUTINE usr_def_nam( ldtxt, ldnam,cd_cfg, kk_cfg, kpi, kpj, kpk, kperio )42 SUBROUTINE usr_def_nam( cd_cfg, kk_cfg, kpi, kpj, kpk, kperio ) 43 43 !!---------------------------------------------------------------------- 44 44 !! *** ROUTINE dom_nam *** … … 52 52 !! ** input : - namusr_def namelist found in namelist_cfg 53 53 !!---------------------------------------------------------------------- 54 CHARACTER(len=*), DIMENSION(:), INTENT(out) :: ldtxt, ldnam ! stored print information55 54 CHARACTER(len=*) , INTENT(out) :: cd_cfg ! configuration name 56 55 INTEGER , INTENT(out) :: kk_cfg ! configuration resolution … … 58 57 INTEGER , INTENT(out) :: kperio ! lateral global domain b.c. 59 58 ! 60 INTEGER :: ios , ii! Local integer59 INTEGER :: ios ! Local integer 61 60 REAL(wp):: zlx, zly ! Local scalars 62 61 !! … … 64 63 !!---------------------------------------------------------------------- 65 64 ! 66 ii = 167 !68 65 REWIND( numnam_cfg ) ! Namelist namusr_def (exist in namelist_cfg only) 69 66 READ ( numnam_cfg, namusr_def, IOSTAT = ios, ERR = 902 ) 70 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namusr_def in configuration namelist' , .TRUE.)67 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namusr_def in configuration namelist' ) 71 68 ! 72 WRITE( ldnam(:), namusr_def )69 IF(lwm) WRITE( numond, namusr_def ) 73 70 ! 74 71 cd_cfg = 'ICE_ADV1D' ! name & resolution (not used) … … 82 79 zlx = kpi*rn_dx*1.e-3 83 80 zly = kpj*rn_dy*1.e-3 84 ! ! control print85 WRITE(ldtxt(ii),*) ' ' ; ii = ii + 186 WRITE(ldtxt(ii),*) 'usr_def_nam : read the user defined namelist (namusr_def) in namelist_cfg' ; ii = ii + 187 WRITE(ldtxt(ii),*) '~~~~~~~~~~~ ' ; ii = ii + 188 WRITE(ldtxt(ii),*) ' Namelist namusr_def : ICE_ADV1D test case' ; ii = ii + 189 WRITE(ldtxt(ii),*) ' horizontal resolution rn_dx = ', rn_dx, ' meters' ; ii = ii + 190 WRITE(ldtxt(ii),*) ' horizontal resolution rn_dy = ', rn_dy, ' meters' ; ii = ii + 191 WRITE(ldtxt(ii),*) ' ICE_ADV1D domain ' ; ii = ii + 192 WRITE(ldtxt(ii),*) ' LX [km]: ', zlx ; ii = ii + 193 WRITE(ldtxt(ii),*) ' LY [km]: ', zly ; ii = ii + 194 WRITE(ldtxt(ii),*) ' resulting global domain size : jpiglo = ', kpi ; ii = ii + 195 WRITE(ldtxt(ii),*) ' jpjglo = ', kpj ; ii = ii + 196 WRITE(ldtxt(ii),*) ' jpkglo = ', kpk ; ii = ii + 197 WRITE(ldtxt(ii),*) ' Coriolis:', ln_corio ; ii = ii + 198 !99 81 ! ! Set the lateral boundary condition of the global domain 100 82 kperio = 0 ! ICE_ADV1D configuration : bi-periodic basin 101 ! 102 WRITE(ldtxt(ii),*) ' ' ; ii = ii + 1 103 WRITE(ldtxt(ii),*) ' Lateral boundary condition of the global domain' ; ii = ii + 1 104 WRITE(ldtxt(ii),*) ' ICE_ADV1D : closed basin jperio = ', kperio ; ii = ii + 1 83 ! ! control print 84 IF(lwp) THEN 85 WRITE(numout,*) ' ' 86 WRITE(numout,*) 'usr_def_nam : read the user defined namelist (namusr_def) in namelist_cfg' 87 WRITE(numout,*) '~~~~~~~~~~~ ' 88 WRITE(numout,*) ' Namelist namusr_def : ICE_ADV1D test case' 89 WRITE(numout,*) ' horizontal resolution rn_dx = ', rn_dx, ' meters' 90 WRITE(numout,*) ' horizontal resolution rn_dy = ', rn_dy, ' meters' 91 WRITE(numout,*) ' ICE_ADV1D domain ' 92 WRITE(numout,*) ' LX [km]: ', zlx 93 WRITE(numout,*) ' LY [km]: ', zly 94 WRITE(numout,*) ' resulting global domain size : jpiglo = ', kpi 95 WRITE(numout,*) ' jpjglo = ', kpj 96 WRITE(numout,*) ' jpkglo = ', kpk 97 WRITE(numout,*) ' Coriolis:', ln_corio 98 WRITE(numout,*) ' ' 99 WRITE(numout,*) ' Lateral boundary condition of the global domain' 100 WRITE(numout,*) ' ICE_ADV1D : closed basin jperio = ', kperio 101 ENDIF 105 102 ! 106 103 END SUBROUTINE usr_def_nam
Note: See TracChangeset
for help on using the changeset viewer.