1 |
C $Header$ |
C $Header$ |
2 |
C $Name$ |
C $Name$ |
3 |
C |
C |
4 |
|
|
5 |
CBOP |
CBOP |
6 |
C !ROUTINE: PARAMS.h |
C !ROUTINE: PARAMS.h |
7 |
C !INTERFACE: |
C !INTERFACE: |
8 |
C include PARAMS.h |
C #include PARAMS.h |
9 |
C !DESCRIPTION: \bv |
|
10 |
C *==========================================================* |
C !DESCRIPTION: |
11 |
C | PARAMS.h |
C Header file defining model "parameters". The values from the |
12 |
C | o Header file defining model "parameters". |
C model standard input file are stored into the variables held |
13 |
C *==========================================================* |
C here. Notes describing the parameters can also be found here. |
14 |
C | The values from the model standard input file are |
|
|
C | stored into the variables held here. Notes describing |
|
|
C | the parameters can also be found here. |
|
|
C *==========================================================* |
|
|
C \ev |
|
15 |
CEOP |
CEOP |
16 |
|
|
17 |
C Macros for special grid options |
C Macros for special grid options |
68 |
C surfQswFile :: File containing surface shortwave radiation |
C surfQswFile :: File containing surface shortwave radiation |
69 |
C dQdTfile :: File containing thermal relaxation coefficient |
C dQdTfile :: File containing thermal relaxation coefficient |
70 |
C EmPmRfile :: File containing surface fresh water flux |
C EmPmRfile :: File containing surface fresh water flux |
71 |
|
C saltFluxFile :: File containing surface salt flux |
72 |
C pLoadFile :: File containing pressure loading |
C pLoadFile :: File containing pressure loading |
73 |
|
C eddyTauxFile :: File containing zonal Eddy stress data |
74 |
|
C eddyTauyFile :: File containing meridional Eddy stress data |
75 |
C buoyancyRelation :: Flag used to indicate which relation to use to |
C buoyancyRelation :: Flag used to indicate which relation to use to |
76 |
C get buoyancy. |
C get buoyancy. |
77 |
C eosType :: choose the equation of state: |
C eosType :: choose the equation of state: |
78 |
C LINEAR, POLY3, UNESCO, JMD95Z, JMD95P, MDJWF, IDEALGAS |
C LINEAR, POLY3, UNESCO, JMD95Z, JMD95P, MDJWF, IDEALGAS |
79 |
|
C the_run_name :: string identifying the name of the model "run" |
80 |
COMMON /PARM_C/ checkPtSuff, |
COMMON /PARM_C/ checkPtSuff, |
81 |
& bathyFile, topoFile, |
& bathyFile, topoFile, |
82 |
& hydrogThetaFile, hydrogSaltFile, |
& hydrogThetaFile, hydrogSaltFile, |
83 |
& zonalWindFile, meridWindFile, thetaClimFile, |
& zonalWindFile, meridWindFile, thetaClimFile, |
84 |
& saltClimFile, buoyancyRelation, |
& saltClimFile, buoyancyRelation, |
85 |
& EmPmRfile, surfQfile, surfQnetFile, surfQswFile, |
& EmPmRfile, saltFluxFile, |
86 |
|
& surfQfile, surfQnetFile, surfQswFile, |
87 |
& uVelInitFile, vVelInitFile, pSurfInitFile, |
& uVelInitFile, vVelInitFile, pSurfInitFile, |
88 |
& dQdTfile, ploadFile, |
& dQdTfile, ploadFile, |
89 |
|
& eddyTauxFile, eddyTauyFile, |
90 |
& eosType, pickupSuff, |
& eosType, pickupSuff, |
91 |
& mdsioLocalDir |
& mdsioLocalDir, |
92 |
|
& the_run_name |
93 |
CHARACTER*(5) checkPtSuff(maxNoChkptLev) |
CHARACTER*(5) checkPtSuff(maxNoChkptLev) |
94 |
CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile |
CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile |
95 |
CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile |
CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile |
102 |
CHARACTER*(MAX_LEN_FNAM) surfQnetFile |
CHARACTER*(MAX_LEN_FNAM) surfQnetFile |
103 |
CHARACTER*(MAX_LEN_FNAM) surfQswFile |
CHARACTER*(MAX_LEN_FNAM) surfQswFile |
104 |
CHARACTER*(MAX_LEN_FNAM) EmPmRfile |
CHARACTER*(MAX_LEN_FNAM) EmPmRfile |
105 |
|
CHARACTER*(MAX_LEN_FNAM) saltFluxFile |
106 |
CHARACTER*(MAX_LEN_FNAM) buoyancyRelation |
CHARACTER*(MAX_LEN_FNAM) buoyancyRelation |
107 |
CHARACTER*(MAX_LEN_FNAM) uVelInitFile |
CHARACTER*(MAX_LEN_FNAM) uVelInitFile |
108 |
CHARACTER*(MAX_LEN_FNAM) vVelInitFile |
CHARACTER*(MAX_LEN_FNAM) vVelInitFile |
109 |
CHARACTER*(MAX_LEN_FNAM) pSurfInitFile |
CHARACTER*(MAX_LEN_FNAM) pSurfInitFile |
110 |
CHARACTER*(MAX_LEN_FNAM) dQdTfile |
CHARACTER*(MAX_LEN_FNAM) dQdTfile |
111 |
CHARACTER*(MAX_LEN_FNAM) ploadFile |
CHARACTER*(MAX_LEN_FNAM) ploadFile |
112 |
|
CHARACTER*(MAX_LEN_FNAM) eddyTauxFile |
113 |
|
CHARACTER*(MAX_LEN_FNAM) eddyTauyFile |
114 |
CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir |
CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir |
115 |
|
CHARACTER*(MAX_LEN_FNAM) the_run_name |
116 |
CHARACTER*(6) eosType |
CHARACTER*(6) eosType |
117 |
CHARACTER*(10) pickupSuff |
CHARACTER*(10) pickupSuff |
118 |
|
|
157 |
& nonlinFreeSurf, select_rStar, |
& nonlinFreeSurf, select_rStar, |
158 |
& tempAdvScheme, tempVertAdvScheme, |
& tempAdvScheme, tempVertAdvScheme, |
159 |
& saltAdvScheme, saltVertAdvScheme, |
& saltAdvScheme, saltVertAdvScheme, |
|
& tracerAdvScheme, |
|
160 |
& debugLevel |
& debugLevel |
161 |
INTEGER cg2dMaxIters |
INTEGER cg2dMaxIters |
162 |
INTEGER cg2dChkResFreq |
INTEGER cg2dChkResFreq |
175 |
INTEGER select_rStar |
INTEGER select_rStar |
176 |
INTEGER tempAdvScheme, tempVertAdvScheme |
INTEGER tempAdvScheme, tempVertAdvScheme |
177 |
INTEGER saltAdvScheme, saltVertAdvScheme |
INTEGER saltAdvScheme, saltVertAdvScheme |
|
INTEGER tracerAdvScheme |
|
178 |
INTEGER debugLevel |
INTEGER debugLevel |
179 |
|
|
180 |
C |
C |
204 |
C usingSphericalPolarMTerms :: If TRUE use spherical polar metric terms. |
C usingSphericalPolarMTerms :: If TRUE use spherical polar metric terms. |
205 |
C useNHMTerms :: If TRUE use non-hydrostatic metric terms. |
C useNHMTerms :: If TRUE use non-hydrostatic metric terms. |
206 |
C useCoriolis :: Flag which turns the coriolis terms on and off. |
C useCoriolis :: Flag which turns the coriolis terms on and off. |
|
C tempDiffusion :: Flag which turns diffusion of temperature on |
|
|
C and off. |
|
207 |
C tempAdvection :: Flag which turns advection of temperature on |
C tempAdvection :: Flag which turns advection of temperature on |
208 |
C and off. |
C and off. |
209 |
C tempForcing :: Flag which turns external forcing of temperature on |
C tempForcing :: Flag which turns external forcing of temperature on |
210 |
C and off. |
C and off. |
|
C saltDiffusion :: Flag which turns diffusion of salinity on |
|
|
C and off. |
|
211 |
C saltAdvection :: Flag which turns advection of salinity on |
C saltAdvection :: Flag which turns advection of salinity on |
212 |
C and off. |
C and off. |
213 |
C saltForcing :: Flag which turns external forcing of salinity on |
C saltForcing :: Flag which turns external forcing of salinity on |
223 |
C momStepping :: Turns momentum equation time-stepping off |
C momStepping :: Turns momentum equation time-stepping off |
224 |
C tempStepping :: Turns temperature equation time-stepping off |
C tempStepping :: Turns temperature equation time-stepping off |
225 |
C saltStepping :: Turns salinity equation time-stepping off |
C saltStepping :: Turns salinity equation time-stepping off |
|
C tr1Stepping :: Turns passive tracer 1 time-stepping on/off |
|
226 |
C useConstantF :: Coriolis parameter set to f0 |
C useConstantF :: Coriolis parameter set to f0 |
227 |
C useBetaPlaneF :: Coriolis parameter set to f0 + beta.y |
C useBetaPlaneF :: Coriolis parameter set to f0 + beta.y |
228 |
C useSphereF :: Coriolis parameter set to 2.omega.sin(phi) |
C useSphereF :: Coriolis parameter set to 2.omega.sin(phi) |
247 |
C doSaltClimRelax :: Set true if relaxation to salinity |
C doSaltClimRelax :: Set true if relaxation to salinity |
248 |
C climatology is required. |
C climatology is required. |
249 |
C periodicExternalForcing :: Set true if forcing is time-dependant |
C periodicExternalForcing :: Set true if forcing is time-dependant |
250 |
C usingPCoords :: Set to indicate that we are working in pressure |
C usingPCoords :: Set to indicate that we are working in a pressure |
251 |
C coords. (jmc: is it still used ?) |
C type coordinate (p or p*). |
252 |
C usingZCoords :: Set to indicate that we are working in height |
C usingZCoords :: Set to indicate that we are working in a height |
253 |
C coords. (jmc: is it still used ?) |
C type coordinate (z or z*) |
254 |
|
C fluidIsAir :: Set to indicate that the fluid major constituent |
255 |
|
C is air |
256 |
|
C fluidIsWater :: Set to indicate that the fluid major constituent |
257 |
|
C is water |
258 |
C useDynP_inEos_Zc :: use the dynamical pressure in EOS (with Z-coord.) |
C useDynP_inEos_Zc :: use the dynamical pressure in EOS (with Z-coord.) |
259 |
C this requires specific code for restart & exchange |
C this requires specific code for restart & exchange |
260 |
C setCenterDr :: set cell Center depth and put Interface at the middle |
C setCenterDr :: set cell Center depth and put Interface at the middle |
268 |
C allowFreezing :: Allows surface water to freeze and form ice |
C allowFreezing :: Allows surface water to freeze and form ice |
269 |
C useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12) |
C useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12) |
270 |
C groundAtK1 :: put the surface(k=1) at the Lower Boundary (=ground) |
C groundAtK1 :: put the surface(k=1) at the Lower Boundary (=ground) |
271 |
|
C pickup_write_mdsio :: use mdsio to write pickups |
272 |
|
C pickup_read_mdsio :: use mdsio to read pickups |
273 |
|
C pickup_write_immed :: echo the pickup immediately (for conversion) |
274 |
|
C timeave_mdsio :: use mdsio for timeave output |
275 |
|
C snapshot_mdsio :: use mdsio for "snapshot" (dumpfreq/diagfreq) output |
276 |
|
C monitor_stdio :: use stdio for monitor output |
277 |
|
C calendarDumps :: When set, approximate months (30-31 days) and years (360-372 days) |
278 |
|
C for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq, |
279 |
|
C KPP_taveFreq, and freq in pkg/diagnostics are converted to exact |
280 |
|
C calendar months and years. Requires pkg/cal. |
281 |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
282 |
& usingCurvilinearGrid, usingCylindricalGrid, |
& usingCurvilinearGrid, usingCylindricalGrid, |
283 |
& no_slip_sides,no_slip_bottom, |
& no_slip_sides,no_slip_bottom, |
284 |
& staggerTimeStep, |
& staggerTimeStep, |
285 |
& momViscosity, momAdvection, momForcing, useCoriolis, |
& momViscosity, momAdvection, momForcing, useCoriolis, |
286 |
& momPressureForcing, vectorInvariantMomentum, |
& momPressureForcing, vectorInvariantMomentum, |
287 |
& tempDiffusion, tempAdvection, tempForcing, |
& tempAdvection, tempForcing, |
288 |
& saltDiffusion, saltAdvection, saltForcing, |
& saltAdvection, saltForcing, |
289 |
& useRealFreshWaterFlux, |
& useRealFreshWaterFlux, |
290 |
& rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf, |
& rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf, |
291 |
& momStepping, tempStepping, saltStepping, tr1Stepping, |
& momStepping, tempStepping, saltStepping, |
292 |
& metricTerms, usingSphericalPolarMTerms, useNHMTerms, |
& metricTerms, usingSphericalPolarMTerms, useNHMTerms, |
293 |
& useConstantF, useBetaPlaneF, useSphereF, |
& useConstantF, useBetaPlaneF, useSphereF, |
294 |
& useCDscheme, |
& useCDscheme, |
300 |
& multiDimAdvection, useMultiDimAdvec, forcing_In_AB, |
& multiDimAdvection, useMultiDimAdvec, forcing_In_AB, |
301 |
& doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax, |
& doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax, |
302 |
& periodicExternalForcing, |
& periodicExternalForcing, |
303 |
|
& fluidIsAir, fluidIsWater, |
304 |
& usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr, |
& usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr, |
305 |
& nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO, |
& nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO, |
306 |
& allowFreezing, useOldFreezing, groundAtK1, |
& allowFreezing, useOldFreezing, groundAtK1, |
307 |
& usePickupBeforeC35, usePickupBeforeC54, debugMode, |
& usePickupBeforeC35, usePickupBeforeC54, debugMode, |
308 |
& readPickupWithTracer, writePickupWithTracer |
& readPickupWithTracer, writePickupWithTracer, |
309 |
|
& pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed, |
310 |
|
& timeave_mdsio, snapshot_mdsio, monitor_stdio, |
311 |
|
& outputTypesInclusive, |
312 |
|
& inAdMode, inAdTrue, inAdFalse, inAdExact, |
313 |
|
& calendarDumps |
314 |
|
|
315 |
LOGICAL usingCartesianGrid |
LOGICAL usingCartesianGrid |
316 |
LOGICAL usingSphericalPolarGrid |
LOGICAL usingSphericalPolarGrid |
317 |
LOGICAL usingCylindricalGrid |
LOGICAL usingCylindricalGrid |
327 |
LOGICAL momPressureForcing |
LOGICAL momPressureForcing |
328 |
LOGICAL useCoriolis |
LOGICAL useCoriolis |
329 |
LOGICAL vectorInvariantMomentum |
LOGICAL vectorInvariantMomentum |
|
LOGICAL tempDiffusion |
|
330 |
LOGICAL tempAdvection |
LOGICAL tempAdvection |
331 |
LOGICAL tempForcing |
LOGICAL tempForcing |
|
LOGICAL saltDiffusion |
|
332 |
LOGICAL saltAdvection |
LOGICAL saltAdvection |
333 |
LOGICAL saltForcing |
LOGICAL saltForcing |
334 |
LOGICAL useRealFreshWaterFlux |
LOGICAL useRealFreshWaterFlux |
339 |
LOGICAL momStepping |
LOGICAL momStepping |
340 |
LOGICAL tempStepping |
LOGICAL tempStepping |
341 |
LOGICAL saltStepping |
LOGICAL saltStepping |
|
LOGICAL tr1Stepping |
|
342 |
LOGICAL metricTerms |
LOGICAL metricTerms |
343 |
LOGICAL useConstantF |
LOGICAL useConstantF |
344 |
LOGICAL useBetaPlaneF |
LOGICAL useBetaPlaneF |
363 |
LOGICAL doSaltClimRelax |
LOGICAL doSaltClimRelax |
364 |
LOGICAL doTr1ClimRelax |
LOGICAL doTr1ClimRelax |
365 |
LOGICAL periodicExternalForcing |
LOGICAL periodicExternalForcing |
366 |
|
LOGICAL fluidIsAir |
367 |
|
LOGICAL fluidIsWater |
368 |
LOGICAL usingPCoords |
LOGICAL usingPCoords |
369 |
LOGICAL usingZCoords |
LOGICAL usingZCoords |
370 |
LOGICAL useDynP_inEos_Zc |
LOGICAL useDynP_inEos_Zc |
381 |
LOGICAL debugMode |
LOGICAL debugMode |
382 |
LOGICAL readPickupWithTracer |
LOGICAL readPickupWithTracer |
383 |
LOGICAL writePickupWithTracer |
LOGICAL writePickupWithTracer |
384 |
|
LOGICAL pickup_read_mdsio, pickup_write_mdsio |
385 |
|
LOGICAL pickup_write_immed |
386 |
|
LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio |
387 |
|
LOGICAL outputTypesInclusive |
388 |
|
LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact |
389 |
|
LOGICAL calendarDumps |
390 |
|
|
391 |
C-- COMMON /PARM_R/ "Real" valued parameters used by the model. |
C-- COMMON /PARM_R/ "Real" valued parameters used by the model. |
392 |
C cg2dTargetResidual |
C cg2dTargetResidual |
419 |
C rhoNil :: Reference density for the linear equation of state |
C rhoNil :: Reference density for the linear equation of state |
420 |
C rhoConst :: Vertically constant reference density |
C rhoConst :: Vertically constant reference density |
421 |
C rhoConstFresh :: Constant reference density for fresh water (rain) |
C rhoConstFresh :: Constant reference density for fresh water (rain) |
422 |
|
C tRef :: reference vertical profile for potential temperature |
423 |
|
C sRef :: reference vertical profile for salinity/specific humidity |
424 |
C startTime :: Start time for model ( s ) |
C startTime :: Start time for model ( s ) |
425 |
C phiMin :: Latitude of southern most cell face. |
C phiMin :: Latitude of southern most cell face. |
426 |
C thetaMin :: Longitude of western most cell face (this |
C thetaMin :: Longitude of western most cell face (this |
435 |
C rotationPeriod :: Rotation period (s) (= 2.pi/omega) |
C rotationPeriod :: Rotation period (s) (= 2.pi/omega) |
436 |
C viscAh :: Eddy viscosity coeff. for mixing of |
C viscAh :: Eddy viscosity coeff. for mixing of |
437 |
C momentum laterally ( m^2/s ) |
C momentum laterally ( m^2/s ) |
438 |
|
C viscAhW :: Eddy viscosity coeff. for mixing of vertical |
439 |
|
C momentum laterally, no effect for hydrostatic |
440 |
|
C model, defaults to viscAh if unset ( m^2/s ) |
441 |
C viscAr :: Eddy viscosity coeff. for mixing of |
C viscAr :: Eddy viscosity coeff. for mixing of |
442 |
C momentum vertically ( units of r^2/s ) |
C momentum vertically ( units of r^2/s ) |
443 |
C viscA4 :: Biharmonic viscosity coeff. for mixing of |
C viscA4 :: Biharmonic viscosity coeff. for mixing of |
444 |
C momentum laterally ( m^4/s ) |
C momentum laterally ( m^4/s ) |
445 |
|
C viscA4W :: Biharmonic viscosity coeff. for mixing of vertical |
446 |
|
C momentum laterally, no effect for hydrostatic |
447 |
|
C model, defaults to viscA4 if unset ( m^2/s ) |
448 |
|
C viscAhD :: Eddy viscosity coeff. for mixing of momentum laterally |
449 |
|
C (act on Divergence part) ( m^2/s ) |
450 |
|
C viscAhZ :: Eddy viscosity coeff. for mixing of momentum laterally |
451 |
|
C (act on Vorticity part) ( m^2/s ) |
452 |
|
C viscA4D :: Biharmonic viscosity coeff. for mixing of momentum laterally |
453 |
|
C (act on Divergence part) ( m^4/s ) |
454 |
|
C viscA4Z :: Biharmonic viscosity coeff. for mixing of momentum laterally |
455 |
|
C (act on Vorticity part) ( m^4/s ) |
456 |
C viscC2leith :: Leith non-dimensional viscosity factor |
C viscC2leith :: Leith non-dimensional viscosity factor |
457 |
C viscAhMax :: Maximum eddy viscosity coeff. for mixing of |
C viscAhMax :: Maximum eddy viscosity coeff. for mixing of |
458 |
C momentum laterally ( m^2/s ) |
C momentum laterally ( m^2/s ) |
460 |
C momentum laterally ( m^4/s ) |
C momentum laterally ( m^4/s ) |
461 |
C viscAhGrid:: non-dimensional grid-size dependent viscosity |
C viscAhGrid:: non-dimensional grid-size dependent viscosity |
462 |
C viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity |
C viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity |
463 |
|
C viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ... |
464 |
|
C viscA4GridMin:: in terms of non-dimensional grid-size dependent viscosity |
465 |
C viscC4leith :: Leith non-dimensional viscosity factor |
C viscC4leith :: Leith non-dimensional viscosity factor |
466 |
C diffKhT :: Laplacian diffusion coeff. for mixing of |
C diffKhT :: Laplacian diffusion coeff. for mixing of |
467 |
C heat laterally ( m^2/s ) |
C heat laterally ( m^2/s ) |
468 |
C diffKrT :: Laplacian diffusion coeff. for mixing of |
C diffKrNrT :: vertical profile of Laplacian diffusion coeff. |
469 |
C heat vertically ( units of r^2/s ) |
C for mixing of heat vertically ( units of r^2/s ) |
470 |
C diffK4T :: Biharmonic diffusion coeff. for mixing of |
C diffK4T :: Biharmonic diffusion coeff. for mixing of |
471 |
C heat laterally ( m^4/s ) |
C heat laterally ( m^4/s ) |
472 |
C diffKhS :: Laplacian diffusion coeff. for mixing of |
C diffKhS :: Laplacian diffusion coeff. for mixing of |
473 |
C salt laterally ( m^2/s ) |
C salt laterally ( m^2/s ) |
474 |
C diffKrS :: Laplacian diffusion coeff. for mixing of |
C diffKrNrS :: vertical profile of Laplacian diffusion coeff. |
475 |
C salt vertically ( units of r^2/s ) |
C for mixing of salt vertically ( units of r^2/s ), |
476 |
C diffK4S :: Biharmonic diffusion coeff. for mixing of |
C diffK4S :: Biharmonic diffusion coeff. for mixing of |
477 |
C salt laterally ( m^4/s ) |
C salt laterally ( m^4/s ) |
478 |
C diffKrBL79surf :: T/S surface diffusivity (m^2/s) Bryan and Lewis, 1979 |
C diffKrBL79surf :: T/S surface diffusivity (m^2/s) Bryan and Lewis, 1979 |
487 |
C Frequency of checkpointing and dumping of the model state |
C Frequency of checkpointing and dumping of the model state |
488 |
C are referenced to this clock. ( s ) |
C are referenced to this clock. ( s ) |
489 |
C deltaTMom :: Timestep for momemtum equations ( s ) |
C deltaTMom :: Timestep for momemtum equations ( s ) |
490 |
C deltaTtracer :: Timestep for tracer equations ( s ) |
C dTtracerLev :: Timestep for tracer equations ( s ), function of level k |
491 |
C deltaTfreesurf :: Timestep for free-surface equation ( s ) |
C deltaTfreesurf :: Timestep for free-surface equation ( s ) |
492 |
C freesurfFac :: Parameter to turn implicit free surface term on or off |
C freesurfFac :: Parameter to turn implicit free surface term on or off |
493 |
C freesurfac = 1. uses implicit free surface |
C freesurfac = 1. uses implicit free surface |
540 |
C (use model surface (local) value if set to -1) |
C (use model surface (local) value if set to -1) |
541 |
C temp_EvPrRn :: temperature of Rain & Evap. |
C temp_EvPrRn :: temperature of Rain & Evap. |
542 |
C salt_EvPrRn :: salinity of Rain & Evap. |
C salt_EvPrRn :: salinity of Rain & Evap. |
|
C trac_EvPrRn :: tracer concentration in Rain & Evap. |
|
543 |
C (notes: a) tracer content of Rain/Evap only used if both |
C (notes: a) tracer content of Rain/Evap only used if both |
544 |
C NonLin_FrSurf & useRealFreshWater are set. |
C NonLin_FrSurf & useRealFreshWater are set. |
545 |
C b) use model surface (local) value if set to UNSET_RL) |
C b) use model surface (local) value if set to UNSET_RL) |
553 |
COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit, |
COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit, |
554 |
& cg2dpcOffDFac, cg3dTargetResidual, |
& cg2dpcOffDFac, cg3dTargetResidual, |
555 |
& delR, delRc, delX, delY, |
& delR, delRc, delX, delY, |
556 |
& deltaT, deltaTmom, deltaTtracer, deltaTfreesurf, deltaTClock, |
& deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock, |
557 |
& abeps, startTime, |
& abeps, startTime, |
558 |
& phiMin, thetaMin, rSphere, recip_RSphere, f0, beta, |
& phiMin, thetaMin, rSphere, recip_RSphere, f0, beta, |
559 |
& fCori, fCoriG, fCoriCos, |
& fCori, fCoriG, fCoriCos, |
560 |
& viscAh, viscAhMax, viscAhGrid, viscC2leith, |
& viscAh, viscAhW, viscAhMax, viscAhGrid, viscC2leith, |
561 |
& viscA4, viscA4Max, viscA4Grid, viscC4leith, |
& viscAhD, viscAhZ, viscA4D, viscA4Z, |
562 |
& viscAr, viscAstrain, viscAtension, |
& viscA4, viscA4W, |
563 |
& diffKhT, diffK4T, diffKrT, |
& viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin, |
564 |
& diffKhS, diffK4S, diffKrS, |
& viscC4leith, viscAr, viscAstrain, viscAtension, |
565 |
|
& diffKhT, diffK4T, diffKrNrT, |
566 |
|
& diffKhS, diffK4S, diffKrNrS, |
567 |
& diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho, |
& diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho, |
568 |
& delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow, |
& delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow, |
569 |
& hFacMin, hFacMinDz, hFacInf, hFacSup, |
& hFacMin, hFacMinDz, hFacInf, hFacSup, |
571 |
& recip_rhoConst, rhoConst, |
& recip_rhoConst, rhoConst, |
572 |
& rhoConstFresh, convertEmP2rUnit, tRef, sRef, |
& rhoConstFresh, convertEmP2rUnit, tRef, sRef, |
573 |
& endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq, |
& endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq, |
574 |
& diagFreq, taveFreq, tave_lastIter, monitorFreq, |
& diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq, |
575 |
& afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom, |
& afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom, |
576 |
& cosPower, cAdjFreq, omega, rotationPeriod, |
& cosPower, cAdjFreq, omega, rotationPeriod, |
577 |
& tauThetaClimRelax, lambdaThetaClimRelax, |
& tauThetaClimRelax, lambdaThetaClimRelax, |
578 |
& tauSaltClimRelax, lambdaSaltClimRelax, |
& tauSaltClimRelax, lambdaSaltClimRelax, |
579 |
& tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax, |
& tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax, |
580 |
& externForcingCycle, externForcingPeriod, |
& externForcingCycle, externForcingPeriod, |
581 |
& convertFW2Salt, temp_EvPrRn, salt_EvPrRn, trac_EvPrRn, |
& convertFW2Salt, temp_EvPrRn, salt_EvPrRn, |
582 |
& hFacMinDr, hFacMinDp, |
& hFacMinDr, hFacMinDp, |
583 |
& horiVertRatio, recip_horiVertRatio, |
& horiVertRatio, recip_horiVertRatio, |
584 |
& ivdc_kappa, Ro_SeaLevel, |
& ivdc_kappa, Ro_SeaLevel, |
585 |
& bottomDragLinear,bottomDragQuadratic, |
& bottomDragLinear,bottomDragQuadratic, |
586 |
& tCyl |
& tCylIn, tCylOut |
587 |
|
|
588 |
_RL cg2dTargetResidual |
_RL cg2dTargetResidual |
589 |
_RL cg2dTargetResWunit |
_RL cg2dTargetResWunit |
596 |
_RL deltaT |
_RL deltaT |
597 |
_RL deltaTClock |
_RL deltaTClock |
598 |
_RL deltaTmom |
_RL deltaTmom |
599 |
_RL deltaTtracer |
_RL dTtracerLev(Nr) |
600 |
_RL deltaTfreesurf |
_RL deltaTfreesurf |
601 |
_RL abeps |
_RL abeps |
602 |
_RL phiMin |
_RL phiMin |
615 |
_RL hFacSup |
_RL hFacSup |
616 |
_RL beta |
_RL beta |
617 |
_RL viscAh |
_RL viscAh |
618 |
|
_RL viscAhW |
619 |
|
_RL viscAhD |
620 |
|
_RL viscAhZ |
621 |
_RL viscAhMax |
_RL viscAhMax |
622 |
_RL viscAhGrid |
_RL viscAhGrid |
623 |
_RL viscC2leith |
_RL viscC2leith |
625 |
_RL viscAtension |
_RL viscAtension |
626 |
_RL viscAr |
_RL viscAr |
627 |
_RL viscA4 |
_RL viscA4 |
628 |
|
_RL viscA4W |
629 |
|
_RL viscA4D |
630 |
|
_RL viscA4Z |
631 |
_RL viscA4Max |
_RL viscA4Max |
632 |
_RL viscA4Grid |
_RL viscA4Grid, viscA4GridMax, viscA4GridMin |
633 |
_RL viscC4leith |
_RL viscC4leith |
634 |
_RL diffKhT |
_RL diffKhT |
635 |
_RL diffKrT |
_RL diffKrNrT(Nr) |
636 |
_RL diffK4T |
_RL diffK4T |
637 |
_RL diffKhS |
_RL diffKhS |
638 |
_RL diffKrS |
_RL diffKrNrS(Nr) |
639 |
_RL diffK4S |
_RL diffK4S |
640 |
_RL diffKrBL79surf |
_RL diffKrBL79surf |
641 |
_RL diffKrBL79deep |
_RL diffKrBL79deep |
668 |
_RL taveFreq |
_RL taveFreq |
669 |
_RL tave_lastIter |
_RL tave_lastIter |
670 |
_RL monitorFreq |
_RL monitorFreq |
671 |
|
_RL adjMonitorFreq |
672 |
_RL afFacMom |
_RL afFacMom |
673 |
_RL vfFacMom |
_RL vfFacMom |
674 |
_RL pfFacMom |
_RL pfFacMom |
691 |
_RL convertFW2Salt |
_RL convertFW2Salt |
692 |
_RL temp_EvPrRn |
_RL temp_EvPrRn |
693 |
_RL salt_EvPrRn |
_RL salt_EvPrRn |
|
_RL trac_EvPrRn |
|
694 |
_RL horiVertRatio |
_RL horiVertRatio |
695 |
_RL recip_horiVertRatio |
_RL recip_horiVertRatio |
696 |
_RL ivdc_kappa |
_RL ivdc_kappa |
697 |
_RL Ro_SeaLevel |
_RL Ro_SeaLevel |
698 |
_RL bottomDragLinear |
_RL bottomDragLinear |
699 |
_RL bottomDragQuadratic |
_RL bottomDragQuadratic |
700 |
_RL tCyl |
_RL tCylIn |
701 |
|
_RL tCylOut |
702 |
|
|
703 |
C-- COMMON /PARM_A/ Thermodynamics constants ? |
C-- COMMON /PARM_A/ Thermodynamics constants ? |
704 |
COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp |
COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp |
726 |
INTEGER integr_GeoPot, selectFindRoSurf |
INTEGER integr_GeoPot, selectFindRoSurf |
727 |
|
|
728 |
C Logical flags for selecting packages |
C Logical flags for selecting packages |
729 |
|
LOGICAL useOPPS |
730 |
LOGICAL usePP81 |
LOGICAL usePP81 |
731 |
LOGICAL useMY82 |
LOGICAL useMY82 |
732 |
|
LOGICAL useGGL90 |
733 |
LOGICAL useKPP |
LOGICAL useKPP |
734 |
LOGICAL useGMRedi |
LOGICAL useGMRedi |
735 |
LOGICAL useOBCS |
LOGICAL useOBCS |
741 |
LOGICAL useZONAL_FILT |
LOGICAL useZONAL_FILT |
742 |
LOGICAL useFLT |
LOGICAL useFLT |
743 |
LOGICAL usePTRACERS |
LOGICAL usePTRACERS |
744 |
|
LOGICAL useGCHEM |
745 |
LOGICAL useSBO |
LOGICAL useSBO |
746 |
LOGICAL useSEAICE |
LOGICAL useSEAICE |
747 |
LOGICAL useBulkForce |
LOGICAL useBulkForce |
750 |
LOGICAL usegridalt |
LOGICAL usegridalt |
751 |
LOGICAL usediagnostics |
LOGICAL usediagnostics |
752 |
LOGICAL useEBM |
LOGICAL useEBM |
753 |
|
LOGICAL useMNC |
754 |
COMMON /PARM_PACKAGES/ |
COMMON /PARM_PACKAGES/ |
755 |
& useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO, |
& useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO, |
756 |
& useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT, |
& useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT, |
757 |
& usePTRACERS, useSBO, useSEAICE, useThSIce, useBulkForce, |
& usePTRACERS, useGCHEM, |
758 |
& usefizhi, usegridalt, usediagnostics, useEBM, |
& useSBO, useSEAICE, useThSIce, useBulkForce, |
759 |
& usePP81, useMY82 |
& usefizhi, usegridalt, usediagnostics, useEBM, useMNC, |
760 |
|
& usePP81, useMY82, useOPPS, useGGL90 |
|
C Run-time flags for early-initialization of MNC |
|
|
LOGICAL |
|
|
& useMNC, |
|
|
& mnc_use_indir, mnc_use_outdir, mnc_outdir_date, |
|
|
& mnc_echo_gvtypes, mnc_pickup_write, mnc_pickup_read, |
|
|
& mnc_use_for_mon |
|
|
CHARACTER*(MAX_LEN_FNAM) mnc_outdir_str |
|
|
CHARACTER*(MAX_LEN_FNAM) mnc_indir_str |
|
|
CHARACTER*(MAX_LEN_FNAM) the_run_name |
|
|
COMMON /PARM_MNC/ |
|
|
& useMNC, |
|
|
& mnc_use_indir, mnc_use_outdir, mnc_outdir_date, |
|
|
& mnc_echo_gvtypes, mnc_pickup_write, mnc_pickup_read, |
|
|
& mnc_use_for_mon, |
|
|
& mnc_outdir_str, mnc_indir_str, |
|
|
& the_run_name |
|
|
|
|
761 |
|
|
762 |
CEH3 ;;; Local Variables: *** |
CEH3 ;;; Local Variables: *** |
763 |
CEH3 ;;; mode:fortran *** |
CEH3 ;;; mode:fortran *** |