Changeset 497 for trunk/NEMO/OFF_SRC/DOM/domain.F90
- Timestamp:
- 2006-09-12T13:03:53+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OFF_SRC/DOM/domain.F90
r343 r497 29 29 PUBLIC dom_init ! called by opa.F90 30 30 31 !! * Module variables 32 REAL(wp) :: & !!: Namelist nam_zgr_sco 33 sbot_min = 300. , & !: minimum depth of s-bottom surface (>0) (m) 34 sbot_max = 5250. , & !: maximum depth of s-bottom surface (= ocean depth) (>0) (m) 35 theta = 6.0 , & !: surface control parameter (0<=theta<=20) 36 thetb = 0.75, & !: bottom control parameter (0<=thetb<= 1) 37 r_max = 0.15 !: maximum cut-off r-value allowed (0<r_max<1) 38 39 31 40 !! * Substitutions 32 41 # include "domzgr_substitute.h90" … … 98 107 !! * Modules used 99 108 USE ioipsl 100 NAMELIST/namrun/ no , cexper , ln_rstart , nrstdt , nit000, & 109 INTEGER :: ioptio = 0 ! temporary integer 110 111 NAMELIST/nam_run/ no , cexper , ln_rstart , nrstdt , nit000, & 101 112 & nitend, ndate0 , nleapy , ninist , nstock, & 102 113 & nprint, nwrite , nrunoff , ln_ctl , nictls, nictle, & 103 114 & njctls, njctle , nbench , isplt , jsplt 104 115 105 NAMELIST/namdom/ e3zps_min, e3zps_rat, nmsh , & 116 NAMELIST/nam_zgr/ ln_zco, ln_zps, ln_sco 117 118 NAMELIST/nam_dom/ e3zps_min, e3zps_rat, nmsh , & 106 119 & nacc , atfp , rdt , rdtmin , rdtmax, & 107 120 & rdth 108 121 109 NAMELIST/nam cla/ n_cla122 NAMELIST/nam_cla/ n_cla 110 123 !!---------------------------------------------------------------------- 111 124 … … 118 131 ! Namelist namrun : parameters of the run 119 132 REWIND( numnam ) 120 READ ( numnam, nam run )133 READ ( numnam, nam_run ) 121 134 122 135 IF(lwp) THEN … … 256 269 ENDIF 257 270 271 ! Read Namelist nam_zgr : vertical coordinate' 272 ! --------------------- 273 REWIND ( numnam ) 274 READ ( numnam, nam_zgr ) 275 276 ! Parameter control and print 277 ! --------------------------- 278 ! Control print 279 IF(lwp) THEN 280 WRITE(numout,*) 281 WRITE(numout,*) 'Namelist namzgr : vertical coordinate' 282 WRITE(numout,*) '~~~~~~~' 283 WRITE(numout,*) ' Namelist nam_zgr : set vertical coordinate' 284 WRITE(numout,*) ' z-coordinate - full steps ln_zco = ', ln_zco 285 WRITE(numout,*) ' z-coordinate - partial steps ln_zps = ', ln_zps 286 WRITE(numout,*) ' s- or hybrid z-s-coordinate ln_sco = ', ln_sco 287 ENDIF 288 289 ! Check Vertical coordinate options 290 ioptio = 0 291 IF( ln_zco ) ioptio = ioptio + 1 292 IF( ln_zps ) ioptio = ioptio + 1 293 IF( ln_sco ) ioptio = ioptio + 1 294 IF ( ioptio /= 1 ) CALL ctl_stop( ' none or several vertical coordinate options used' ) 295 296 IF( ln_zco ) THEN 297 IF(lwp) WRITE(numout,*) ' z-coordinate with reduced incore memory requirement' 298 IF( ln_zps .OR. ln_sco ) CALL ctl_stop( ' reduced memory with zps or sco option is impossible' ) 299 ENDIF 300 301 258 302 ! Namelist namdom : space/time domain (bathymetry, mesh, timestep) 259 303 REWIND( numnam ) 260 READ ( numnam, nam dom )304 READ ( numnam, nam_dom ) 261 305 262 306 IF(lwp) THEN … … 285 329 ! Namelist cross land advection 286 330 REWIND( numnam ) 287 READ ( numnam, nam cla )331 READ ( numnam, nam_cla ) 288 332 IF(lwp) THEN 289 333 WRITE(numout,*)
Note: See TracChangeset
for help on using the changeset viewer.