- Timestamp:
- 2013-07-12T13:54:28+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_r3853_CNRS9_ConfSetting/NEMOGCM/NEMO/SAS_SRC/nemogcm.F90
r3954 r3973 159 159 & nn_isplt, nn_jsplt, nn_jctls, nn_jctle, & 160 160 & nn_bench, nn_timing 161 NAMELIST/namcfg/ cp_cfg, jp_cfg, jpidta, jpjdta, jpkdta, jpiglo, jpjglo, & 162 & jpizoom, jpjzoom, jperio, jphgr_msh, & 163 & ppglam0, ppgphi0, ppe1_deg, ppe2_deg, ppe1_m, ppe2_m, & 164 & ppsur, ppa0, ppa1, ppkth, ppacr, ppdzmin, pphmax, ldbletanh, & 165 & ppa2, ppkth2, ppacr2 161 166 !!---------------------------------------------------------------------- 162 167 ! … … 176 181 WRITE( numond, namctl ) 177 182 ! 183 REWIND( numnam_ref ) ! Namelist namcfg in reference namelist : Control prints & Benchmark 184 READ ( numnam_ref, namcfg, IOSTAT = ios, ERR = 903 ) 185 903 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namcfg in reference namelist', lwp ) 186 187 REWIND( numnam_cfg ) ! Namelist namcfg in confguration namelist : Control prints & Benchmark 188 READ ( numnam_cfg, namcfg, IOSTAT = ios, ERR = 904 ) 189 904 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namcfg in configuration namelist', lwp ) 190 WRITE( numond, namcfg ) 178 191 ! !--------------------------------------------! 179 192 ! ! set communicator & select the local node ! … … 310 323 jsplt = nn_jsplt 311 324 nbench = nn_bench 325 326 IF(lwp) THEN ! control print 327 WRITE(numout,*) 328 WRITE(numout,*) 'namcfg : configuration initialization through namelist read' 329 WRITE(numout,*) '~~~~~~~ ' 330 WRITE(numout,*) ' Namelist namcfg' 331 WRITE(numout,*) ' configuration name cp_cfg = ', TRIM(cp_cfg) 332 WRITE(numout,*) ' configuration resolution jp_cfg = ', jp_cfg 333 WRITE(numout,*) ' 1st lateral dimension ( >= jpi ) jpidta = ', jpidta 334 WRITE(numout,*) ' 2nd " " ( >= jpj ) jpjdta = ', jpjdta 335 WRITE(numout,*) ' 3nd " " jpkdta = ', jpkdta 336 WRITE(numout,*) ' 1st dimension of global domain in i jpiglo = ', jpiglo 337 WRITE(numout,*) ' 2nd - - in j jpjglo = ', jpjglo 338 WRITE(numout,*) ' left bottom i index of the zoom (in data domain) jpizoom = ', jpizoom 339 WRITE(numout,*) ' left bottom j index of the zoom (in data domain) jpizoom = ', jpjzoom 340 WRITE(numout,*) ' lateral cond. type (between 0 and 6) jperio = ', jperio 341 WRITE(numout,*) ' type of horizontal mesh jphgr_msh = ', jphgr_msh 342 WRITE(numout,*) ' longitude of first raw and column T-point ppglam0 = ', ppglam0 343 WRITE(numout,*) ' latitude of first raw and column T-point ppgphi0 = ', ppgphi0 344 WRITE(numout,*) ' zonal grid-spacing (degrees) ppe1_deg = ', ppe1_deg 345 WRITE(numout,*) ' meridional grid-spacing (degrees) ppe2_deg = ', ppe2_deg 346 WRITE(numout,*) ' zonal grid-spacing (degrees) ppe1_m = ', ppe1_m 347 WRITE(numout,*) ' meridional grid-spacing (degrees) ppe2_m = ', ppe2_m 348 WRITE(numout,*) ' ORCA r4, r2 and r05 coefficients ppsur = ', ppsur 349 WRITE(numout,*) ' ppa0 = ', ppa0 350 WRITE(numout,*) ' ppa1 = ', ppa1 351 WRITE(numout,*) ' ppkth = ', ppkth 352 WRITE(numout,*) ' ppacr = ', ppacr 353 WRITE(numout,*) ' Minimum vertical spacing ppdzmin = ', ppdzmin 354 WRITE(numout,*) ' Maximum depth pphmax = ', pphmax 355 WRITE(numout,*) ' Use double tanf function for vertical coordinates ldbletanh = ', ldbletanh 356 WRITE(numout,*) ' Double tanh function parameters ppa2 = ', ppa2 357 WRITE(numout,*) ' ppkth2 = ', ppkth2 358 WRITE(numout,*) ' ppacr2 = ', ppacr2 359 ENDIF 312 360 ! ! Parameter control 313 361 ! … … 353 401 CASE ( 'gyre' ) ; CALL ctl_warn( ' The Benchmark is activated ' ) 354 402 CASE DEFAULT ; CALL ctl_stop( ' The Benchmark is based on the GYRE configuration:', & 355 & ' key_gyre must be usedor set nbench = 0' )403 & ' cp_cfg="gyre" in namelist &namcfg or set nbench = 0' ) 356 404 END SELECT 357 405 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.