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 \==========================================================/ |
26 |
PARAMETER ( precFloat32 = 0 ) |
PARAMETER ( precFloat32 = 0 ) |
27 |
INTEGER precFloat64 |
INTEGER precFloat64 |
28 |
PARAMETER ( precFloat64 = 1 ) |
PARAMETER ( precFloat64 = 1 ) |
29 |
|
C UNSET_xxx - Used to indicate variables that have not been given a value |
30 |
|
Real*8 UNSET_FLOAT8 |
31 |
|
PARAMETER ( UNSET_FLOAT8 = 1.234567D5 ) |
32 |
|
Real*4 UNSET_FLOAT4 |
33 |
|
PARAMETER ( UNSET_FLOAT4 = 1.234567E5 ) |
34 |
|
_RL UNSET_RL |
35 |
|
PARAMETER ( UNSET_RL = 1.234567D5 ) |
36 |
|
_RS UNSET_RS |
37 |
|
PARAMETER ( UNSET_RS = 1.234567E5 ) |
38 |
|
INTEGER UNSET_I |
39 |
|
PARAMETER ( UNSET_I = 123456789 ) |
40 |
|
|
41 |
C Checkpoint data |
C Checkpoint data |
42 |
INTEGER maxNoChkptLev |
INTEGER maxNoChkptLev |
51 |
C hydrogSaltFile - File containing initial hydrographic data for salinity. |
C hydrogSaltFile - File containing initial hydrographic data for salinity. |
52 |
C zonalWindFile - File containing zonal wind data |
C zonalWindFile - File containing zonal wind data |
53 |
C meridWindFile - File containing meridional wind data |
C meridWindFile - File containing meridional wind data |
54 |
|
C thetaClimFile - File containing theta climataology used |
55 |
|
C in relaxation term -lambda(theta-theta*) |
56 |
|
C saltClimFile - File containing salt climataology used |
57 |
|
C in relaxation term -lambda(salt-salt*) |
58 |
|
C buoyancyRelation - Flag used to indicate which relation to use to |
59 |
|
C get buoyancy. |
60 |
COMMON /PARM_C/ checkPtSuff, |
COMMON /PARM_C/ checkPtSuff, |
61 |
& bathyFile, hydrogThetaFile, hydrogSaltFile, |
& bathyFile, hydrogThetaFile, hydrogSaltFile, |
62 |
& zonalWindFile, meridWindFile |
& zonalWindFile, meridWindFile, thetaClimFile, |
63 |
|
& saltClimFile, buoyancyRelation |
64 |
CHARACTER*(5) checkPtSuff(maxNoChkptLev) |
CHARACTER*(5) checkPtSuff(maxNoChkptLev) |
65 |
CHARACTER*(MAX_LEN_FNAM) bathyFile |
CHARACTER*(MAX_LEN_FNAM) bathyFile |
66 |
CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile |
CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile |
67 |
CHARACTER*(MAX_LEN_FNAM) hydrogSaltFile |
CHARACTER*(MAX_LEN_FNAM) hydrogSaltFile |
68 |
CHARACTER*(MAX_LEN_FNAM) zonalWindFile |
CHARACTER*(MAX_LEN_FNAM) zonalWindFile |
69 |
CHARACTER*(MAX_LEN_FNAM) meridWindFile |
CHARACTER*(MAX_LEN_FNAM) meridWindFile |
70 |
|
CHARACTER*(MAX_LEN_FNAM) thetaClimFile |
71 |
|
CHARACTER*(MAX_LEN_FNAM) saltClimFile |
72 |
|
CHARACTER*(MAX_LEN_FNAM) buoyancyRelation |
73 |
|
|
74 |
C-- COMMON /PARM_I/ Integer valued parameters used by the model. |
C-- COMMON /PARM_I/ Integer valued parameters used by the model. |
75 |
C cg2dMaxIters - Maximum number of iterations in the |
C cg2dMaxIters - Maximum number of iterations in the |
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 |
88 |
C writeBinaryPrec - Precision used for writing binary files |
C writeBinaryPrec - Precision used for writing binary files |
89 |
C readBinaryPrec - Precision used for reading binary files |
C readBinaryPrec - Precision used for reading binary files |
90 |
C nCheckLev - Holds current checkpoint level |
C nCheckLev - Holds current checkpoint level |
91 |
|
C nShap - "Order" of shapiro filter to apply to |
92 |
|
C model prognositic fields. |
93 |
|
C nShap == 1 => del2 |
94 |
|
C nShap == 2 => del4 |
95 |
|
C nShap == 3 => del6 |
96 |
|
C etc... |
97 |
|
|
98 |
COMMON /PARM_I/ |
COMMON /PARM_I/ |
99 |
& cg2dMaxIters, |
& cg2dMaxIters, |
100 |
& cg2dChkResFreq, |
& cg2dChkResFreq, |
101 |
|
& cg3dMaxIters, |
102 |
|
& cg3dChkResFreq, |
103 |
& nIter0, nTimeSteps, |
& nIter0, nTimeSteps, |
104 |
& numStepsPerPickup, |
& numStepsPerPickup, |
105 |
& writeStatePrec, nCheckLev, |
& writeStatePrec, nCheckLev, |
106 |
& writeBinaryPrec, readBinaryPrec |
& writeBinaryPrec, readBinaryPrec, |
107 |
|
& nShap |
108 |
INTEGER cg2dMaxIters |
INTEGER cg2dMaxIters |
109 |
INTEGER cg2dChkResFreq |
INTEGER cg2dChkResFreq |
110 |
|
INTEGER cg3dMaxIters |
111 |
|
INTEGER cg3dChkResFreq |
112 |
INTEGER nIter0 |
INTEGER nIter0 |
113 |
INTEGER nTimeSteps |
INTEGER nTimeSteps |
114 |
INTEGER numStepsPerPickup |
INTEGER numStepsPerPickup |
116 |
INTEGER writeBinaryPrec |
INTEGER writeBinaryPrec |
117 |
INTEGER readBinaryPrec |
INTEGER readBinaryPrec |
118 |
INTEGER nCheckLev |
INTEGER nCheckLev |
119 |
|
INTEGER nShap |
120 |
|
|
121 |
C-- COMMON /PARM_L/ Logical valued parameters used by the model. |
C-- COMMON /PARM_L/ Logical valued parameters used by the model. |
122 |
C usingCartesianGrid - If TRUE grid generation will be in a cartesian |
C usingCartesianGrid - If TRUE grid generation will be in a cartesian |
153 |
C useBetaPlaneF - Coriolis parameter set to f0 + beta.y |
C useBetaPlaneF - Coriolis parameter set to f0 + beta.y |
154 |
C useSphereF - Coriolis parameter set to 2.omega.sin(phi) |
C useSphereF - Coriolis parameter set to 2.omega.sin(phi) |
155 |
C implicitDiffusion - Turns implicit vertical diffusion on |
C implicitDiffusion - Turns implicit vertical diffusion on |
156 |
|
C doThetaClimRelax - Set true if relaxation to temperature |
157 |
|
C climatology is required. |
158 |
|
C doSaltClimRelax - Set true if relaxation to salinity |
159 |
|
C climatology is required. |
160 |
|
C periodicExternalForcing - Set true if forcing is time-dependant |
161 |
|
C usingPCoords - Set to indicate that we are working in pressure |
162 |
|
C coords. |
163 |
|
C usingZCoords - Set to indicate that we are working in height |
164 |
|
C coords. |
165 |
|
C openBoundaries - Using open-boundaries |
166 |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid, |
167 |
& momViscosity, momAdvection, momForcing, useCoriolis, momPressureForcing, |
& momViscosity, momAdvection, momForcing, useCoriolis, |
168 |
& tempDiffusion, tempAdvection, tempForcing, |
& momPressureForcing,tempDiffusion, tempAdvection, tempForcing, |
169 |
& saltDiffusion, saltAdvection, saltForcing, |
& saltDiffusion, saltAdvection, saltForcing, |
170 |
& implicitFreeSurface, rigidLid, |
& implicitFreeSurface, rigidLid, |
171 |
& momStepping, tempStepping, saltStepping, |
& momStepping, tempStepping, saltStepping, |
172 |
& metricTerms, usingSphericalPolarMTerms, |
& metricTerms, usingSphericalPolarMTerms, |
173 |
& useConstantF, useBetaPlaneF, useSphereF, |
& useConstantF, useBetaPlaneF, useSphereF, |
174 |
& implicitDiffusion |
& implicitDiffusion, doThetaClimRelax, doSaltClimRelax, |
175 |
|
& periodicExternalForcing, usingPCoords, usingZCoords, |
176 |
|
& openBoundaries |
177 |
LOGICAL usingCartesianGrid |
LOGICAL usingCartesianGrid |
178 |
LOGICAL usingSphericalPolarGrid |
LOGICAL usingSphericalPolarGrid |
179 |
LOGICAL usingSphericalPolarMTerms |
LOGICAL usingSphericalPolarMTerms |
198 |
LOGICAL useBetaPlaneF |
LOGICAL useBetaPlaneF |
199 |
LOGICAL useSphereF |
LOGICAL useSphereF |
200 |
LOGICAL implicitDiffusion |
LOGICAL implicitDiffusion |
201 |
|
LOGICAL doThetaClimRelax |
202 |
|
LOGICAL doSaltClimRelax |
203 |
|
LOGICAL periodicExternalForcing |
204 |
|
LOGICAL usingPCoords |
205 |
|
LOGICAL usingZCoords |
206 |
|
LOGICAL openBoundaries |
207 |
|
|
208 |
C-- COMMON /PARM_R/ "Real" valued parameters used by the model. |
C-- COMMON /PARM_R/ "Real" valued parameters used by the model. |
209 |
C cg2dTargetResidual |
C cg2dTargetResidual |
210 |
C - Target residual for cg2d solver. |
C - Target residual for cg2d solver. |
211 |
|
C cg3dTargetResidual |
212 |
|
C - Target residual for cg3d solver. |
213 |
C cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal. |
C cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal. |
214 |
C Note. 20th May 1998 |
C Note. 20th May 1998 |
215 |
C I made a weird discovery! In the model paper we argue |
C I made a weird discovery! In the model paper we argue |
224 |
C drop form 192 -> 134! Need to investigate this further! |
C drop form 192 -> 134! Need to investigate this further! |
225 |
C For now I have introduced a parameter cg2dpcOffDFac which |
C For now I have introduced a parameter cg2dpcOffDFac which |
226 |
C defaults to 0.51 but can be set at runtime. |
C defaults to 0.51 but can be set at runtime. |
227 |
C delZ - Vertical grid spacing ( m ) - delZ is the distance |
C delP - Vertical grid spacing ( Pa ). |
228 |
C between "w" surfaces. |
C delZ - Vertical grid spacing ( m ). |
229 |
|
C delR - Vertical grid spacing ( units of r ). |
230 |
C delX - Separation between cell faces (m) or (deg), depending |
C delX - Separation between cell faces (m) or (deg), depending |
231 |
C delY on input flags. |
C delY on input flags. |
232 |
C gravity - Accel. due to gravity ( m/s^2 ) |
C gravity - Accel. due to gravity ( m/s^2 ) |
233 |
|
C recip_gravity and its inverse |
234 |
C gBaro - Accel. due to gravity used in barotropic equation ( m/s^2 ) |
C gBaro - Accel. due to gravity used in barotropic equation ( m/s^2 ) |
235 |
C ronil - Reference density |
C ronil - Reference density |
236 |
|
C rhoConst - Vertically constant reference density |
237 |
C startTime - Start time for model ( s ) |
C startTime - Start time for model ( s ) |
238 |
C phiMin - Latitude of southern most cell face. |
C phiMin - Latitude of southern most cell face. |
239 |
C thetaMin - Longitude of western most cell face (this |
C thetaMin - Longitude of western most cell face (this |
240 |
C is an "inert" parameter but it is included |
C is an "inert" parameter but it is included |
241 |
C to make geographical references simple.) |
C to make geographical references simple.) |
242 |
C rSphere - Radius of sphere for a spherical polar grid ( m ). |
C rSphere - Radius of sphere for a spherical polar grid ( m ). |
243 |
C rRSphere - Reciprocal radius of sphere for a spherical polar grid ( m ). |
C recip_RSphere - Reciprocal radius of sphere ( m ). |
244 |
C f0 - Reference coriolis parameter ( 1/s ) |
C f0 - Reference coriolis parameter ( 1/s ) |
245 |
C ( Southern edge f for beta plane ) |
C ( Southern edge f for beta plane ) |
246 |
C beta - df/dy ( s^-1.m^-1 ) |
C beta - df/dy ( s^-1.m^-1 ) |
249 |
C momentum laterally ( m^2/s ) |
C momentum laterally ( m^2/s ) |
250 |
C viscAz - Eddy viscosity coeff. for mixing of |
C viscAz - Eddy viscosity coeff. for mixing of |
251 |
C momentum vertically ( m^2/s ) |
C momentum vertically ( m^2/s ) |
252 |
|
C viscAp - Eddy viscosity coeff. for mixing of |
253 |
|
C momentum vertically ( Pa^2/s ) |
254 |
|
C viscAr - Eddy viscosity coeff. for mixing of |
255 |
|
C momentum vertically ( units of r^2/s ) |
256 |
C viscA4 - Biharmonic viscosity coeff. for mixing of |
C viscA4 - Biharmonic viscosity coeff. for mixing of |
257 |
C momentum laterally ( m^4/s ) |
C momentum laterally ( m^4/s ) |
258 |
C diffKhT - Laplacian diffusion coeff. for mixing of |
C diffKhT - Laplacian diffusion coeff. for mixing of |
259 |
C heat laterally ( m^2/s ) |
C heat laterally ( m^2/s ) |
260 |
C diffKzT - Laplacian diffusion coeff. for mixing of |
C diffKzT - Laplacian diffusion coeff. for mixing of |
261 |
C heat vertically ( m^2/s ) |
C heat vertically ( m^2/s ) |
262 |
|
C diffKpT - Laplacian diffusion coeff. for mixing of |
263 |
|
C heat vertically ( Pa^2/s ) |
264 |
|
C diffKrT - Laplacian diffusion coeff. for mixing of |
265 |
|
C heat vertically ( units of r^2/s ) |
266 |
C diffK4T - Biharmonic diffusion coeff. for mixing of |
C diffK4T - Biharmonic diffusion coeff. for mixing of |
267 |
C heat laterally ( m^4/s ) |
C heat laterally ( m^4/s ) |
268 |
C diffKhS - Laplacian diffusion coeff. for mixing of |
C diffKhS - Laplacian diffusion coeff. for mixing of |
269 |
C salt laterally ( m^2/s ) |
C salt laterally ( m^2/s ) |
270 |
C diffKzS - Laplacian diffusion coeff. for mixing of |
C diffKzS - Laplacian diffusion coeff. for mixing of |
271 |
C salt vertically ( m^2/s ) |
C salt vertically ( m^2/s ) |
272 |
|
C diffKpS - Laplacian diffusion coeff. for mixing of |
273 |
|
C salt vertically ( Pa^2/s ) |
274 |
|
C diffKrS - Laplacian diffusion coeff. for mixing of |
275 |
|
C salt vertically ( units of r^2/s ) |
276 |
C diffK4S - Biharmonic diffusion coeff. for mixing of |
C diffK4S - Biharmonic diffusion coeff. for mixing of |
277 |
C salt laterally ( m^4/s ) |
C salt laterally ( m^4/s ) |
278 |
C deltaT - Default timestep ( s ) |
C deltaT - Default timestep ( s ) |
287 |
C freesurfFac - Parameter to turn implicit free surface term on or off |
C freesurfFac - Parameter to turn implicit free surface term on or off |
288 |
C freesurfac = 1. uses implicit free surface |
C freesurfac = 1. uses implicit free surface |
289 |
C freesurfac = 0. uses rigid lid |
C freesurfac = 0. uses rigid lid |
290 |
C tauCD - CD scheme coupling timescale ( 1/s ) |
C hFacMin - Minimum fraction size of a cell (affects hFacC etc...) |
291 |
C rCD - CD scheme normalised coupling parameter ( 0-1 ) |
C hFacMinDz - Minimum dimesional size of a cell (affects hFacC etc..., m) |
292 |
C GMmaxslope - max. slope allowed in GM/Redi tensor |
C hFacMinDp - Minimum dimesional size of a cell (affects hFacC etc..., Pa) |
293 |
C GMlength - Length to use in Visbeck et al. formula for K (m) |
C hFacMinDr - Minimum dimesional size of a cell (affects hFacC etc..., units of r) |
294 |
C GMalpha - alpha to use in Visbeck et al. formula for K |
C tauCD - CD scheme coupling timescale ( 1/s ) |
295 |
C GMdepth - Depth over which to integrate Richardson # (Visbeck et al.) |
C rCD - CD scheme normalised coupling parameter ( 0-1 ) |
296 |
C GMkbackground - background value of GM/Redi coefficient |
C GMmaxslope - max. slope allowed in GM/Redi tensor |
297 |
C startTime - Starting time for this integration ( s ). |
C GMlength - Length to use in Visbeck et al. formula for K (m) |
298 |
C endTime - Ending time for this integration ( s ). |
C GMalpha - alpha to use in Visbeck et al. formula for K |
299 |
C chkPtFreq - Frequency of rolling check pointing ( s ). |
C GMdepth - Depth over which to integrate Richardson # (Visbeck et al.) |
300 |
C pChkPtFreq - Frequency of permanent check pointing ( s ). |
C GMkbackground - background value of GM/Redi diffusion coefficient ( m^2/s ) |
301 |
C dumpFreq - Frequency with which model state is written to |
C GMmaxval - max. value of KapGM allowed in GM/Redi scheme ( m^2/s ) |
302 |
C post-processing files ( s ). |
C startTime - Starting time for this integration ( s ). |
303 |
C afFacMom - Advection of momentum term scaling parameter |
C endTime - Ending time for this integration ( s ). |
304 |
C vfFacMom - Momentum viscosity scaling parameter |
C chkPtFreq - Frequency of rolling check pointing ( s ). |
305 |
C pfFacMom - Momentum pressure forcing parameter |
C pChkPtFreq - Frequency of permanent check pointing ( s ). |
306 |
C cfFacMom - Coriolis term scaling parameter |
C dumpFreq - Frequency with which model state is written to |
307 |
C foFacMom - Momentum forcing scaling parameter |
C post-processing files ( s ). |
308 |
C mtFacMom - Metric terms scaling parameter |
C afFacMom - Advection of momentum term tracer parameter |
309 |
C cAdjFreq - Frequency of convective adjustment |
C vfFacMom - Momentum viscosity tracer parameter |
310 |
COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac, delZ, delX, delY, |
C pfFacMom - Momentum pressure forcing tracer parameter |
311 |
& deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, phiMin, |
C cfFacMom - Coriolis term tracer parameter |
312 |
& thetaMin, rSphere, rRSphere, f0, fCori, beta, viscAh, viscAz, viscA4, |
C foFacMom - Momentum forcing tracer parameter |
313 |
& diffKhT, diffKzT, diffK4T, diffKhS, diffKzS, diffK4S, delT, |
C mtFacMom - Metric terms tracer parameter |
314 |
& tauCD, rCD, freeSurfFac, |
C cAdjFreq - Frequency of convective adjustment |
315 |
& GMmaxslope,GMlength,GMalpha,GMdepth,GMkbackground, |
C |
316 |
& gravity, gBaro, rhonil, tRef, sRef, |
C taveFreq - Frequency with which time-averaged model state is written to |
317 |
& endTime, chkPtFreq, pchkPtFreq, dumpFreq, |
C post-processing files ( s ). |
318 |
|
C tauThetaClimRelax - Relaxation to climatology time scale ( s ). |
319 |
|
C lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ). |
320 |
|
C tauSaltClimRelax - Relaxation to climatology time scale ( s ). |
321 |
|
C lambdaSaltClimRelax - Inverse time scale for relaxation ( 1/s ). |
322 |
|
C externForcingPeriod - Is the period of which forcing varies (eg. 1 month) |
323 |
|
C externForcingCycle - Is the repeat time of the forcing (eg. 1 year) |
324 |
|
C (note: externForcingCycle must be an integer |
325 |
|
C number times externForcingPeriod) |
326 |
|
C horiVertRatio - Ratio on units in vertical to units in horizontal. |
327 |
|
C recip_horiVertRatio ( 1 if horiz in m and vertical in m ). |
328 |
|
C ( g*rho if horiz in m and vertical in Pa ). |
329 |
|
C latFFTFiltLo - Low latitude for FFT filtering of latitude |
330 |
|
C circles ( see filter*.F ) |
331 |
|
COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac, |
332 |
|
& cg3dTargetResidual, |
333 |
|
& delP, delZ, delR, delX, delY, |
334 |
|
& deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, |
335 |
|
& phiMin, thetaMin, rSphere, recip_RSphere, f0, fCori, beta, |
336 |
|
& viscAh, viscAz, viscA4, viscAr, |
337 |
|
& diffKhT, diffKzT, diffK4T, diffKrT, |
338 |
|
& diffKhS, diffKzS, diffK4S, diffKrS, |
339 |
|
& delT, tauCD, rCD, freeSurfFac, hFacMin, hFacMinDz, |
340 |
|
& GMmaxslope,GMlength,GMalpha,GMdepth,GMkbackground,GMmaxval, |
341 |
|
& gravity, recip_Gravity, gBaro, rhonil, recip_rhonil, |
342 |
|
& recip_rhoConst, rhoConst, tRef, sRef, |
343 |
|
& endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq, |
344 |
& afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom, |
& afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom, |
345 |
& cAdjFreq, omega |
& cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax, |
346 |
|
& tauSaltClimRelax, lambdaSaltClimRelax, |
347 |
|
& externForcingCycle, externForcingPeriod, |
348 |
|
& viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp, |
349 |
|
& theta_S, specVol_S, horiVertRatio, recip_horiVertRatio, |
350 |
|
& latFFTFiltLo |
351 |
|
|
352 |
_RL cg2dTargetResidual |
_RL cg2dTargetResidual |
353 |
|
_RL cg3dTargetResidual |
354 |
_RL cg2dpcOffDFac |
_RL cg2dpcOffDFac |
355 |
_RL delZ(Nz) |
_RL delZ(Nr) |
356 |
|
_RL delP(Nr) |
357 |
|
_RL delR(Nr) |
358 |
_RL delX(Nx) |
_RL delX(Nx) |
359 |
_RL delY(Ny) |
_RL delY(Ny) |
360 |
_RL deltaT |
_RL deltaT |
365 |
_RL phiMin |
_RL phiMin |
366 |
_RL thetaMin |
_RL thetaMin |
367 |
_RL rSphere |
_RL rSphere |
368 |
_RL rRSphere |
_RL recip_RSphere |
369 |
_RL f0 |
_RL f0 |
370 |
_RL freeSurfFac |
_RL freeSurfFac |
371 |
|
_RL hFacMin |
372 |
|
_RL hFacMinDz |
373 |
|
_RL hFacMinDp |
374 |
|
_RL hFacMinDr |
375 |
_RL beta |
_RL beta |
376 |
_RL viscAh |
_RL viscAh |
377 |
_RL viscAz |
_RL viscAz |
378 |
|
_RL viscAp |
379 |
|
_RL viscAr |
380 |
_RL viscA4 |
_RL viscA4 |
381 |
_RL diffKhT |
_RL diffKhT |
382 |
|
_RL diffKrT |
383 |
_RL diffKzT |
_RL diffKzT |
384 |
|
_RL diffKpT |
385 |
_RL diffK4T |
_RL diffK4T |
386 |
_RL diffKhS |
_RL diffKhS |
387 |
|
_RL diffKrS |
388 |
_RL diffKzS |
_RL diffKzS |
389 |
|
_RL diffKpS |
390 |
_RL diffK4S |
_RL diffK4S |
391 |
_RL delt |
_RL delt |
392 |
_RL tauCD |
_RL tauCD |
396 |
_RL GMalpha |
_RL GMalpha |
397 |
_RL GMdepth |
_RL GMdepth |
398 |
_RL GMkbackground |
_RL GMkbackground |
399 |
|
_RL GMmaxval |
400 |
_RL gravity |
_RL gravity |
401 |
|
_RL recip_gravity |
402 |
_RL gBaro |
_RL gBaro |
403 |
_RL rhonil |
_RL rhonil |
404 |
_RL tRef(Nz) |
_RL recip_rhonil |
405 |
_RL sRef(Nz) |
_RL rhoConst |
406 |
|
_RL recip_rhoConst |
407 |
|
_RL specVol_S(Nr) |
408 |
|
_RL tRef(Nr) |
409 |
|
_RL theta_S(Nr) |
410 |
|
_RL sRef(Nr) |
411 |
_RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
_RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
412 |
_RL startTime |
_RL startTime |
413 |
_RL endTime |
_RL endTime |
414 |
_RL chkPtFreq |
_RL chkPtFreq |
415 |
_RL pChkPtFreq |
_RL pChkPtFreq |
416 |
_RL dumpFreq |
_RL dumpFreq |
417 |
|
_RL taveFreq |
418 |
_RL afFacMom |
_RL afFacMom |
419 |
_RL vfFacMom |
_RL vfFacMom |
420 |
_RL pfFacMom |
_RL pfFacMom |
423 |
_RL mTFacMom |
_RL mTFacMom |
424 |
_RL cAdjFreq |
_RL cAdjFreq |
425 |
_RL omega |
_RL omega |
426 |
|
_RL tauThetaClimRelax |
427 |
|
_RL lambdaThetaClimRelax |
428 |
|
_RL tauSaltClimRelax |
429 |
|
_RL lambdaSaltClimRelax |
430 |
|
_RL externForcingCycle |
431 |
|
_RL externForcingPeriod |
432 |
|
_RL horiVertRatio |
433 |
|
_RL recip_horiVertRatio |
434 |
|
_RL latFFTFiltLo |
435 |
|
|
436 |
COMMON /PARM_A/ HeatCapacity_Cp, |
COMMON /PARM_A/ HeatCapacity_Cp, |
437 |
& Lamba_theta |
& Lamba_theta |
440 |
|
|
441 |
C Equation of State (polynomial coeffients) |
C Equation of State (polynomial coeffients) |
442 |
COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS |
COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS |
443 |
_RL eosC(9,Nz+1),eosSig0(Nz+1),eosRefT(Nz+1),eosRefS(Nz+1) |
_RL eosC(9,Nr+1),eosSig0(Nr+1),eosRefT(Nr+1),eosRefS(Nr+1) |
444 |
C Linear equation of state |
C Linear equation of state |
445 |
C tAlpha - Linear EOS thermal expansion coefficient ( 1/degree ). |
C tAlpha - Linear EOS thermal expansion coefficient ( 1/degree ). |
446 |
C sBeta - Linear EOS haline contraction coefficient. |
C sBeta - Linear EOS haline contraction coefficient. |
449 |
_RL sBeta |
_RL sBeta |
450 |
character*(6) eosType |
character*(6) eosType |
451 |
|
|
452 |
|
C These are input arrays (of integers) that contain the *absolute* |
453 |
|
C computational index of an open-boundary (OB) point. |
454 |
|
C A zero (0) element means there is no corresponding OB in that column/row. |
455 |
|
C The computational coordinate refers to "tracer" cells. |
456 |
|
C For a northern/southern OB, the OB V point is to the south/north. |
457 |
|
C For an eastern/western OB, the OB U point is to the west/east. |
458 |
|
C eg. |
459 |
|
C OB_Jnorth(3)=34 means that: |
460 |
|
C T( 3 ,34) is a an OB point |
461 |
|
C U(3:4,34) is a an OB point |
462 |
|
C V( 4 ,34) is a an OB point |
463 |
|
C while |
464 |
|
C OB_Jsouth(3)=1 means that: |
465 |
|
C T( 3 ,1) is a an OB point |
466 |
|
C U(3:4,1) is a an OB point |
467 |
|
C V( 4 ,2) is a an OB point |
468 |
|
C |
469 |
|
C For convenience, negative values for Jnorth/Ieast refer to |
470 |
|
C points relative to the Northern/Eastern edges of the model |
471 |
|
C eg. OB_Jnorth(3)=-1 means that the point (3,Ny-1) is a northern O-B. |
472 |
|
C |
473 |
|
COMMON /PARM_OB/ |
474 |
|
& OB_Jnorth,OB_Jsouth,OB_Ieast,OB_Iwest |
475 |
|
INTEGER OB_Jnorth(Nx) |
476 |
|
INTEGER OB_Jsouth(Nx) |
477 |
|
INTEGER OB_Ieast(Ny) |
478 |
|
INTEGER OB_Iwest(Ny) |