126 |
C =0 Linear free surface ; >0 Non-linear |
C =0 Linear free surface ; >0 Non-linear |
127 |
C select_rStar :: option related to r* vertical coordinate |
C select_rStar :: option related to r* vertical coordinate |
128 |
C =0 (default) use r coord. ; > 0 use r* |
C =0 (default) use r coord. ; > 0 use r* |
129 |
|
C tempAdvScheme :: Temp. Horiz.Advection scheme selector |
130 |
|
C tempVertAdvScheme :: Temp. Vert. Advection scheme selector |
131 |
|
C saltAdvScheme :: Salt. Horiz.advection scheme selector |
132 |
|
C saltVertAdvScheme :: Salt. Vert. Advection scheme selector |
133 |
|
C debugLevel :: debug level selector: higher -> more writing |
134 |
|
|
135 |
COMMON /PARM_I/ |
COMMON /PARM_I/ |
136 |
& cg2dMaxIters, |
& cg2dMaxIters, |
142 |
& writeStatePrec, nCheckLev, |
& writeStatePrec, nCheckLev, |
143 |
& writeBinaryPrec, readBinaryPrec, |
& writeBinaryPrec, readBinaryPrec, |
144 |
& nonlinFreeSurf, select_rStar, |
& nonlinFreeSurf, select_rStar, |
145 |
& tempAdvScheme, saltAdvScheme, tracerAdvScheme, |
& tempAdvScheme, tempVertAdvScheme, |
146 |
|
& saltAdvScheme, saltVertAdvScheme, |
147 |
|
& tracerAdvScheme, |
148 |
& debugLevel |
& debugLevel |
149 |
INTEGER cg2dMaxIters |
INTEGER cg2dMaxIters |
150 |
INTEGER cg2dChkResFreq |
INTEGER cg2dChkResFreq |
160 |
INTEGER nCheckLev |
INTEGER nCheckLev |
161 |
INTEGER nonlinFreeSurf |
INTEGER nonlinFreeSurf |
162 |
INTEGER select_rStar |
INTEGER select_rStar |
163 |
INTEGER tempAdvScheme |
INTEGER tempAdvScheme, tempVertAdvScheme |
164 |
INTEGER saltAdvScheme |
INTEGER saltAdvScheme, saltVertAdvScheme |
165 |
INTEGER tracerAdvScheme |
INTEGER tracerAdvScheme |
166 |
INTEGER debugLevel |
INTEGER debugLevel |
167 |
|
|
178 |
C coordinate frame. |
C coordinate frame. |
179 |
C usingSphericalPolarGrid :: If TRUE grid generation will be in a |
C usingSphericalPolarGrid :: If TRUE grid generation will be in a |
180 |
C spherical polar frame. |
C spherical polar frame. |
181 |
|
C usingCylindricalGrid :: If TRUE grid generation will be Cylindrical |
182 |
C no_slip_sides :: Impose "no-slip" at lateral boundaries. |
C no_slip_sides :: Impose "no-slip" at lateral boundaries. |
183 |
C no_slip_bottom :: Impose "no-slip" at bottom boundary. |
C no_slip_bottom :: Impose "no-slip" at bottom boundary. |
184 |
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 |
221 |
C useSphereF :: Coriolis parameter set to 2.omega.sin(phi) |
C useSphereF :: Coriolis parameter set to 2.omega.sin(phi) |
222 |
C useCDscheme :: use CD-scheme to calculate Coriolis terms. |
C useCDscheme :: use CD-scheme to calculate Coriolis terms. |
223 |
C useJamartWetPoints :: Use wet-point method for Coriolis (Jamart and Ozer, 1986) |
C useJamartWetPoints :: Use wet-point method for Coriolis (Jamart and Ozer, 1986) |
224 |
|
C useJamartMomAdv :: Use wet-point method for V.I. non-linear term |
225 |
|
C SadournyCoriolis :: use the enstrophy conserving scheme by Sadourny |
226 |
|
C upwindVorticity :: bias interpolation of vorticity in the Coriolis term |
227 |
|
C highOrderVorticity :: use 3rd/4th order interp. of vorticity in Coriolis |
228 |
|
C useAbsVorticity :: work with f+zeta in Coriolis terms |
229 |
C implicitDiffusion :: Turns implicit vertical diffusion on |
C implicitDiffusion :: Turns implicit vertical diffusion on |
230 |
C implicitViscosity :: Turns implicit vertical viscosity on |
C implicitViscosity :: Turns implicit vertical viscosity on |
231 |
|
C tempImplVertAdv :: Turns on implicit vertical advection for Temperature |
232 |
|
C saltImplVertAdv :: Turns on implicit vertical advection for Salinity |
233 |
|
C momImplVertAdv :: Turns on implicit vertical advection for Momentum |
234 |
C multiDimAdvection :: Flag that enable multi-dimension advection |
C multiDimAdvection :: Flag that enable multi-dimension advection |
235 |
|
C useMultiDimAdvec :: True if multi-dim advection is used at least once |
236 |
C forcing_In_AB :: if False, put forcing (Temp,Salt,Tracers) contribution |
C forcing_In_AB :: if False, put forcing (Temp,Salt,Tracers) contribution |
237 |
C out off Adams-Bashforth time stepping. |
C out off Adams-Bashforth time stepping. |
238 |
C doThetaClimRelax :: Set true if relaxation to temperature |
C doThetaClimRelax :: Set true if relaxation to temperature |
258 |
C useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12) |
C useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12) |
259 |
C groundAtK1 :: put the surface(k=1) at the Lower Boundary (=ground) |
C groundAtK1 :: put the surface(k=1) at the Lower Boundary (=ground) |
260 |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
261 |
& usingCurvilinearGrid, |
& usingCurvilinearGrid, usingCylindricalGrid, |
262 |
& no_slip_sides,no_slip_bottom, |
& no_slip_sides,no_slip_bottom, |
263 |
& staggerTimeStep, |
& staggerTimeStep, |
264 |
& momViscosity, momAdvection, momForcing, useCoriolis, |
& momViscosity, momAdvection, momForcing, useCoriolis, |
271 |
& metricTerms, usingSphericalPolarMTerms, useNHMTerms, |
& metricTerms, usingSphericalPolarMTerms, useNHMTerms, |
272 |
& useConstantF, useBetaPlaneF, useSphereF, |
& useConstantF, useBetaPlaneF, useSphereF, |
273 |
& useCDscheme, |
& useCDscheme, |
274 |
& useEnergyConservingCoriolis, useJamartWetPoints, |
& useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv, |
275 |
|
& SadournyCoriolis, upwindVorticity, highOrderVorticity, |
276 |
|
& useAbsVorticity, |
277 |
& implicitDiffusion, implicitViscosity, |
& implicitDiffusion, implicitViscosity, |
278 |
& multiDimAdvection, forcing_In_AB, |
& tempImplVertAdv, saltImplVertAdv, momImplVertAdv, |
279 |
|
& multiDimAdvection, useMultiDimAdvec, forcing_In_AB, |
280 |
& doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax, |
& doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax, |
281 |
& periodicExternalForcing, |
& periodicExternalForcing, |
282 |
& usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr, |
& usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr, |
283 |
& nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO, |
& nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO, |
284 |
& allowFreezing, useOldFreezing, groundAtK1, |
& allowFreezing, useOldFreezing, groundAtK1, |
285 |
& usePickupBeforeC35, debugMode, |
& usePickupBeforeC35, usePickupBeforeC54, debugMode, |
286 |
& readPickupWithTracer, writePickupWithTracer |
& readPickupWithTracer, writePickupWithTracer |
287 |
LOGICAL usingCartesianGrid |
LOGICAL usingCartesianGrid |
288 |
LOGICAL usingSphericalPolarGrid |
LOGICAL usingSphericalPolarGrid |
289 |
|
LOGICAL usingCylindricalGrid |
290 |
LOGICAL usingCurvilinearGrid |
LOGICAL usingCurvilinearGrid |
291 |
LOGICAL usingSphericalPolarMTerms |
LOGICAL usingSphericalPolarMTerms |
292 |
LOGICAL useNHMTerms |
LOGICAL useNHMTerms |
321 |
LOGICAL useCDscheme |
LOGICAL useCDscheme |
322 |
LOGICAL useEnergyConservingCoriolis |
LOGICAL useEnergyConservingCoriolis |
323 |
LOGICAL useJamartWetPoints |
LOGICAL useJamartWetPoints |
324 |
|
LOGICAL useJamartMomAdv |
325 |
|
LOGICAL SadournyCoriolis |
326 |
|
LOGICAL upwindVorticity |
327 |
|
LOGICAL highOrderVorticity |
328 |
|
LOGICAL useAbsVorticity |
329 |
LOGICAL implicitDiffusion |
LOGICAL implicitDiffusion |
330 |
LOGICAL implicitViscosity |
LOGICAL implicitViscosity |
331 |
|
LOGICAL tempImplVertAdv |
332 |
|
LOGICAL saltImplVertAdv |
333 |
|
LOGICAL momImplVertAdv |
334 |
LOGICAL multiDimAdvection |
LOGICAL multiDimAdvection |
335 |
|
LOGICAL useMultiDimAdvec |
336 |
LOGICAL forcing_In_AB |
LOGICAL forcing_In_AB |
337 |
LOGICAL doThetaClimRelax |
LOGICAL doThetaClimRelax |
338 |
LOGICAL doSaltClimRelax |
LOGICAL doSaltClimRelax |
350 |
LOGICAL useOldFreezing |
LOGICAL useOldFreezing |
351 |
LOGICAL groundAtK1 |
LOGICAL groundAtK1 |
352 |
LOGICAL usePickupBeforeC35 |
LOGICAL usePickupBeforeC35 |
353 |
|
LOGICAL usePickupBeforeC54 |
354 |
LOGICAL debugMode |
LOGICAL debugMode |
355 |
LOGICAL readPickupWithTracer |
LOGICAL readPickupWithTracer |
356 |
LOGICAL writePickupWithTracer |
LOGICAL writePickupWithTracer |
404 |
C momentum vertically ( units of r^2/s ) |
C momentum vertically ( units of r^2/s ) |
405 |
C viscA4 :: Biharmonic viscosity coeff. for mixing of |
C viscA4 :: Biharmonic viscosity coeff. for mixing of |
406 |
C momentum laterally ( m^4/s ) |
C momentum laterally ( m^4/s ) |
407 |
|
C viscC2leith :: Leith non-dimensional viscosity factor |
408 |
|
C viscAhMax :: Maximum eddy viscosity coeff. for mixing of |
409 |
|
C momentum laterally ( m^2/s ) |
410 |
|
C viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of |
411 |
|
C momentum laterally ( m^4/s ) |
412 |
|
C viscAhGrid:: non-dimensional grid-size dependent viscosity |
413 |
|
C viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity |
414 |
|
C viscC4leith :: Leith non-dimensional viscosity factor |
415 |
C diffKhT :: Laplacian diffusion coeff. for mixing of |
C diffKhT :: Laplacian diffusion coeff. for mixing of |
416 |
C heat laterally ( m^2/s ) |
C heat laterally ( m^2/s ) |
417 |
C diffKrT :: Laplacian diffusion coeff. for mixing of |
C diffKrT :: Laplacian diffusion coeff. for mixing of |
424 |
C salt vertically ( units of r^2/s ) |
C salt vertically ( units of r^2/s ) |
425 |
C diffK4S :: Biharmonic diffusion coeff. for mixing of |
C diffK4S :: Biharmonic diffusion coeff. for mixing of |
426 |
C salt laterally ( m^4/s ) |
C salt laterally ( m^4/s ) |
427 |
|
C diffKrBL79surf :: T/S surface diffusivity (m^2/s) Bryan and Lewis, 1979 |
428 |
|
C diffKrBL79deep :: T/S deep diffusivity (m^2/s) Bryan and Lewis, 1979 |
429 |
|
C diffKrBL79scl :: depth scale for arctan fn (m) Bryan and Lewis, 1979 |
430 |
|
C diffKrBL79Ho :: depth offset for arctan fn (m) Bryan and Lewis, 1979 |
431 |
C deltaT :: Default timestep ( s ) |
C deltaT :: Default timestep ( s ) |
432 |
C deltaTClock :: Timestep used as model "clock". This determines the |
C deltaTClock :: Timestep used as model "clock". This determines the |
433 |
C IO frequencies and is used in tagging output. It can |
C IO frequencies and is used in tagging output. It can |
507 |
& abeps, startTime, |
& abeps, startTime, |
508 |
& phiMin, thetaMin, rSphere, recip_RSphere, f0, beta, |
& phiMin, thetaMin, rSphere, recip_RSphere, f0, beta, |
509 |
& fCori, fCoriG, fCoriCos, |
& fCori, fCoriG, fCoriCos, |
510 |
& viscAh, viscA4, viscAr, viscAstrain, viscAtension, |
& viscAh, viscAhMax, viscAhGrid, viscC2leith, |
511 |
|
& viscA4, viscA4Max, viscA4Grid, viscC4leith, |
512 |
|
& viscAr, viscAstrain, viscAtension, |
513 |
& diffKhT, diffK4T, diffKrT, |
& diffKhT, diffK4T, diffKrT, |
514 |
& diffKhS, diffK4S, diffKrS, |
& diffKhS, diffK4S, diffKrS, |
515 |
|
& diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho, |
516 |
& delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow, |
& delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow, |
517 |
& hFacMin, hFacMinDz, hFacInf, hFacSup, |
& hFacMin, hFacMinDz, hFacInf, hFacSup, |
518 |
& gravity, recip_Gravity, gBaro, rhonil, recip_rhonil, |
& gravity, recip_Gravity, gBaro, rhonil, recip_rhonil, |
519 |
& recip_rhoConst, rhoConst, |
& recip_rhoConst, rhoConst, |
520 |
& rhoConstFresh, convertEmP2rUnit, tRef, sRef, |
& rhoConstFresh, convertEmP2rUnit, tRef, sRef, |
521 |
& endTime, chkPtFreq, pchkPtFreq, dumpFreq, |
& endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq, |
522 |
& diagFreq, taveFreq, tave_lastIter, monitorFreq, |
& diagFreq, taveFreq, tave_lastIter, monitorFreq, |
523 |
& afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom, |
& afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom, |
524 |
& cosPower, cAdjFreq, omega, rotationPeriod, |
& cosPower, cAdjFreq, omega, rotationPeriod, |
530 |
& hFacMinDr, hFacMinDp, |
& hFacMinDr, hFacMinDp, |
531 |
& horiVertRatio, recip_horiVertRatio, |
& horiVertRatio, recip_horiVertRatio, |
532 |
& ivdc_kappa, Ro_SeaLevel, |
& ivdc_kappa, Ro_SeaLevel, |
533 |
& bottomDragLinear,bottomDragQuadratic |
& bottomDragLinear,bottomDragQuadratic, |
534 |
|
& tCyl |
535 |
|
|
536 |
_RL cg2dTargetResidual |
_RL cg2dTargetResidual |
537 |
_RL cg2dTargetResWunit |
_RL cg2dTargetResWunit |
563 |
_RL hFacSup |
_RL hFacSup |
564 |
_RL beta |
_RL beta |
565 |
_RL viscAh |
_RL viscAh |
566 |
|
_RL viscAhMax |
567 |
|
_RL viscAhGrid |
568 |
|
_RL viscC2leith |
569 |
_RL viscAstrain |
_RL viscAstrain |
570 |
_RL viscAtension |
_RL viscAtension |
571 |
_RL viscAr |
_RL viscAr |
572 |
_RL viscA4 |
_RL viscA4 |
573 |
|
_RL viscA4Max |
574 |
|
_RL viscA4Grid |
575 |
|
_RL viscC4leith |
576 |
_RL diffKhT |
_RL diffKhT |
577 |
_RL diffKrT |
_RL diffKrT |
578 |
_RL diffK4T |
_RL diffK4T |
579 |
_RL diffKhS |
_RL diffKhS |
580 |
_RL diffKrS |
_RL diffKrS |
581 |
_RL diffK4S |
_RL diffK4S |
582 |
|
_RL diffKrBL79surf |
583 |
|
_RL diffKrBL79deep |
584 |
|
_RL diffKrBL79scl |
585 |
|
_RL diffKrBL79Ho |
586 |
_RL delt |
_RL delt |
587 |
_RL tauCD |
_RL tauCD |
588 |
_RL rCD |
_RL rCD |
605 |
_RL chkPtFreq |
_RL chkPtFreq |
606 |
_RL pChkPtFreq |
_RL pChkPtFreq |
607 |
_RL dumpFreq |
_RL dumpFreq |
608 |
|
_RL adjDumpFreq |
609 |
_RL diagFreq |
_RL diagFreq |
610 |
_RL taveFreq |
_RL taveFreq |
611 |
_RL tave_lastIter |
_RL tave_lastIter |
639 |
_RL Ro_SeaLevel |
_RL Ro_SeaLevel |
640 |
_RL bottomDragLinear |
_RL bottomDragLinear |
641 |
_RL bottomDragQuadratic |
_RL bottomDragQuadratic |
642 |
|
_RL tCyl |
643 |
|
|
644 |
C-- COMMON /PARM_A/ Thermodynamics constants ? |
C-- COMMON /PARM_A/ Thermodynamics constants ? |
645 |
COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp |
COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp |
684 |
LOGICAL useThSIce |
LOGICAL useThSIce |
685 |
LOGICAL usefizhi |
LOGICAL usefizhi |
686 |
LOGICAL usegridalt |
LOGICAL usegridalt |
687 |
|
LOGICAL usediagnostics |
688 |
|
LOGICAL useEBM |
689 |
COMMON /PARM_PACKAGES/ |
COMMON /PARM_PACKAGES/ |
690 |
& useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO, |
& useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO, |
691 |
& useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT, |
& useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT, |
692 |
& usePTRACERS, useSBO, useSEAICE, |
& usePTRACERS, useSBO, useSEAICE, useThSIce, useBulkForce, |
693 |
& useThSIce, useBulkForce, usefizhi, usegridalt |
& usefizhi, usegridalt, usediagnostics, useEBM |
694 |
|
|
695 |
|
C Run-time flags for early-initialization of MNC |
696 |
|
LOGICAL |
697 |
|
& useMNC, |
698 |
|
& mnc_use_indir, mnc_use_outdir, mnc_outdir_date, |
699 |
|
& mnc_echo_gvtypes, mnc_pickup_write, mnc_pickup_read, |
700 |
|
& mnc_use_for_mon |
701 |
|
CHARACTER*(MAX_LEN_FNAM) mnc_outdir_str |
702 |
|
CHARACTER*(MAX_LEN_FNAM) mnc_indir_str |
703 |
|
COMMON /PARM_MNC/ |
704 |
|
& useMNC, |
705 |
|
& mnc_use_indir, mnc_use_outdir, mnc_outdir_date, |
706 |
|
& mnc_echo_gvtypes, mnc_pickup_write, mnc_pickup_read, |
707 |
|
& mnc_outdir_str, mnc_indir_str, |
708 |
|
& mnc_use_for_mon |
709 |
|
|
710 |
|
|
711 |
|
CEH3 ;;; Local Variables: *** |
712 |
|
CEH3 ;;; mode:fortran *** |
713 |
|
CEH3 ;;; End: *** |