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 |
62 |
C in relaxation term -lambda(theta-theta*) |
C in relaxation term -lambda(theta-theta*) |
63 |
C saltClimFile :: File containing salt climataology used |
C saltClimFile :: File containing salt climataology used |
64 |
C in relaxation term -lambda(salt-salt*) |
C in relaxation term -lambda(salt-salt*) |
65 |
C surfQfile :: File containing surface heat flux |
C surfQfile :: File containing surface heat flux, excluding SW |
66 |
C surfQswfile :: File containing surface shortwave radiation |
C (old version, kept for backward compatibility) |
67 |
|
C surfQnetFile :: File containing surface net heat flux |
68 |
|
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, 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 |
99 |
CHARACTER*(MAX_LEN_FNAM) thetaClimFile |
CHARACTER*(MAX_LEN_FNAM) thetaClimFile |
100 |
CHARACTER*(MAX_LEN_FNAM) saltClimFile |
CHARACTER*(MAX_LEN_FNAM) saltClimFile |
101 |
CHARACTER*(MAX_LEN_FNAM) surfQfile |
CHARACTER*(MAX_LEN_FNAM) surfQfile |
102 |
CHARACTER*(MAX_LEN_FNAM) surfQswfile |
CHARACTER*(MAX_LEN_FNAM) surfQnetFile |
103 |
|
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 |
|
|
121 |
C two-dimensional con. grad solver. |
C two-dimensional con. grad solver. |
122 |
C cg2dChkResFreq :: Frequency with which to check residual |
C cg2dChkResFreq :: Frequency with which to check residual |
123 |
C in con. grad solver. |
C in con. grad solver. |
124 |
|
C cg2dPreCondFreq :: Frequency for updating cg2d preconditioner |
125 |
|
C (non-linear free-surf.) |
126 |
C cg3dMaxIters :: Maximum number of iterations in the |
C cg3dMaxIters :: Maximum number of iterations in the |
127 |
C three-dimensional con. grad solver. |
C three-dimensional con. grad solver. |
128 |
C cg3dChkResFreq :: Frequency with which to check residual |
C cg3dChkResFreq :: Frequency with which to check residual |
139 |
C =0 Linear free surface ; >0 Non-linear |
C =0 Linear free surface ; >0 Non-linear |
140 |
C select_rStar :: option related to r* vertical coordinate |
C select_rStar :: option related to r* vertical coordinate |
141 |
C =0 (default) use r coord. ; > 0 use r* |
C =0 (default) use r coord. ; > 0 use r* |
142 |
|
C tempAdvScheme :: Temp. Horiz.Advection scheme selector |
143 |
|
C tempVertAdvScheme :: Temp. Vert. Advection scheme selector |
144 |
|
C saltAdvScheme :: Salt. Horiz.advection scheme selector |
145 |
|
C saltVertAdvScheme :: Salt. Vert. Advection scheme selector |
146 |
|
C debugLevel :: debug level selector: higher -> more writing |
147 |
|
|
148 |
COMMON /PARM_I/ |
COMMON /PARM_I/ |
149 |
& cg2dMaxIters, |
& cg2dMaxIters, |
150 |
& cg2dChkResFreq, |
& cg2dChkResFreq, cg2dPreCondFreq, |
151 |
& cg3dMaxIters, |
& cg3dMaxIters, |
152 |
& cg3dChkResFreq, |
& cg3dChkResFreq, |
153 |
& nIter0, nTimeSteps, nEndIter, |
& nIter0, nTimeSteps, nEndIter, |
155 |
& writeStatePrec, nCheckLev, |
& writeStatePrec, nCheckLev, |
156 |
& writeBinaryPrec, readBinaryPrec, |
& writeBinaryPrec, readBinaryPrec, |
157 |
& nonlinFreeSurf, select_rStar, |
& nonlinFreeSurf, select_rStar, |
158 |
& tempAdvScheme, saltAdvScheme, tracerAdvScheme, |
& tempAdvScheme, tempVertAdvScheme, |
159 |
|
& saltAdvScheme, saltVertAdvScheme, |
160 |
& debugLevel |
& debugLevel |
161 |
INTEGER cg2dMaxIters |
INTEGER cg2dMaxIters |
162 |
INTEGER cg2dChkResFreq |
INTEGER cg2dChkResFreq |
163 |
|
INTEGER cg2dPreCondFreq |
164 |
INTEGER cg3dMaxIters |
INTEGER cg3dMaxIters |
165 |
INTEGER cg3dChkResFreq |
INTEGER cg3dChkResFreq |
166 |
INTEGER nIter0 |
INTEGER nIter0 |
173 |
INTEGER nCheckLev |
INTEGER nCheckLev |
174 |
INTEGER nonlinFreeSurf |
INTEGER nonlinFreeSurf |
175 |
INTEGER select_rStar |
INTEGER select_rStar |
176 |
INTEGER tempAdvScheme |
INTEGER tempAdvScheme, tempVertAdvScheme |
177 |
INTEGER saltAdvScheme |
INTEGER saltAdvScheme, saltVertAdvScheme |
|
INTEGER tracerAdvScheme |
|
178 |
INTEGER debugLevel |
INTEGER debugLevel |
179 |
|
|
180 |
C |
C |
190 |
C coordinate frame. |
C coordinate frame. |
191 |
C usingSphericalPolarGrid :: If TRUE grid generation will be in a |
C usingSphericalPolarGrid :: If TRUE grid generation will be in a |
192 |
C spherical polar frame. |
C spherical polar frame. |
193 |
|
C usingCylindricalGrid :: If TRUE grid generation will be Cylindrical |
194 |
C no_slip_sides :: Impose "no-slip" at lateral boundaries. |
C no_slip_sides :: Impose "no-slip" at lateral boundaries. |
195 |
C no_slip_bottom :: Impose "no-slip" at bottom boundary. |
C no_slip_bottom :: Impose "no-slip" at bottom boundary. |
196 |
C staggerTimeStep :: enable a Stagger time stepping T,S Rho then U,V |
C staggerTimeStep :: enable a Stagger time stepping T,S Rho then U,V |
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) |
229 |
C useCDscheme :: use CD-scheme to calculate Coriolis terms. |
C useCDscheme :: use CD-scheme to calculate Coriolis terms. |
230 |
C useJamartWetPoints :: Use wet-point method for Coriolis (Jamart and Ozer, 1986) |
C useJamartWetPoints :: Use wet-point method for Coriolis (Jamart and Ozer, 1986) |
231 |
|
C useJamartMomAdv :: Use wet-point method for V.I. non-linear term |
232 |
|
C SadournyCoriolis :: use the enstrophy conserving scheme by Sadourny |
233 |
|
C upwindVorticity :: bias interpolation of vorticity in the Coriolis term |
234 |
|
C highOrderVorticity :: use 3rd/4th order interp. of vorticity in Coriolis |
235 |
|
C useAbsVorticity :: work with f+zeta in Coriolis terms |
236 |
C implicitDiffusion :: Turns implicit vertical diffusion on |
C implicitDiffusion :: Turns implicit vertical diffusion on |
237 |
C implicitViscosity :: Turns implicit vertical viscosity on |
C implicitViscosity :: Turns implicit vertical viscosity on |
238 |
C tempImplVertAdv :: Turns on implicit vertical advection for Temperature |
C tempImplVertAdv :: Turns on implicit vertical advection for Temperature |
239 |
C saltImplVertAdv :: Turns on implicit vertical advection for Salinity |
C saltImplVertAdv :: Turns on implicit vertical advection for Salinity |
240 |
C momImplVertAdv :: Turns on implicit vertical advection for Momentum |
C momImplVertAdv :: Turns on implicit vertical advection for Momentum |
241 |
C multiDimAdvection :: Flag that enable multi-dimension advection |
C multiDimAdvection :: Flag that enable multi-dimension advection |
242 |
|
C useMultiDimAdvec :: True if multi-dim advection is used at least once |
243 |
C forcing_In_AB :: if False, put forcing (Temp,Salt,Tracers) contribution |
C forcing_In_AB :: if False, put forcing (Temp,Salt,Tracers) contribution |
244 |
C out off Adams-Bashforth time stepping. |
C out off Adams-Bashforth time stepping. |
245 |
C doThetaClimRelax :: Set true if relaxation to temperature |
C doThetaClimRelax :: Set true if relaxation to temperature |
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, |
& 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, |
295 |
& useEnergyConservingCoriolis, useJamartWetPoints, |
& useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv, |
296 |
|
& SadournyCoriolis, upwindVorticity, highOrderVorticity, |
297 |
|
& useAbsVorticity, |
298 |
& implicitDiffusion, implicitViscosity, |
& implicitDiffusion, implicitViscosity, |
299 |
& tempImplVertAdv, saltImplVertAdv, momImplVertAdv, |
& tempImplVertAdv, saltImplVertAdv, momImplVertAdv, |
300 |
& multiDimAdvection, 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, 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 |
318 |
LOGICAL usingCurvilinearGrid |
LOGICAL usingCurvilinearGrid |
319 |
LOGICAL usingSphericalPolarMTerms |
LOGICAL usingSphericalPolarMTerms |
320 |
LOGICAL useNHMTerms |
LOGICAL useNHMTerms |
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 |
346 |
LOGICAL useCDscheme |
LOGICAL useCDscheme |
347 |
LOGICAL useEnergyConservingCoriolis |
LOGICAL useEnergyConservingCoriolis |
348 |
LOGICAL useJamartWetPoints |
LOGICAL useJamartWetPoints |
349 |
|
LOGICAL useJamartMomAdv |
350 |
|
LOGICAL SadournyCoriolis |
351 |
|
LOGICAL upwindVorticity |
352 |
|
LOGICAL highOrderVorticity |
353 |
|
LOGICAL useAbsVorticity |
354 |
LOGICAL implicitDiffusion |
LOGICAL implicitDiffusion |
355 |
LOGICAL implicitViscosity |
LOGICAL implicitViscosity |
356 |
LOGICAL tempImplVertAdv |
LOGICAL tempImplVertAdv |
357 |
LOGICAL saltImplVertAdv |
LOGICAL saltImplVertAdv |
358 |
LOGICAL momImplVertAdv |
LOGICAL momImplVertAdv |
359 |
LOGICAL multiDimAdvection |
LOGICAL multiDimAdvection |
360 |
|
LOGICAL useMultiDimAdvec |
361 |
LOGICAL forcing_In_AB |
LOGICAL forcing_In_AB |
362 |
LOGICAL doThetaClimRelax |
LOGICAL doThetaClimRelax |
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 |
377 |
LOGICAL useOldFreezing |
LOGICAL useOldFreezing |
378 |
LOGICAL groundAtK1 |
LOGICAL groundAtK1 |
379 |
LOGICAL usePickupBeforeC35 |
LOGICAL usePickupBeforeC35 |
380 |
|
LOGICAL usePickupBeforeC54 |
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 gg2dTargetResidual |
C cg2dTargetResidual |
393 |
C :: Target residual for cg2d solver; no unit (RHS normalisation) |
C :: Target residual for cg2d solver; no unit (RHS normalisation) |
394 |
C cg2dTargetResWunit |
C cg2dTargetResWunit |
395 |
C :: Target residual for cg2d solver; W unit (No RHS normalisation) |
C :: Target residual for cg2d solver; W unit (No RHS normalisation) |
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 |
457 |
|
C viscAhMax :: Maximum eddy viscosity coeff. for mixing of |
458 |
|
C momentum laterally ( m^2/s ) |
459 |
|
C viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of |
460 |
|
C momentum laterally ( m^4/s ) |
461 |
|
C viscAhGrid:: non-dimensional grid-size dependent viscosity |
462 |
|
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 |
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 |
479 |
|
C diffKrBL79deep :: T/S deep diffusivity (m^2/s) Bryan and Lewis, 1979 |
480 |
|
C diffKrBL79scl :: depth scale for arctan fn (m) Bryan and Lewis, 1979 |
481 |
|
C diffKrBL79Ho :: depth offset for arctan fn (m) Bryan and Lewis, 1979 |
482 |
C deltaT :: Default timestep ( s ) |
C deltaT :: Default timestep ( s ) |
483 |
C deltaTClock :: Timestep used as model "clock". This determines the |
C deltaTClock :: Timestep used as model "clock". This determines the |
484 |
C IO frequencies and is used in tagging output. It can |
C IO frequencies and is used in tagging output. It can |
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, viscA4, viscAr, viscAstrain, viscAtension, |
& viscAh, viscAhW, viscAhMax, viscAhGrid, viscC2leith, |
561 |
& diffKhT, diffK4T, diffKrT, |
& viscAhD, viscAhZ, viscA4D, viscA4Z, |
562 |
& diffKhS, diffK4S, diffKrS, |
& viscA4, viscA4W, |
563 |
|
& viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin, |
564 |
|
& viscC4leith, viscAr, viscAstrain, viscAtension, |
565 |
|
& diffKhT, diffK4T, diffKrNrT, |
566 |
|
& diffKhS, diffK4S, diffKrNrS, |
567 |
|
& 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, |
570 |
& gravity, recip_Gravity, gBaro, rhonil, recip_rhonil, |
& gravity, recip_Gravity, gBaro, rhonil, recip_rhonil, |
571 |
& recip_rhoConst, rhoConst, |
& recip_rhoConst, rhoConst, |
572 |
& rhoConstFresh, convertEmP2rUnit, tRef, sRef, |
& rhoConstFresh, convertEmP2rUnit, tRef, sRef, |
573 |
& endTime, chkPtFreq, pchkPtFreq, dumpFreq, |
& 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 |
|
& 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 |
622 |
|
_RL viscAhGrid |
623 |
|
_RL viscC2leith |
624 |
_RL viscAstrain |
_RL viscAstrain |
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 |
632 |
|
_RL viscA4Grid, viscA4GridMax, viscA4GridMin |
633 |
|
_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 |
641 |
|
_RL diffKrBL79deep |
642 |
|
_RL diffKrBL79scl |
643 |
|
_RL diffKrBL79Ho |
644 |
_RL delt |
_RL delt |
645 |
_RL tauCD |
_RL tauCD |
646 |
_RL rCD |
_RL rCD |
663 |
_RL chkPtFreq |
_RL chkPtFreq |
664 |
_RL pChkPtFreq |
_RL pChkPtFreq |
665 |
_RL dumpFreq |
_RL dumpFreq |
666 |
|
_RL adjDumpFreq |
667 |
_RL diagFreq |
_RL diagFreq |
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 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 |
731 |
|
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 |
749 |
LOGICAL usefizhi |
LOGICAL usefizhi |
750 |
LOGICAL usegridalt |
LOGICAL usegridalt |
751 |
LOGICAL usediagnostics |
LOGICAL usediagnostics |
752 |
|
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 |
& useSBO, useSEAICE, useThSIce, useBulkForce, |
759 |
|
& usefizhi, usegridalt, usediagnostics, useEBM, useMNC, |
760 |
|
& usePP81, useMY82, useOPPS, useGGL90 |
761 |
|
|
762 |
|
CEH3 ;;; Local Variables: *** |
763 |
|
CEH3 ;;; mode:fortran *** |
764 |
|
CEH3 ;;; End: *** |