4 |
C | PARAMS.h | |
C | PARAMS.h | |
5 |
C | o Header file defining model "parameters". | |
C | o Header file defining model "parameters". | |
6 |
C |==========================================================| |
C |==========================================================| |
7 |
C | The values from the model's standard input file are | |
C | The values from the model standard input file are | |
8 |
C | stored into the variables held here. Notes describing | |
C | stored into the variables held here. Notes describing | |
9 |
C | the parameters can also be found here. | |
C | the parameters can also be found here. | |
10 |
C \==========================================================/ |
C \==========================================================/ |
76 |
C two-dimensional con. grad solver. |
C two-dimensional con. grad solver. |
77 |
C cg2dChkResFreq - Frequency with which to check residual |
C cg2dChkResFreq - Frequency with which to check residual |
78 |
C in con. grad solver. |
C in con. grad solver. |
79 |
|
C cg3dMaxIters - Maximum number of iterations in the |
80 |
|
C three-dimensional con. grad solver. |
81 |
|
C cg3dChkResFreq - Frequency with which to check residual |
82 |
|
C in con. grad solver. |
83 |
C nIter0 - Start time-step number of for this run |
C nIter0 - Start time-step number of for this run |
84 |
C nTimeSteps - Number of timesteps to execute |
C nTimeSteps - Number of timesteps to execute |
85 |
C numStepsPerPickup - For offline setup. Frequency of pickup |
C numStepsPerPickup - For offline setup. Frequency of pickup |
91 |
COMMON /PARM_I/ |
COMMON /PARM_I/ |
92 |
& cg2dMaxIters, |
& cg2dMaxIters, |
93 |
& cg2dChkResFreq, |
& cg2dChkResFreq, |
94 |
|
& cg3dMaxIters, |
95 |
|
& cg3dChkResFreq, |
96 |
& nIter0, nTimeSteps, |
& nIter0, nTimeSteps, |
97 |
& numStepsPerPickup, |
& numStepsPerPickup, |
98 |
& writeStatePrec, nCheckLev, |
& writeStatePrec, nCheckLev, |
99 |
& writeBinaryPrec, readBinaryPrec |
& writeBinaryPrec, readBinaryPrec |
100 |
INTEGER cg2dMaxIters |
INTEGER cg2dMaxIters |
101 |
INTEGER cg2dChkResFreq |
INTEGER cg2dChkResFreq |
102 |
|
INTEGER cg3dMaxIters |
103 |
|
INTEGER cg3dChkResFreq |
104 |
INTEGER nIter0 |
INTEGER nIter0 |
105 |
INTEGER nTimeSteps |
INTEGER nTimeSteps |
106 |
INTEGER numStepsPerPickup |
INTEGER numStepsPerPickup |
154 |
C usingZCoords - Set to indicate that we are working in height |
C usingZCoords - Set to indicate that we are working in height |
155 |
C coords. |
C coords. |
156 |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
157 |
& momViscosity, momAdvection, momForcing, useCoriolis, momPressureForcing, |
& momViscosity, momAdvection, momForcing, useCoriolis, |
158 |
& tempDiffusion, tempAdvection, tempForcing, |
& momPressureForcing,tempDiffusion, tempAdvection, tempForcing, |
159 |
& saltDiffusion, saltAdvection, saltForcing, |
& saltDiffusion, saltAdvection, saltForcing, |
160 |
& implicitFreeSurface, rigidLid, |
& implicitFreeSurface, rigidLid, |
161 |
& momStepping, tempStepping, saltStepping, |
& momStepping, tempStepping, saltStepping, |
196 |
C-- COMMON /PARM_R/ "Real" valued parameters used by the model. |
C-- COMMON /PARM_R/ "Real" valued parameters used by the model. |
197 |
C cg2dTargetResidual |
C cg2dTargetResidual |
198 |
C - Target residual for cg2d solver. |
C - Target residual for cg2d solver. |
199 |
|
C cg3dTargetResidual |
200 |
|
C - Target residual for cg3d solver. |
201 |
C cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal. |
C cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal. |
202 |
C Note. 20th May 1998 |
C Note. 20th May 1998 |
203 |
C I made a weird discovery! In the model paper we argue |
C I made a weird discovery! In the model paper we argue |
315 |
C recip_horiVertRatio ( 1 if horiz in m and vertical in m ). |
C recip_horiVertRatio ( 1 if horiz in m and vertical in m ). |
316 |
C ( g*rho if horiz in m and vertical in Pa ). |
C ( g*rho if horiz in m and vertical in Pa ). |
317 |
COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac, |
COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac, |
318 |
|
& cg3dTargetResidual, |
319 |
& delP, delZ, delR, delX, delY, |
& delP, delZ, delR, delX, delY, |
320 |
& deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, phiMin, |
& deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, |
321 |
& thetaMin, rSphere, recip_RSphere, f0, fCori, beta, |
& phiMin, thetaMin, rSphere, recip_RSphere, f0, fCori, beta, |
322 |
& viscAh, viscAz, viscA4, viscAr, |
& viscAh, viscAz, viscA4, viscAr, |
323 |
& diffKhT, diffKzT, diffK4T, diffKrT, |
& diffKhT, diffKzT, diffK4T, diffKrT, |
324 |
& diffKhS, diffKzS, diffK4S, diffKrS, |
& diffKhS, diffKzS, diffK4S, diffKrS, |
335 |
& theta_S, specVol_S, horiVertRatio, recip_horiVertRatio |
& theta_S, specVol_S, horiVertRatio, recip_horiVertRatio |
336 |
|
|
337 |
_RL cg2dTargetResidual |
_RL cg2dTargetResidual |
338 |
|
_RL cg3dTargetResidual |
339 |
_RL cg2dpcOffDFac |
_RL cg2dpcOffDFac |
340 |
_RL delZ(Nr) |
_RL delZ(Nr) |
341 |
_RL delP(Nr) |
_RL delP(Nr) |