47 |
C checkPtSuff - List of checkpoint file suffices |
C checkPtSuff - List of checkpoint file suffices |
48 |
C bathyFile - File containing bathymetry. If not defined bathymetry |
C bathyFile - File containing bathymetry. If not defined bathymetry |
49 |
C is taken from inline function. |
C is taken from inline function. |
50 |
|
C topoFile - File containing the topography of the surface (unit=m) |
51 |
|
C (mainly used for the atmosphere = ground height). |
52 |
C hydrogThetaFile - File containing initial hydrographic data for potential |
C hydrogThetaFile - File containing initial hydrographic data for potential |
53 |
C temperature. |
C temperature. |
54 |
C hydrogSaltFile - File containing initial hydrographic data for salinity. |
C hydrogSaltFile - File containing initial hydrographic data for salinity. |
65 |
C buoyancyRelation - Flag used to indicate which relation to use to |
C buoyancyRelation - Flag used to indicate which relation to use to |
66 |
C get buoyancy. |
C get buoyancy. |
67 |
COMMON /PARM_C/ checkPtSuff, |
COMMON /PARM_C/ checkPtSuff, |
68 |
& bathyFile, hydrogThetaFile, hydrogSaltFile, |
& bathyFile, topoFile, |
69 |
|
& hydrogThetaFile, hydrogSaltFile, |
70 |
& zonalWindFile, meridWindFile, thetaClimFile, |
& zonalWindFile, meridWindFile, thetaClimFile, |
71 |
& saltClimFile, buoyancyRelation, |
& saltClimFile, buoyancyRelation, |
72 |
& EmPmRfile, surfQfile, surfQswfile, |
& EmPmRfile, surfQfile, surfQswfile, |
73 |
& uVelInitFile, vVelInitFile, pSurfInitFile, |
& uVelInitFile, vVelInitFile, pSurfInitFile, |
74 |
& dQdTfile |
& dQdTfile |
75 |
CHARACTER*(5) checkPtSuff(maxNoChkptLev) |
CHARACTER*(5) checkPtSuff(maxNoChkptLev) |
76 |
CHARACTER*(MAX_LEN_FNAM) bathyFile |
CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile |
77 |
CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile |
CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile |
78 |
CHARACTER*(MAX_LEN_FNAM) hydrogSaltFile |
CHARACTER*(MAX_LEN_FNAM) hydrogSaltFile |
79 |
CHARACTER*(MAX_LEN_FNAM) zonalWindFile |
CHARACTER*(MAX_LEN_FNAM) zonalWindFile |
106 |
C writeBinaryPrec - Precision used for writing binary files |
C writeBinaryPrec - Precision used for writing binary files |
107 |
C readBinaryPrec - Precision used for reading binary files |
C readBinaryPrec - Precision used for reading binary files |
108 |
C nCheckLev - Holds current checkpoint level |
C nCheckLev - Holds current checkpoint level |
109 |
C nShap - "Order" of shapiro filter to apply to |
C nonlinFreeSurf - option related to non-linear free surface |
110 |
C model prognositic fields. |
C =0 Linear free surface ; >0 Non-linear |
|
C nShap == 1 => del2 |
|
|
C nShap == 2 => del4 |
|
|
C nShap == 3 => del6 |
|
|
C etc... |
|
111 |
|
|
112 |
COMMON /PARM_I/ |
COMMON /PARM_I/ |
113 |
& cg2dMaxIters, |
& cg2dMaxIters, |
118 |
& numStepsPerPickup, |
& numStepsPerPickup, |
119 |
& writeStatePrec, nCheckLev, |
& writeStatePrec, nCheckLev, |
120 |
& writeBinaryPrec, readBinaryPrec, |
& writeBinaryPrec, readBinaryPrec, |
121 |
& nShap, zonal_filt_sinpow, zonal_filt_cospow |
& nonlinFreeSurf, |
122 |
|
& zonal_filt_sinpow, zonal_filt_cospow |
123 |
INTEGER cg2dMaxIters |
INTEGER cg2dMaxIters |
124 |
INTEGER cg2dChkResFreq |
INTEGER cg2dChkResFreq |
125 |
INTEGER cg3dMaxIters |
INTEGER cg3dMaxIters |
132 |
INTEGER writeBinaryPrec |
INTEGER writeBinaryPrec |
133 |
INTEGER readBinaryPrec |
INTEGER readBinaryPrec |
134 |
INTEGER nCheckLev |
INTEGER nCheckLev |
135 |
INTEGER nShap |
INTEGER nonlinFreeSurf |
136 |
INTEGER zonal_filt_sinpow |
INTEGER zonal_filt_sinpow |
137 |
INTEGER zonal_filt_cospow |
INTEGER zonal_filt_cospow |
138 |
|
|
165 |
C and off. |
C and off. |
166 |
C saltForcing - Flag which turns external forcing of salinit on |
C saltForcing - Flag which turns external forcing of salinit on |
167 |
C and off. |
C and off. |
|
C implicitFreeSurface - Set to true to use implcit free surface |
|
168 |
C rigidLid - Set to true to use rigid lid |
C rigidLid - Set to true to use rigid lid |
169 |
|
C implicitFreeSurface - Set to true to use implcit free surface |
170 |
|
C exactConserv - Set to true to conserve exactly the total Volume |
171 |
|
C uniformLin_PhiSurf - Set to true to use a uniform Bo_surf in the |
172 |
|
C linear relation Phi_surf = Bo_surf*eta |
173 |
C momStepping - Turns momentum equation time-stepping off |
C momStepping - Turns momentum equation time-stepping off |
174 |
C tempStepping - Turns temperature equation time-stepping off |
C tempStepping - Turns temperature equation time-stepping off |
175 |
C saltStepping - Turns salinity equation time-stepping off |
C saltStepping - Turns salinity equation time-stepping off |
176 |
|
C tr1Stepping - Turns passive tracer 1 time-stepping on/off |
177 |
C useConstantF - Coriolis parameter set to f0 |
C useConstantF - Coriolis parameter set to f0 |
178 |
C useBetaPlaneF - Coriolis parameter set to f0 + beta.y |
C useBetaPlaneF - Coriolis parameter set to f0 + beta.y |
179 |
C useSphereF - Coriolis parameter set to 2.omega.sin(phi) |
C useSphereF - Coriolis parameter set to 2.omega.sin(phi) |
193 |
C allowFreezing - Allows water to freeze and form ice |
C allowFreezing - Allows water to freeze and form ice |
194 |
C groundAtK1 - put the surface(k=1) at the Lower Boundary (=ground) |
C groundAtK1 - put the surface(k=1) at the Lower Boundary (=ground) |
195 |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
196 |
|
& usingCurvilinearGrid, |
197 |
& no_slip_sides,no_slip_bottom, |
& no_slip_sides,no_slip_bottom, |
198 |
& staggerTimeStep, |
& staggerTimeStep, |
199 |
& momViscosity, momAdvection, momForcing, useCoriolis, |
& momViscosity, momAdvection, momForcing, useCoriolis, |
200 |
& momPressureForcing,tempDiffusion, tempAdvection, tempForcing, |
& momPressureForcing,tempDiffusion, tempAdvection, tempForcing, |
201 |
& saltDiffusion, saltAdvection, saltForcing, |
& saltDiffusion, saltAdvection, saltForcing, |
202 |
& implicitFreeSurface, rigidLid, |
& rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf, |
203 |
& momStepping, tempStepping, saltStepping, |
& momStepping, tempStepping, saltStepping, tr1Stepping, |
204 |
& metricTerms, usingSphericalPolarMTerms, |
& metricTerms, usingSphericalPolarMTerms, |
205 |
& useConstantF, useBetaPlaneF, useSphereF, |
& useConstantF, useBetaPlaneF, useSphereF, |
206 |
& implicitDiffusion, implicitViscosity, |
& implicitDiffusion, implicitViscosity, |
207 |
& doThetaClimRelax, doSaltClimRelax, |
& doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax, |
208 |
& periodicExternalForcing, usingPCoords, usingZCoords, |
& periodicExternalForcing, usingPCoords, usingZCoords, |
209 |
& nonHydrostatic, globalFiles, |
& nonHydrostatic, globalFiles, |
210 |
& allowFreezing, groundAtK1, |
& allowFreezing, groundAtK1, |
211 |
& usePickupBeforeC35 |
& usePickupBeforeC35, debugMode, |
212 |
|
& readPickupWithTracer, writePickupWithTracer |
213 |
LOGICAL usingCartesianGrid |
LOGICAL usingCartesianGrid |
214 |
LOGICAL usingSphericalPolarGrid |
LOGICAL usingSphericalPolarGrid |
215 |
|
LOGICAL usingCurvilinearGrid |
216 |
LOGICAL usingSphericalPolarMTerms |
LOGICAL usingSphericalPolarMTerms |
217 |
LOGICAL no_slip_sides |
LOGICAL no_slip_sides |
218 |
LOGICAL no_slip_bottom |
LOGICAL no_slip_bottom |
228 |
LOGICAL saltDiffusion |
LOGICAL saltDiffusion |
229 |
LOGICAL saltAdvection |
LOGICAL saltAdvection |
230 |
LOGICAL saltForcing |
LOGICAL saltForcing |
|
LOGICAL implicitFreeSurface |
|
231 |
LOGICAL rigidLid |
LOGICAL rigidLid |
232 |
|
LOGICAL implicitFreeSurface |
233 |
|
LOGICAL exactConserv |
234 |
|
LOGICAL uniformLin_PhiSurf |
235 |
LOGICAL momStepping |
LOGICAL momStepping |
236 |
LOGICAL tempStepping |
LOGICAL tempStepping |
237 |
LOGICAL saltStepping |
LOGICAL saltStepping |
238 |
|
LOGICAL tr1Stepping |
239 |
LOGICAL metricTerms |
LOGICAL metricTerms |
240 |
LOGICAL useConstantF |
LOGICAL useConstantF |
241 |
LOGICAL useBetaPlaneF |
LOGICAL useBetaPlaneF |
244 |
LOGICAL implicitViscosity |
LOGICAL implicitViscosity |
245 |
LOGICAL doThetaClimRelax |
LOGICAL doThetaClimRelax |
246 |
LOGICAL doSaltClimRelax |
LOGICAL doSaltClimRelax |
247 |
|
LOGICAL doTr1ClimRelax |
248 |
LOGICAL periodicExternalForcing |
LOGICAL periodicExternalForcing |
249 |
LOGICAL usingPCoords |
LOGICAL usingPCoords |
250 |
LOGICAL usingZCoords |
LOGICAL usingZCoords |
253 |
LOGICAL allowFreezing |
LOGICAL allowFreezing |
254 |
LOGICAL groundAtK1 |
LOGICAL groundAtK1 |
255 |
LOGICAL usePickupBeforeC35 |
LOGICAL usePickupBeforeC35 |
256 |
|
LOGICAL debugMode |
257 |
|
LOGICAL readPickupWithTracer |
258 |
|
LOGICAL writePickupWithTracer |
259 |
|
|
260 |
C-- COMMON /PARM_R/ "Real" valued parameters used by the model. |
C-- COMMON /PARM_R/ "Real" valued parameters used by the model. |
261 |
C cg2dTargetResidual |
C gg2dTargetResidual |
262 |
C - Target residual for cg2d solver. |
C - Target residual for cg2d solver; no unit (RHS normalisation) |
263 |
|
C cg2dTargetResWunit |
264 |
|
C - Target residual for cg2d solver; W unit (No RHS normalisation) |
265 |
C cg3dTargetResidual |
C cg3dTargetResidual |
266 |
C - Target residual for cg3d solver. |
C - Target residual for cg3d solver. |
267 |
C cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal. |
C cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal. |
349 |
C hFacMinDz - Minimum dimesional size of a cell (affects hFacC etc..., m) |
C hFacMinDz - Minimum dimesional size of a cell (affects hFacC etc..., m) |
350 |
C hFacMinDp - Minimum dimesional size of a cell (affects hFacC etc..., Pa) |
C hFacMinDp - Minimum dimesional size of a cell (affects hFacC etc..., Pa) |
351 |
C hFacMinDr - Minimum dimesional size of a cell (affects hFacC etc..., units of r) |
C hFacMinDr - Minimum dimesional size of a cell (affects hFacC etc..., units of r) |
352 |
|
C hFacInf - Threshold (inf and sup) for fraction size of surface cell |
353 |
|
C hFacSup that control vanishing and creating levels |
354 |
C tauCD - CD scheme coupling timescale ( 1/s ) |
C tauCD - CD scheme coupling timescale ( 1/s ) |
355 |
C rCD - CD scheme normalised coupling parameter ( 0-1 ) |
C rCD - CD scheme normalised coupling parameter ( 0-1 ) |
356 |
C startTime - Starting time for this integration ( s ). |
C startTime - Starting time for this integration ( s ). |
387 |
C starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel) |
C starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel) |
388 |
C bottomDragLinear - Drag coefficient built in to core dynamics |
C bottomDragLinear - Drag coefficient built in to core dynamics |
389 |
C " Quadratic ( linear: 1/s, quadratic: 1/m ) |
C " Quadratic ( linear: 1/s, quadratic: 1/m ) |
390 |
COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac, |
COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit, |
391 |
& cg3dTargetResidual, |
& cg2dpcOffDFac, cg3dTargetResidual, |
392 |
& delP, delZ, delR, delX, delY, |
& delP, delZ, delR, delX, delY, |
393 |
& deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, |
& deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, |
394 |
& phiMin, thetaMin, rSphere, recip_RSphere, f0, fCori, beta, |
& phiMin, thetaMin, rSphere, recip_RSphere, f0, beta, |
395 |
|
& fCori, fCoriG, |
396 |
& viscAh, viscAz, viscA4, viscAr, |
& viscAh, viscAz, viscA4, viscAr, |
397 |
& diffKhT, diffKzT, diffK4T, diffKrT, |
& diffKhT, diffKzT, diffK4T, diffKrT, |
398 |
& diffKhS, diffKzS, diffK4S, diffKrS, |
& diffKhS, diffKzS, diffK4S, diffKrS, |
399 |
& delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow, |
& delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow, |
400 |
& hFacMin, hFacMinDz, |
& hFacMin, hFacMinDz, hFacInf, hFacSup, |
401 |
& gravity, recip_Gravity, gBaro, rhonil, recip_rhonil, |
& gravity, recip_Gravity, gBaro, rhonil, recip_rhonil, |
402 |
& recip_rhoConst, rhoConst, tRef, sRef, |
& recip_rhoConst, rhoConst, tRef, sRef, |
403 |
& endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq, |
& endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq, monitorFreq, |
404 |
& afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom, |
& afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom, |
405 |
& cosPower, |
& cosPower, cAdjFreq, omega, |
406 |
& cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax, |
& tauThetaClimRelax, lambdaThetaClimRelax, |
407 |
& tauSaltClimRelax, lambdaSaltClimRelax, |
& tauSaltClimRelax, lambdaSaltClimRelax, |
408 |
|
& tauTr1ClimRelax, lambdaTr1ClimRelax, |
409 |
& externForcingCycle, externForcingPeriod, |
& externForcingCycle, externForcingPeriod, |
410 |
& viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp, |
& viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp, |
411 |
& theta_S, specVol_S, horiVertRatio, recip_horiVertRatio, |
& theta_S, specVol_S, horiVertRatio, recip_horiVertRatio, |
413 |
& bottomDragLinear,bottomDragQuadratic |
& bottomDragLinear,bottomDragQuadratic |
414 |
|
|
415 |
_RL cg2dTargetResidual |
_RL cg2dTargetResidual |
416 |
|
_RL cg2dTargetResWunit |
417 |
_RL cg3dTargetResidual |
_RL cg3dTargetResidual |
418 |
_RL cg2dpcOffDFac |
_RL cg2dpcOffDFac |
419 |
_RL delZ(Nr) |
_RL delZ(Nr) |
438 |
_RL hFacMinDz |
_RL hFacMinDz |
439 |
_RL hFacMinDp |
_RL hFacMinDp |
440 |
_RL hFacMinDr |
_RL hFacMinDr |
441 |
|
_RL hFacInf |
442 |
|
_RL hFacSup |
443 |
_RL beta |
_RL beta |
444 |
_RL viscAh |
_RL viscAh |
445 |
_RL viscAz |
_RL viscAz |
470 |
_RL tRef(Nr) |
_RL tRef(Nr) |
471 |
_RL theta_S(Nr) |
_RL theta_S(Nr) |
472 |
_RL sRef(Nr) |
_RL sRef(Nr) |
473 |
_RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
_RS fCori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
474 |
|
_RS fCoriG(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
475 |
_RL startTime |
_RL startTime |
476 |
_RL endTime |
_RL endTime |
477 |
_RL chkPtFreq |
_RL chkPtFreq |
478 |
_RL pChkPtFreq |
_RL pChkPtFreq |
479 |
_RL dumpFreq |
_RL dumpFreq |
480 |
_RL taveFreq |
_RL taveFreq |
481 |
|
_RL monitorFreq |
482 |
_RL afFacMom |
_RL afFacMom |
483 |
_RL vfFacMom |
_RL vfFacMom |
484 |
_RL pfFacMom |
_RL pfFacMom |
492 |
_RL lambdaThetaClimRelax |
_RL lambdaThetaClimRelax |
493 |
_RL tauSaltClimRelax |
_RL tauSaltClimRelax |
494 |
_RL lambdaSaltClimRelax |
_RL lambdaSaltClimRelax |
495 |
|
_RL tauTr1ClimRelax |
496 |
|
_RL lambdaTr1ClimRelax |
497 |
_RL externForcingCycle |
_RL externForcingCycle |
498 |
_RL externForcingPeriod |
_RL externForcingPeriod |
499 |
_RL horiVertRatio |
_RL horiVertRatio |
522 |
_RL sBeta |
_RL sBeta |
523 |
character*(6) eosType |
character*(6) eosType |
524 |
|
|
525 |
|
C Atmospheric physical parameters (Ideal Gas EOS, ...) |
526 |
|
C atm_po - standard reference pressure |
527 |
|
C atm_cp - specific heat (Cp) of the (dry) air at constant pressure |
528 |
|
C atm_kappa - kappa = R/Cp (R: constant of Ideal Gas EOS) |
529 |
|
C Integr_GeoPot - option to select the way we integrate the geopotential |
530 |
|
C (still a subject of discussions ...) |
531 |
|
COMMON /PARM_ATM/ atm_cp, atm_kappa, atm_po, |
532 |
|
& Integr_GeoPot |
533 |
|
_RL atm_cp, atm_kappa, atm_po |
534 |
|
INTEGER Integr_GeoPot |
535 |
|
|
536 |
C Logical flags for selecting packages |
C Logical flags for selecting packages |
537 |
LOGICAL useKPP |
LOGICAL useKPP |
538 |
LOGICAL useGMRedi |
LOGICAL useGMRedi |
539 |
LOGICAL useOBCS |
LOGICAL useOBCS |
540 |
LOGICAL useAIM |
LOGICAL useAIM |
541 |
|
LOGICAL useGrdchk |
542 |
LOGICAL useECCO |
LOGICAL useECCO |
543 |
|
LOGICAL useSHAP_FILT |
544 |
COMMON /PARM_PACKAGES/ |
COMMON /PARM_PACKAGES/ |
545 |
& useKPP, useGMRedi, useOBCS, useAIM, useECCO |
& useKPP, useGMRedi, useOBCS, useAIM, useECCO, |
546 |
|
& useSHAP_FILT, useGrdchk |
547 |
|
|