36 |
PARAMETER ( UNSET_FLOAT8 = 1.234567D5 ) |
PARAMETER ( UNSET_FLOAT8 = 1.234567D5 ) |
37 |
Real*4 UNSET_FLOAT4 |
Real*4 UNSET_FLOAT4 |
38 |
PARAMETER ( UNSET_FLOAT4 = 1.234567E5 ) |
PARAMETER ( UNSET_FLOAT4 = 1.234567E5 ) |
39 |
_RL UNSET_RL |
_RL UNSET_RL |
40 |
PARAMETER ( UNSET_RL = 1.234567D5 ) |
PARAMETER ( UNSET_RL = 1.234567D5 ) |
41 |
_RS UNSET_RS |
_RS UNSET_RS |
42 |
PARAMETER ( UNSET_RS = 1.234567E5 ) |
PARAMETER ( UNSET_RS = 1.234567E5 ) |
43 |
INTEGER UNSET_I |
INTEGER UNSET_I |
44 |
PARAMETER ( UNSET_I = 123456789 ) |
PARAMETER ( UNSET_I = 123456789 ) |
96 |
& dQdTfile, ploadFile, |
& dQdTfile, ploadFile, |
97 |
& eddyTauxFile, eddyTauyFile, |
& eddyTauxFile, eddyTauyFile, |
98 |
& eosType, pickupSuff, |
& eosType, pickupSuff, |
99 |
& mdsioLocalDir, |
& mdsioLocalDir, |
100 |
& the_run_name |
& the_run_name |
101 |
CHARACTER*(5) checkPtSuff(maxNoChkptLev) |
CHARACTER*(5) checkPtSuff(maxNoChkptLev) |
102 |
CHARACTER*(MAX_LEN_FNAM) delXFile |
CHARACTER*(MAX_LEN_FNAM) delXFile |
152 |
C =0 Linear free surface ; >0 Non-linear |
C =0 Linear free surface ; >0 Non-linear |
153 |
C select_rStar :: option related to r* vertical coordinate |
C select_rStar :: option related to r* vertical coordinate |
154 |
C =0 (default) use r coord. ; > 0 use r* |
C =0 (default) use r coord. ; > 0 use r* |
155 |
|
C momForcingOutAB :: =1: take momentum forcing contribution |
156 |
|
C out of (=0: in) Adams-Bashforth time stepping. |
157 |
|
C tracForcingOutAB :: =1: take tracer (Temp,Salt,pTracers) forcing contribution |
158 |
|
C out of (=0: in) Adams-Bashforth time stepping. |
159 |
C tempAdvScheme :: Temp. Horiz.Advection scheme selector |
C tempAdvScheme :: Temp. Horiz.Advection scheme selector |
160 |
C tempVertAdvScheme :: Temp. Vert. Advection scheme selector |
C tempVertAdvScheme :: Temp. Vert. Advection scheme selector |
161 |
C saltAdvScheme :: Salt. Horiz.advection scheme selector |
C saltAdvScheme :: Salt. Horiz.advection scheme selector |
173 |
& writeStatePrec, nCheckLev, |
& writeStatePrec, nCheckLev, |
174 |
& writeBinaryPrec, readBinaryPrec, |
& writeBinaryPrec, readBinaryPrec, |
175 |
& nonlinFreeSurf, select_rStar, |
& nonlinFreeSurf, select_rStar, |
176 |
|
& momForcingOutAB, tracForcingOutAB, |
177 |
& tempAdvScheme, tempVertAdvScheme, |
& tempAdvScheme, tempVertAdvScheme, |
178 |
& saltAdvScheme, saltVertAdvScheme, |
& saltAdvScheme, saltVertAdvScheme, |
179 |
& selectKEscheme, |
& selectKEscheme, |
193 |
INTEGER nCheckLev |
INTEGER nCheckLev |
194 |
INTEGER nonlinFreeSurf |
INTEGER nonlinFreeSurf |
195 |
INTEGER select_rStar |
INTEGER select_rStar |
196 |
|
INTEGER momForcingOutAB, tracForcingOutAB |
197 |
INTEGER tempAdvScheme, tempVertAdvScheme |
INTEGER tempAdvScheme, tempVertAdvScheme |
198 |
INTEGER saltAdvScheme, saltVertAdvScheme |
INTEGER saltAdvScheme, saltVertAdvScheme |
199 |
INTEGER selectKEscheme |
INTEGER selectKEscheme |
200 |
INTEGER debugLevel |
INTEGER debugLevel |
201 |
|
|
202 |
C |
C |
222 |
C momPressureForcing :: Flag which turns pressure term in momentum equation |
C momPressureForcing :: Flag which turns pressure term in momentum equation |
223 |
C on and off. |
C on and off. |
224 |
C metricTerms :: Flag which turns metric terms on or off. |
C metricTerms :: Flag which turns metric terms on or off. |
225 |
C usingSphericalPolarMTerms :: If TRUE use spherical polar metric terms. |
C useNHMTerms :: If TRUE use non-hydrostatic metric terms. |
|
C useNHMTerms :: If TRUE use non-hydrostatic metric terms. |
|
226 |
C useCoriolis :: Flag which turns the coriolis terms on and off. |
C useCoriolis :: Flag which turns the coriolis terms on and off. |
227 |
C tempAdvection :: Flag which turns advection of temperature on |
C tempAdvection :: Flag which turns advection of temperature on |
228 |
C and off. |
C and off. |
269 |
C momImplVertAdv :: Turns on implicit vertical advection for Momentum |
C momImplVertAdv :: Turns on implicit vertical advection for Momentum |
270 |
C multiDimAdvection :: Flag that enable multi-dimension advection |
C multiDimAdvection :: Flag that enable multi-dimension advection |
271 |
C useMultiDimAdvec :: True if multi-dim advection is used at least once |
C useMultiDimAdvec :: True if multi-dim advection is used at least once |
272 |
C forcing_In_AB :: if False, put forcing (Temp,Salt,Tracers) contribution |
C momDissip_In_AB :: if False, put Dissipation tendency contribution |
273 |
C out off Adams-Bashforth time stepping. |
C out off Adams-Bashforth time stepping. |
274 |
C doAB_onGtGs :: if the Adams-Bashforth time stepping is used, always |
C doAB_onGtGs :: if the Adams-Bashforth time stepping is used, always |
275 |
C apply AB on tracer tendencies (rather than on Tracer) |
C apply AB on tracer tendencies (rather than on Tracer) |
305 |
C timeave_mdsio :: use mdsio for timeave output |
C timeave_mdsio :: use mdsio for timeave output |
306 |
C snapshot_mdsio :: use mdsio for "snapshot" (dumpfreq/diagfreq) output |
C snapshot_mdsio :: use mdsio for "snapshot" (dumpfreq/diagfreq) output |
307 |
C monitor_stdio :: use stdio for monitor output |
C monitor_stdio :: use stdio for monitor output |
|
C calendarDumps :: When set, approximate months (30-31 days) and years (360-372 days) |
|
|
C for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq, |
|
|
C KPP_taveFreq, and freq in pkg/diagnostics are converted to exact |
|
|
C calendar months and years. Requires pkg/cal. |
|
308 |
C dumpInitAndLast :: dumps model state to files at Initial (nIter0) |
C dumpInitAndLast :: dumps model state to files at Initial (nIter0) |
309 |
C & Last iteration, in addition multiple of dumpFreq iter. |
C & Last iteration, in addition multiple of dumpFreq iter. |
310 |
C balanceEmPmR :: substract global mean of EmPmR at every time step |
C balanceEmPmR :: substract global mean of EmPmR at every time step |
314 |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
315 |
& usingCurvilinearGrid, usingCylindricalGrid, |
& usingCurvilinearGrid, usingCylindricalGrid, |
316 |
& no_slip_sides,no_slip_bottom, |
& no_slip_sides,no_slip_bottom, |
317 |
& momViscosity, momAdvection, momForcing, useCoriolis, |
& momViscosity, momAdvection, momForcing, useCoriolis, |
318 |
& momPressureForcing, vectorInvariantMomentum, |
& momPressureForcing, vectorInvariantMomentum, |
319 |
& tempAdvection, tempForcing, |
& tempAdvection, tempForcing, |
320 |
& saltAdvection, saltForcing, |
& saltAdvection, saltForcing, |
324 |
& rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf, |
& rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf, |
325 |
& use3Dsolver, implicitIntGravWave, staggerTimeStep, |
& use3Dsolver, implicitIntGravWave, staggerTimeStep, |
326 |
& momStepping, tempStepping, saltStepping, |
& momStepping, tempStepping, saltStepping, |
327 |
& metricTerms, usingSphericalPolarMTerms, useNHMTerms, |
& metricTerms, useNHMTerms, |
328 |
& useConstantF, useBetaPlaneF, useSphereF, |
& useConstantF, useBetaPlaneF, useSphereF, |
329 |
& useCDscheme, |
& useCDscheme, |
330 |
& useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv, |
& useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv, |
332 |
& useAbsVorticity, upwindShear, |
& useAbsVorticity, upwindShear, |
333 |
& implicitDiffusion, implicitViscosity, |
& implicitDiffusion, implicitViscosity, |
334 |
& tempImplVertAdv, saltImplVertAdv, momImplVertAdv, |
& tempImplVertAdv, saltImplVertAdv, momImplVertAdv, |
335 |
& multiDimAdvection, useMultiDimAdvec, |
& multiDimAdvection, useMultiDimAdvec, |
336 |
& forcing_In_AB, doAB_onGtGs, |
& momDissip_In_AB, doAB_onGtGs, |
337 |
& doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax, |
& doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax, |
338 |
& periodicExternalForcing, |
& periodicExternalForcing, |
339 |
& fluidIsAir, fluidIsWater, |
& fluidIsAir, fluidIsWater, |
340 |
& usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr, |
& usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr, |
341 |
& nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO, |
& nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO, |
345 |
& timeave_mdsio, snapshot_mdsio, monitor_stdio, |
& timeave_mdsio, snapshot_mdsio, monitor_stdio, |
346 |
& outputTypesInclusive, dumpInitAndLast, debugMode, |
& outputTypesInclusive, dumpInitAndLast, debugMode, |
347 |
& inAdMode, inAdTrue, inAdFalse, inAdExact, |
& inAdMode, inAdTrue, inAdFalse, inAdExact, |
|
& calendarDumps, |
|
348 |
& balanceEmPmR, balanceQnet, balancePrintMean |
& balanceEmPmR, balanceQnet, balancePrintMean |
349 |
|
|
350 |
LOGICAL usingCartesianGrid |
LOGICAL usingCartesianGrid |
351 |
LOGICAL usingSphericalPolarGrid |
LOGICAL usingSphericalPolarGrid |
352 |
LOGICAL usingCylindricalGrid |
LOGICAL usingCylindricalGrid |
353 |
LOGICAL usingCurvilinearGrid |
LOGICAL usingCurvilinearGrid |
|
LOGICAL usingSphericalPolarMTerms |
|
354 |
LOGICAL useNHMTerms |
LOGICAL useNHMTerms |
355 |
LOGICAL no_slip_sides |
LOGICAL no_slip_sides |
356 |
LOGICAL no_slip_bottom |
LOGICAL no_slip_bottom |
393 |
LOGICAL upwindShear |
LOGICAL upwindShear |
394 |
LOGICAL implicitDiffusion |
LOGICAL implicitDiffusion |
395 |
LOGICAL implicitViscosity |
LOGICAL implicitViscosity |
396 |
LOGICAL tempImplVertAdv |
LOGICAL tempImplVertAdv |
397 |
LOGICAL saltImplVertAdv |
LOGICAL saltImplVertAdv |
398 |
LOGICAL momImplVertAdv |
LOGICAL momImplVertAdv |
399 |
LOGICAL multiDimAdvection |
LOGICAL multiDimAdvection |
400 |
LOGICAL useMultiDimAdvec |
LOGICAL useMultiDimAdvec |
401 |
LOGICAL forcing_In_AB |
LOGICAL momDissip_In_AB |
402 |
LOGICAL doAB_onGtGs |
LOGICAL doAB_onGtGs |
403 |
LOGICAL doThetaClimRelax |
LOGICAL doThetaClimRelax |
404 |
LOGICAL doSaltClimRelax |
LOGICAL doSaltClimRelax |
426 |
LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio |
LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio |
427 |
LOGICAL outputTypesInclusive |
LOGICAL outputTypesInclusive |
428 |
LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact |
LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact |
|
LOGICAL calendarDumps |
|
429 |
|
|
430 |
LOGICAL balanceEmPmR |
LOGICAL balanceEmPmR |
431 |
LOGICAL balanceQnet |
LOGICAL balanceQnet |
612 |
C bottomDragQuadratic ( linear: 1/s, quadratic: 1/m ) |
C bottomDragQuadratic ( linear: 1/s, quadratic: 1/m ) |
613 |
C nh_Am2 :: scales the non-hydrostatic terms and changes internal scales |
C nh_Am2 :: scales the non-hydrostatic terms and changes internal scales |
614 |
C (i.e. allows convection at different Rayleigh numbers) |
C (i.e. allows convection at different Rayleigh numbers) |
615 |
COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit, |
COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit, |
616 |
& cg2dpcOffDFac, cg3dTargetResidual, |
& cg2dpcOffDFac, cg3dTargetResidual, |
617 |
& delR, delRc, delX, delY, |
& delR, delRc, delX, delY, |
618 |
& deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock, |
& deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock, |
623 |
& viscC2leith, viscC2leithD, |
& viscC2leith, viscC2leithD, |
624 |
& viscC2smag, viscC4smag, |
& viscC2smag, viscC4smag, |
625 |
& viscAhD, viscAhZ, viscA4D, viscA4Z, |
& viscAhD, viscAhZ, viscA4D, viscA4Z, |
626 |
& viscA4, viscA4W, |
& viscA4, viscA4W, |
627 |
& viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin, |
& viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin, |
628 |
& viscAhRemax, viscA4Remax, |
& viscAhRemax, viscA4Remax, |
629 |
& viscC4leith, viscC4leithD, viscAr, |
& viscC4leith, viscC4leithD, viscAr, |
632 |
& diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho, |
& diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho, |
633 |
& delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow, |
& delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow, |
634 |
& hFacMin, hFacMinDz, hFacInf, hFacSup, |
& hFacMin, hFacMinDz, hFacInf, hFacSup, |
635 |
& gravity, recip_Gravity, gBaro, rhonil, recip_rhonil, |
& gravity, recip_Gravity, gBaro, rhonil, recip_rhonil, |
636 |
& recip_rhoConst, rhoConst, |
& recip_rhoConst, rhoConst, |
637 |
& rhoConstFresh, convertEmP2rUnit, tRef, sRef, phiRef, dBdrRef, |
& rhoConstFresh, convertEmP2rUnit, tRef, sRef, phiRef, dBdrRef, |
638 |
& baseTime, startTime, endTime, |
& baseTime, startTime, endTime, |
639 |
& chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq, |
& chkPtFreq, pChkPtFreq, dumpFreq, adjDumpFreq, |
640 |
& diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq, |
& diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq, |
641 |
& afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom, |
& afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom, |
642 |
& cosPower, cAdjFreq, omega, rotationPeriod, |
& cosPower, cAdjFreq, omega, rotationPeriod, |
643 |
& tauThetaClimRelax, tauThetaClimRelax3Dim, |
& tauThetaClimRelax, tauSaltClimRelax, |
|
& tauSaltClimRelax, tauSaltClimRelax3Dim, |
|
644 |
& tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax, |
& tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax, |
645 |
& externForcingCycle, externForcingPeriod, |
& externForcingCycle, externForcingPeriod, |
646 |
& convertFW2Salt, temp_EvPrRn, salt_EvPrRn, |
& convertFW2Salt, temp_EvPrRn, salt_EvPrRn, |
693 |
_RL viscC2smag |
_RL viscC2smag |
694 |
_RL viscC4smag |
_RL viscC4smag |
695 |
_RL viscAr |
_RL viscAr |
696 |
_RL viscA4 |
_RL viscA4 |
697 |
_RL viscA4W |
_RL viscA4W |
698 |
_RL viscA4D |
_RL viscA4D |
699 |
_RL viscA4Z |
_RL viscA4Z |
702 |
_RL viscA4Grid, viscA4GridMax, viscA4GridMin |
_RL viscA4Grid, viscA4GridMax, viscA4GridMin |
703 |
_RL viscC4leith |
_RL viscC4leith |
704 |
_RL viscC4leithD |
_RL viscC4leithD |
705 |
_RL diffKhT |
_RL diffKhT |
706 |
_RL diffKrNrT(Nr) |
_RL diffKrNrT(Nr) |
707 |
_RL diffK4T |
_RL diffK4T |
708 |
_RL diffKhS |
_RL diffKhS |
709 |
_RL diffKrNrS(Nr) |
_RL diffKrNrS(Nr) |
710 |
_RL diffK4S |
_RL diffK4S |
711 |
_RL diffKrBL79surf |
_RL diffKrBL79surf |
712 |
_RL diffKrBL79deep |
_RL diffKrBL79deep |
713 |
_RL diffKrBL79scl |
_RL diffKrBL79scl |
745 |
_RL pfFacMom |
_RL pfFacMom |
746 |
_RL cfFacMom |
_RL cfFacMom |
747 |
_RL foFacMom |
_RL foFacMom |
748 |
_RL mTFacMom |
_RL mtFacMom |
749 |
_RL cosPower |
_RL cosPower |
750 |
_RL cAdjFreq |
_RL cAdjFreq |
751 |
_RL omega |
_RL omega |
752 |
_RL rotationPeriod |
_RL rotationPeriod |
753 |
_RL tauThetaClimRelax |
_RL tauThetaClimRelax |
754 |
_RL tauSaltClimRelax |
_RL tauSaltClimRelax |
|
_RL tauThetaClimRelax3Dim |
|
|
_RL tauSaltClimRelax3Dim |
|
755 |
_RL tauTr1ClimRelax |
_RL tauTr1ClimRelax |
756 |
_RL lambdaTr1ClimRelax |
_RL lambdaTr1ClimRelax |
757 |
_RL latBandClimRelax |
_RL latBandClimRelax |
788 |
C (still a subject of discussions ...) |
C (still a subject of discussions ...) |
789 |
C selectFindRoSurf :: select the way surf. ref. pressure (=Ro_surf) is |
C selectFindRoSurf :: select the way surf. ref. pressure (=Ro_surf) is |
790 |
C derived from the orography. Implemented: 0,1 (see INI_P_GROUND) |
C derived from the orography. Implemented: 0,1 (see INI_P_GROUND) |
791 |
COMMON /PARM_ATM/ |
COMMON /PARM_ATM/ |
792 |
& celsius2K, |
& celsius2K, |
793 |
& atm_Cp, atm_Rd, atm_kappa, atm_Rq, atm_Po, |
& atm_Cp, atm_Rd, atm_kappa, atm_Rq, atm_Po, |
794 |
& integr_GeoPot, selectFindRoSurf |
& integr_GeoPot, selectFindRoSurf |
806 |
LOGICAL useOBCS |
LOGICAL useOBCS |
807 |
LOGICAL useAIM |
LOGICAL useAIM |
808 |
LOGICAL useLand |
LOGICAL useLand |
809 |
|
LOGICAL useCAL |
810 |
|
LOGICAL useEXF |
811 |
|
LOGICAL useEBM |
812 |
LOGICAL useGrdchk |
LOGICAL useGrdchk |
813 |
LOGICAL useECCO |
LOGICAL useECCO |
814 |
LOGICAL useSHAP_FILT |
LOGICAL useSHAP_FILT |
817 |
LOGICAL usePTRACERS |
LOGICAL usePTRACERS |
818 |
LOGICAL useGCHEM |
LOGICAL useGCHEM |
819 |
LOGICAL useRBCS |
LOGICAL useRBCS |
820 |
|
LOGICAL useOffLine |
821 |
|
LOGICAL useMATRIX |
822 |
LOGICAL useSBO |
LOGICAL useSBO |
823 |
LOGICAL useSEAICE |
LOGICAL useSEAICE |
824 |
LOGICAL useShelfIce |
LOGICAL useShelfIce |
|
LOGICAL useBulkForce |
|
825 |
LOGICAL useThSIce |
LOGICAL useThSIce |
826 |
|
LOGICAL useBulkForce |
827 |
LOGICAL usefizhi |
LOGICAL usefizhi |
828 |
LOGICAL usegridalt |
LOGICAL usegridalt |
829 |
LOGICAL usediagnostics |
LOGICAL useDiagnostics |
|
LOGICAL useEBM |
|
830 |
LOGICAL useMNC |
LOGICAL useMNC |
|
LOGICAL useMATRIX |
|
831 |
LOGICAL useRunClock |
LOGICAL useRunClock |
832 |
LOGICAL useEMBED_FILES |
LOGICAL useEMBED_FILES |
833 |
COMMON /PARM_PACKAGES/ |
COMMON /PARM_PACKAGES/ |
834 |
& useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO, |
& useOPPS, usePP81, useMY82, useGGL90, useKPP, |
835 |
& useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT, |
& useGMRedi, useOBCS, useAIM, useLand, |
836 |
& usePTRACERS, useGCHEM, useRBCS, |
& useCAL, useEXF, useEBM, useGrdchk, useECCO, |
837 |
& useSBO, useSEAICE, useShelfIce, useThSIce, useBulkForce, |
& useSHAP_FILT, useZONAL_FILT, useFLT, |
838 |
& usefizhi, usegridalt, usediagnostics, useEBM, useMNC, |
& usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX, |
839 |
& usePP81, useMY82, useOPPS, useGGL90, useMATRIX, |
& useSBO, useSEAICE, useShelfIce, useThSIce, useBulkForce, |
840 |
|
& usefizhi, usegridalt, useDiagnostics, useMNC, |
841 |
& useRunClock, useEMBED_FILES |
& useRunClock, useEMBED_FILES |
842 |
|
|
843 |
CEH3 ;;; Local Variables: *** |
CEH3 ;;; Local Variables: *** |