/[MITgcm]/MITgcm/model/inc/PARAMS.h
ViewVC logotype

Diff of /MITgcm/model/inc/PARAMS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.18 by cnh, Mon Jun 15 05:13:55 1998 UTC revision 1.50 by heimbach, Sun Mar 25 22:33:52 2001 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2    C $Name$
3  C  C
4  C     /==========================================================\  C     /==========================================================\
5  C     | PARAMS.h                                                 |  C     | PARAMS.h                                                 |
6  C     | o Header file defining model "parameters".               |  C     | o Header file defining model "parameters".               |
7  C     |==========================================================|  C     |==========================================================|
8  C     | The values from the model's standard input file are      |  C     | The values from the model standard input file are        |
9  C     | stored into the variables held here. Notes describing    |  C     | stored into the variables held here. Notes describing    |
10  C     | the parameters can also be found here.                   |  C     | the parameters can also be found here.                   |
11  C     \==========================================================/  C     \==========================================================/
# Line 23  C     Symbolic values Line 24  C     Symbolic values
24  C     precXXXX - Used to indicate what precision to use for  C     precXXXX - Used to indicate what precision to use for
25  C                dumping model state.  C                dumping model state.
26        INTEGER precFloat32        INTEGER precFloat32
27        PARAMETER ( precFloat32 = 0 )        PARAMETER ( precFloat32 = 32 )
28        INTEGER precFloat64        INTEGER precFloat64
29        PARAMETER ( precFloat64 = 1 )        PARAMETER ( precFloat64 = 64 )
30    C     UNSET_xxx - Used to indicate variables that have not been given a value
31          Real*8 UNSET_FLOAT8
32          PARAMETER ( UNSET_FLOAT8 = 1.234567D5 )
33          Real*4 UNSET_FLOAT4
34          PARAMETER ( UNSET_FLOAT4 = 1.234567E5 )
35          _RL    UNSET_RL    
36          PARAMETER ( UNSET_RL     = 1.234567D5 )
37          _RS    UNSET_RS    
38          PARAMETER ( UNSET_RS     = 1.234567E5 )
39          INTEGER UNSET_I
40          PARAMETER ( UNSET_I      = 123456789  )
41    
42  C     Checkpoint data  C     Checkpoint data
43        INTEGER maxNoChkptLev        INTEGER maxNoChkptLev
# Line 44  C     thetaClimFile   - File containing Line 56  C     thetaClimFile   - File containing
56  C                       in relaxation term -lambda(theta-theta*)  C                       in relaxation term -lambda(theta-theta*)
57  C     saltClimFile    - File containing salt climataology used  C     saltClimFile    - File containing salt climataology used
58  C                       in relaxation term -lambda(salt-salt*)  C                       in relaxation term -lambda(salt-salt*)
59    C     surfQfile       - File containing surface heat flux
60    C     surfQswfile     - File containing surface shortwave radiation
61    C     dQdTfile        - File containing thermal relaxation coefficient
62    C     EmPmRfile       - File containing surface fresh water flux
63    C     buoyancyRelation - Flag used to indicate which relation to use to
64    C                        get buoyancy.
65        COMMON /PARM_C/ checkPtSuff,        COMMON /PARM_C/ checkPtSuff,
66       &                bathyFile, hydrogThetaFile, hydrogSaltFile,       &                bathyFile, hydrogThetaFile, hydrogSaltFile,
67       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
68       &                saltClimFile       &                saltClimFile, buoyancyRelation,
69         &                EmPmRfile, surfQfile, surfQswfile,
70         &                uVelInitFile, vVelInitFile, pSurfInitFile,
71         &                dQdTfile
72        CHARACTER*(5) checkPtSuff(maxNoChkptLev)        CHARACTER*(5) checkPtSuff(maxNoChkptLev)
73        CHARACTER*(MAX_LEN_FNAM) bathyFile        CHARACTER*(MAX_LEN_FNAM) bathyFile
74        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile
# Line 56  C                       in relaxation te Line 77  C                       in relaxation te
77        CHARACTER*(MAX_LEN_FNAM) meridWindFile        CHARACTER*(MAX_LEN_FNAM) meridWindFile
78        CHARACTER*(MAX_LEN_FNAM) thetaClimFile        CHARACTER*(MAX_LEN_FNAM) thetaClimFile
79        CHARACTER*(MAX_LEN_FNAM) saltClimFile        CHARACTER*(MAX_LEN_FNAM) saltClimFile
80          CHARACTER*(MAX_LEN_FNAM) surfQfile
81          CHARACTER*(MAX_LEN_FNAM) surfQswfile
82          CHARACTER*(MAX_LEN_FNAM) EmPmRfile
83          CHARACTER*(MAX_LEN_FNAM) buoyancyRelation
84          CHARACTER*(MAX_LEN_FNAM) uVelInitFile
85          CHARACTER*(MAX_LEN_FNAM) vVelInitFile
86          CHARACTER*(MAX_LEN_FNAM) pSurfInitFile
87          CHARACTER*(MAX_LEN_FNAM) dQdTfile
88    
89  C--   COMMON /PARM_I/ Integer valued parameters used by the model.  C--   COMMON /PARM_I/ Integer valued parameters used by the model.
90  C     cg2dMaxIters        - Maximum number of iterations in the  C     cg2dMaxIters        - Maximum number of iterations in the
91  C                           two-dimensional con. grad solver.  C                           two-dimensional con. grad solver.
92  C     cg2dChkResFreq      - Frequency with which to check residual  C     cg2dChkResFreq      - Frequency with which to check residual
93  C                           in con. grad solver.  C                           in con. grad solver.
94    C     cg3dMaxIters        - Maximum number of iterations in the
95    C                           three-dimensional con. grad solver.
96    C     cg3dChkResFreq      - Frequency with which to check residual
97    C                           in con. grad solver.
98  C     nIter0              - Start time-step number of for this run  C     nIter0              - Start time-step number of for this run
99  C     nTimeSteps          - Number of timesteps to execute  C     nTimeSteps          - Number of timesteps to execute
100  C     numStepsPerPickup   - For offline setup. Frequency of pickup  C     numStepsPerPickup   - For offline setup. Frequency of pickup
# Line 70  C     writeStatePrec      - Precision us Line 103  C     writeStatePrec      - Precision us
103  C     writeBinaryPrec     - Precision used for writing binary files  C     writeBinaryPrec     - Precision used for writing binary files
104  C     readBinaryPrec      - Precision used for reading binary files  C     readBinaryPrec      - Precision used for reading binary files
105  C     nCheckLev           - Holds current checkpoint level  C     nCheckLev           - Holds current checkpoint level
106    C     nShap               - "Order" of shapiro filter to apply to
107    C                           model prognositic fields.
108    C                           nShap == 1 => del2
109    C                           nShap == 2 => del4
110    C                           nShap == 3 => del6
111    C                           etc...
112    
113        COMMON /PARM_I/        COMMON /PARM_I/
114       &        cg2dMaxIters,       &        cg2dMaxIters,
115       &        cg2dChkResFreq,       &        cg2dChkResFreq,
116       &        nIter0, nTimeSteps,       &        cg3dMaxIters,
117         &        cg3dChkResFreq,
118         &        nIter0, nTimeSteps, nEndIter,
119       &        numStepsPerPickup,       &        numStepsPerPickup,
120       &        writeStatePrec, nCheckLev,       &        writeStatePrec, nCheckLev,
121       &        writeBinaryPrec, readBinaryPrec       &        writeBinaryPrec, readBinaryPrec,
122         &        nShap, zonal_filt_sinpow, zonal_filt_cospow
123        INTEGER cg2dMaxIters        INTEGER cg2dMaxIters
124        INTEGER cg2dChkResFreq        INTEGER cg2dChkResFreq
125          INTEGER cg3dMaxIters
126          INTEGER cg3dChkResFreq
127        INTEGER nIter0        INTEGER nIter0
128        INTEGER nTimeSteps        INTEGER nTimeSteps
129          INTEGER nEndIter
130        INTEGER numStepsPerPickup        INTEGER numStepsPerPickup
131        INTEGER writeStatePrec        INTEGER writeStatePrec
132        INTEGER writeBinaryPrec        INTEGER writeBinaryPrec
133        INTEGER readBinaryPrec        INTEGER readBinaryPrec
134        INTEGER nCheckLev        INTEGER nCheckLev
135          INTEGER nShap
136          INTEGER zonal_filt_sinpow
137          INTEGER zonal_filt_cospow
138    
139  C--   COMMON /PARM_L/ Logical valued parameters used by the model.  C--   COMMON /PARM_L/ Logical valued parameters used by the model.
140  C     usingCartesianGrid - If TRUE grid generation will be in a cartesian  C     usingCartesianGrid - If TRUE grid generation will be in a cartesian
141  C                          coordinate frame.  C                          coordinate frame.
142  C     usingSphericalPolarGrid - If TRUE grid generation will be in a  C     usingSphericalPolarGrid - If TRUE grid generation will be in a
143  C                               spherical polar frame.  C                               spherical polar frame.
144    C     no_slip_sides - Impose "no-slip" at lateral boundaries.
145    C     no_slip_bottom- Impose "no-slip" at bottom boundary.
146    C     staggerTimeStep - enable a Stagger time stepping T,S Rho then U,V
147  C     momViscosity  - Flag which turns momentum friction terms on and off.  C     momViscosity  - Flag which turns momentum friction terms on and off.
148  C     momAdvection  - Flag which turns advection of momentum on and off.  C     momAdvection  - Flag which turns advection of momentum on and off.
149  C     momForcing    - Flag which turns external forcing of momentum on  C     momForcing    - Flag which turns external forcing of momentum on
# Line 122  C     useConstantF  - Coriolis parameter Line 174  C     useConstantF  - Coriolis parameter
174  C     useBetaPlaneF - Coriolis parameter set to f0 + beta.y  C     useBetaPlaneF - Coriolis parameter set to f0 + beta.y
175  C     useSphereF    - Coriolis parameter set to 2.omega.sin(phi)  C     useSphereF    - Coriolis parameter set to 2.omega.sin(phi)
176  C     implicitDiffusion - Turns implicit vertical diffusion on  C     implicitDiffusion - Turns implicit vertical diffusion on
177    C     implicitViscosity - Turns implicit vertical viscosity on
178  C     doThetaClimRelax - Set true if relaxation to temperature  C     doThetaClimRelax - Set true if relaxation to temperature
179  C                        climatology is required.  C                        climatology is required.
180  C     doSaltClimRelax  - Set true if relaxation to salinity  C     doSaltClimRelax  - Set true if relaxation to salinity
181  C                        climatology is required.  C                        climatology is required.
182    C     periodicExternalForcing - Set true if forcing is time-dependant
183    C     usingPCoords     - Set to indicate that we are working in pressure
184    C                        coords.
185    C     usingZCoords     - Set to indicate that we are working in height
186    C                        coords.
187    C     nonHydrostatic - Using non-hydrostatic terms
188    C     globalFiles    - Selects between "global" and "tiled" files
189    C     allowFreezing  - Allows water to freeze and form ice
190    C     groundAtK1  - put the surface(k=1) at the Lower Boundary (=ground)
191        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
192       & momViscosity, momAdvection, momForcing, useCoriolis, momPressureForcing,       & no_slip_sides,no_slip_bottom,
193       & tempDiffusion, tempAdvection, tempForcing,       & staggerTimeStep,
194         & momViscosity, momAdvection, momForcing, useCoriolis,
195         & momPressureForcing,tempDiffusion, tempAdvection, tempForcing,
196       & saltDiffusion, saltAdvection, saltForcing,       & saltDiffusion, saltAdvection, saltForcing,
197       & implicitFreeSurface, rigidLid,       & implicitFreeSurface, rigidLid,
198       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
199       & metricTerms, usingSphericalPolarMTerms,       & metricTerms, usingSphericalPolarMTerms,
200       & useConstantF, useBetaPlaneF, useSphereF,       & useConstantF, useBetaPlaneF, useSphereF,
201       & implicitDiffusion, doThetaClimRelax, doSaltClimRelax       & implicitDiffusion, implicitViscosity,
202         & doThetaClimRelax, doSaltClimRelax,
203         & periodicExternalForcing, usingPCoords, usingZCoords,
204         & nonHydrostatic, globalFiles,
205         & allowFreezing, groundAtK1
206        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
207        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
208        LOGICAL usingSphericalPolarMTerms        LOGICAL usingSphericalPolarMTerms
209          LOGICAL no_slip_sides
210          LOGICAL no_slip_bottom
211          LOGICAL staggerTimeStep
212        LOGICAL momViscosity        LOGICAL momViscosity
213        LOGICAL momAdvection        LOGICAL momAdvection
214        LOGICAL momForcing        LOGICAL momForcing
# Line 159  C                        climatology is Line 230  C                        climatology is
230        LOGICAL useBetaPlaneF        LOGICAL useBetaPlaneF
231        LOGICAL useSphereF        LOGICAL useSphereF
232        LOGICAL implicitDiffusion        LOGICAL implicitDiffusion
233          LOGICAL implicitViscosity
234        LOGICAL doThetaClimRelax        LOGICAL doThetaClimRelax
235        LOGICAL doSaltClimRelax        LOGICAL doSaltClimRelax
236          LOGICAL periodicExternalForcing
237          LOGICAL usingPCoords
238          LOGICAL usingZCoords
239          LOGICAL nonHydrostatic
240          LOGICAL globalFiles
241          LOGICAL allowFreezing
242          LOGICAL groundAtK1
243    
244  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
245  C     cg2dTargetResidual  C     cg2dTargetResidual
246  C               - Target residual for cg2d solver.  C               - Target residual for cg2d solver.
247    C     cg3dTargetResidual
248    C               - Target residual for cg3d solver.
249  C     cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal.  C     cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal.
250  C     Note. 20th May 1998  C     Note. 20th May 1998
251  C           I made a weird discovery! In the model paper we argue  C           I made a weird discovery! In the model paper we argue
# Line 179  C           number of iterations for con Line 260  C           number of iterations for con
260  C           drop form 192 -> 134! Need to investigate this further!  C           drop form 192 -> 134! Need to investigate this further!
261  C           For now I have introduced a parameter cg2dpcOffDFac which  C           For now I have introduced a parameter cg2dpcOffDFac which
262  C           defaults to 0.51 but can be set at runtime.  C           defaults to 0.51 but can be set at runtime.
263  C     delZ      - Vertical grid spacing ( m ) - delZ is the distance  C     delP      - Vertical grid spacing ( Pa ).
264  C                 between "w" surfaces.  C     delZ      - Vertical grid spacing ( m  ).
265    C     delR      - Vertical grid spacing ( units of r ).
266  C     delX      - Separation between cell faces (m) or (deg), depending  C     delX      - Separation between cell faces (m) or (deg), depending
267  C     delY        on input flags.  C     delY        on input flags.
268  C     gravity   - Accel. due to gravity ( m/s^2 )  C     gravity   - Accel. due to gravity ( m/s^2 )
269    C     recip_gravity and its inverse
270  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 )
271  C     ronil     - Reference density  C     ronil     - Reference density
272    C     rhoConst  - Vertically constant reference density
273  C     startTime - Start time for model ( s )  C     startTime - Start time for model ( s )
274  C     phiMin    - Latitude of southern most cell face.  C     phiMin    - Latitude of southern most cell face.
275  C     thetaMin  - Longitude of western most cell face (this  C     thetaMin  - Longitude of western most cell face (this
276  C                 is an "inert" parameter but it is included  C                 is an "inert" parameter but it is included
277  C                 to make geographical references simple.)  C                 to make geographical references simple.)
278  C     rSphere   - Radius of sphere for a spherical polar grid ( m ).  C     rSphere   - Radius of sphere for a spherical polar grid ( m ).
279  C     rRSphere  - Reciprocal radius of sphere for a spherical polar grid ( m ).  C     recip_RSphere  - Reciprocal radius of sphere ( m ).
280  C     f0        - Reference coriolis parameter ( 1/s )  C     f0        - Reference coriolis parameter ( 1/s )
281  C                 ( Southern edge f for beta plane )  C                 ( Southern edge f for beta plane )
282  C     beta      - df/dy ( s^-1.m^-1 )  C     beta      - df/dy ( s^-1.m^-1 )
# Line 201  C     viscAh    - Eddy viscosity coeff. Line 285  C     viscAh    - Eddy viscosity coeff.
285  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
286  C     viscAz    - Eddy viscosity coeff. for mixing of  C     viscAz    - Eddy viscosity coeff. for mixing of
287  C                 momentum vertically ( m^2/s )  C                 momentum vertically ( m^2/s )
288    C     viscAp    - Eddy viscosity coeff. for mixing of
289    C                 momentum vertically ( Pa^2/s )
290    C     viscAr    - Eddy viscosity coeff. for mixing of
291    C                 momentum vertically ( units of r^2/s )
292  C     viscA4    - Biharmonic viscosity coeff. for mixing of  C     viscA4    - Biharmonic viscosity coeff. for mixing of
293  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
294  C     diffKhT   - Laplacian diffusion coeff. for mixing of  C     diffKhT   - Laplacian diffusion coeff. for mixing of
295  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
296  C     diffKzT   - Laplacian diffusion coeff. for mixing of  C     diffKzT   - Laplacian diffusion coeff. for mixing of
297  C                 heat vertically ( m^2/s )  C                 heat vertically ( m^2/s )
298    C     diffKpT   - Laplacian diffusion coeff. for mixing of
299    C                 heat vertically ( Pa^2/s )
300    C     diffKrT   - Laplacian diffusion coeff. for mixing of
301    C                 heat vertically ( units of r^2/s )
302  C     diffK4T   - Biharmonic diffusion coeff. for mixing of  C     diffK4T   - Biharmonic diffusion coeff. for mixing of
303  C                 heat laterally ( m^4/s )  C                 heat laterally ( m^4/s )
304  C     diffKhS  -  Laplacian diffusion coeff. for mixing of  C     diffKhS  -  Laplacian diffusion coeff. for mixing of
305  C                 salt laterally ( m^2/s )  C                 salt laterally ( m^2/s )
306  C     diffKzS   - Laplacian diffusion coeff. for mixing of  C     diffKzS   - Laplacian diffusion coeff. for mixing of
307  C                 salt vertically ( m^2/s )  C                 salt vertically ( m^2/s )
308    C     diffKpS   - Laplacian diffusion coeff. for mixing of
309    C                 salt vertically ( Pa^2/s )
310    C     diffKrS   - Laplacian diffusion coeff. for mixing of
311    C                 salt vertically ( units of r^2/s )
312  C     diffK4S   - Biharmonic diffusion coeff. for mixing of  C     diffK4S   - Biharmonic diffusion coeff. for mixing of
313  C                 salt laterally ( m^4/s )  C                 salt laterally ( m^4/s )
314  C     deltaT    - Default timestep ( s )  C     deltaT    - Default timestep ( s )
# Line 227  C     deltaTtracer - Timestep for tracer Line 323  C     deltaTtracer - Timestep for tracer
323  C     freesurfFac  - Parameter to turn implicit free surface term on or off  C     freesurfFac  - Parameter to turn implicit free surface term on or off
324  C                    freesurfac = 1. uses implicit free surface  C                    freesurfac = 1. uses implicit free surface
325  C                    freesurfac = 0. uses rigid lid  C                    freesurfac = 0. uses rigid lid
326  C     tauCD     - CD scheme coupling timescale ( 1/s )  C     implicSurfPress - parameter of the Crank-Nickelson time stepping :
327  C     rCD       - CD scheme normalised coupling parameter ( 0-1 )  C                     Implicit part of Surface Pressure Gradient ( 0-1 )
328  C     GMmaxslope  - max. slope allowed in GM/Redi tensor  C     implicDiv2Dflow - parameter of the Crank-Nickelson time stepping :
329  C     GMlength  - Length to use in Visbeck et al. formula for K (m)  C                     Implicit part of barotropic flow Divergence ( 0-1 )
330  C     GMalpha   - alpha to use in Visbeck et al. formula for K  C     hFacMin      - Minimum fraction size of a cell (affects hFacC etc...)
331  C     GMdepth   - Depth over which to integrate Richardson # (Visbeck et al.)  C     hFacMinDz    - Minimum dimesional size of a cell (affects hFacC etc..., m)
332  C     GMkbackground - background value of GM/Redi coefficient  C     hFacMinDp    - Minimum dimesional size of a cell (affects hFacC etc..., Pa)
333  C     startTime - Starting time for this integration ( s ).  C     hFacMinDr    - Minimum dimesional size of a cell (affects hFacC etc..., units of r)
334  C     endTime   - Ending time for this integration ( s ).  C     tauCD        - CD scheme coupling timescale ( 1/s )
335  C     chkPtFreq  - Frequency of rolling check pointing ( s ).  C     rCD          - CD scheme normalised coupling parameter ( 0-1 )
336  C     pChkPtFreq - Frequency of permanent check pointing ( s ).  C     startTime     - Starting time for this integration ( s ).
337  C     dumpFreq  - Frequency with which model state is written to  C     endTime       - Ending time for this integration ( s ).
338  C                 post-processing files ( s ).  C     chkPtFreq     - Frequency of rolling check pointing ( s ).
339  C     afFacMom  - Advection of momentum term scaling parameter  C     pChkPtFreq    - Frequency of permanent check pointing ( s ).
340  C     vfFacMom  - Momentum viscosity scaling parameter  C     dumpFreq      - Frequency with which model state is written to
341  C     pfFacMom  - Momentum pressure forcing parameter  C                     post-processing files ( s ).
342  C     cfFacMom  - Coriolis term scaling parameter  C     afFacMom      - Advection of momentum term tracer parameter
343  C     foFacMom  - Momentum forcing scaling parameter  C     vfFacMom      - Momentum viscosity tracer parameter
344  C     mtFacMom  - Metric terms scaling parameter  C     pfFacMom      - Momentum pressure forcing tracer parameter
345  C     cAdjFreq  - Frequency of convective adjustment  C     cfFacMom      - Coriolis term tracer parameter
346    C     foFacMom      - Momentum forcing tracer parameter
347    C     mtFacMom      - Metric terms tracer parameter
348    C     cosPower      - Power of cosine of latitude to multiply viscosity
349    C     cAdjFreq      - Frequency of convective adjustment
350    C
351    C     taveFreq      - Frequency with which time-averaged model state is written to
352    C                     post-processing files ( s ).
353  C     tauThetaClimRelax - Relaxation to climatology time scale ( s ).  C     tauThetaClimRelax - Relaxation to climatology time scale ( s ).
354  C     lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ).  C     lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ).
355  C     tauSaltClimRelax - Relaxation to climatology time scale ( s ).  C     tauSaltClimRelax - Relaxation to climatology time scale ( s ).
356  C     lambdaSaltClimRelax - Inverse time scale for relaxation ( 1/s ).  C     lambdaSaltClimRelax - Inverse time scale for relaxation ( 1/s ).
357        COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac, delZ, delX, delY,  C     externForcingPeriod - Is the period of which forcing varies (eg. 1 month)
358       & deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, phiMin,  C     externForcingCycle - Is the repeat time of the forcing (eg. 1 year)
359       & thetaMin, rSphere, rRSphere, f0, fCori, beta, viscAh, viscAz, viscA4,  C                          (note: externForcingCycle must be an integer
360       & diffKhT, diffKzT, diffK4T, diffKhS, diffKzS, diffK4S, delT,  C                           number times externForcingPeriod)
361       & tauCD, rCD, freeSurfFac,  C     horiVertRatio      - Ratio on units in vertical to units in horizontal.
362       & GMmaxslope,GMlength,GMalpha,GMdepth,GMkbackground,  C     recip_horiVertRatio  ( 1 if horiz in m and vertical in m ).
363       & gravity, gBaro, rhonil, tRef, sRef,  C                          ( g*rho if horiz in m and vertical in Pa ).
364       & endTime, chkPtFreq, pchkPtFreq, dumpFreq,  C     latFFTFiltLo       - Low latitude for FFT filtering of latitude
365    C                          circles ( see filter*.F )
366    C     Ro_SeaLevel        - standard position of Sea-Level in "R" coordinate, used as
367    C                          starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)
368    C     bottomDragLinear   - Drag coefficient built in to core dynamics
369    C         "     Quadratic  ( linear: 1/s, quadratic: 1/m )
370          COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac,
371         & cg3dTargetResidual,
372         & delP, delZ, delR, delX, delY,
373         & deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime,
374         & phiMin, thetaMin, rSphere, recip_RSphere, f0, fCori, beta,
375         & viscAh,  viscAz,  viscA4,  viscAr,
376         & diffKhT, diffKzT, diffK4T, diffKrT,
377         & diffKhS, diffKzS, diffK4S, diffKrS,
378         & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,
379         & hFacMin, hFacMinDz,
380         & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
381         & recip_rhoConst, rhoConst, tRef, sRef,
382         & endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq,
383       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
384         & cosPower,
385       & cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax,       & cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax,
386       & tauSaltClimRelax, lambdaSaltClimRelax       & tauSaltClimRelax, lambdaSaltClimRelax,
387         & externForcingCycle, externForcingPeriod,
388         & viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp,
389         & theta_S, specVol_S, horiVertRatio, recip_horiVertRatio,
390         & latFFTFiltLo, ivdc_kappa, Ro_SeaLevel, zonal_filt_lat,
391         & bottomDragLinear,bottomDragQuadratic
392    
393        _RL cg2dTargetResidual        _RL cg2dTargetResidual
394          _RL cg3dTargetResidual
395        _RL cg2dpcOffDFac        _RL cg2dpcOffDFac
396        _RL delZ(Nz)        _RL delZ(Nr)
397          _RL delP(Nr)
398          _RL delR(Nr)
399        _RL delX(Nx)        _RL delX(Nx)
400        _RL delY(Ny)        _RL delY(Ny)
401        _RL deltaT        _RL deltaT
# Line 275  C     lambdaSaltClimRelax - Inverse time Line 406  C     lambdaSaltClimRelax - Inverse time
406        _RL phiMin        _RL phiMin
407        _RL thetaMin        _RL thetaMin
408        _RL rSphere        _RL rSphere
409        _RL rRSphere        _RL recip_RSphere
410        _RL f0        _RL f0
411        _RL freeSurfFac        _RL freeSurfFac
412          _RL implicSurfPress
413          _RL implicDiv2Dflow
414          _RL hFacMin
415          _RL hFacMinDz
416          _RL hFacMinDp
417          _RL hFacMinDr
418        _RL beta        _RL beta
419        _RL viscAh        _RL viscAh
420        _RL viscAz        _RL viscAz
421          _RL viscAp
422          _RL viscAr
423        _RL viscA4        _RL viscA4
424        _RL diffKhT        _RL diffKhT
425          _RL diffKrT
426        _RL diffKzT        _RL diffKzT
427          _RL diffKpT
428        _RL diffK4T        _RL diffK4T
429        _RL diffKhS        _RL diffKhS
430          _RL diffKrS
431        _RL diffKzS        _RL diffKzS
432          _RL diffKpS
433        _RL diffK4S        _RL diffK4S
434        _RL delt        _RL delt
435        _RL tauCD        _RL tauCD
436        _RL rCD        _RL rCD
       _RL GMmaxslope  
       _RL GMlength  
       _RL GMalpha  
       _RL GMdepth  
       _RL GMkbackground  
437        _RL gravity        _RL gravity
438          _RL recip_gravity
439        _RL gBaro        _RL gBaro
440        _RL rhonil        _RL rhonil
441        _RL tRef(Nz)        _RL recip_rhonil
442        _RL sRef(Nz)        _RL rhoConst
443          _RL recip_rhoConst
444          _RL specVol_S(Nr)
445          _RL tRef(Nr)
446          _RL theta_S(Nr)
447          _RL sRef(Nr)
448        _RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
449        _RL startTime        _RL startTime
450        _RL endTime        _RL endTime
451        _RL chkPtFreq        _RL chkPtFreq
452        _RL pChkPtFreq        _RL pChkPtFreq
453        _RL dumpFreq        _RL dumpFreq
454          _RL taveFreq
455        _RL afFacMom        _RL afFacMom
456        _RL vfFacMom        _RL vfFacMom
457        _RL pfFacMom        _RL pfFacMom
458        _RL cfFacMom        _RL cfFacMom
459        _RL foFacMom        _RL foFacMom
460        _RL mTFacMom        _RL mTFacMom
461          _RL cosPower
462        _RL cAdjFreq        _RL cAdjFreq
463        _RL omega        _RL omega
464        _RL tauThetaClimRelax        _RL tauThetaClimRelax
465        _RL lambdaThetaClimRelax        _RL lambdaThetaClimRelax
466        _RL tauSaltClimRelax        _RL tauSaltClimRelax
467        _RL lambdaSaltClimRelax        _RL lambdaSaltClimRelax
468          _RL externForcingCycle
469          _RL externForcingPeriod
470          _RL horiVertRatio
471          _RL recip_horiVertRatio
472          _RL latFFTFiltLo
473          _RL ivdc_kappa
474          _RL Ro_SeaLevel
475          _RL zonal_filt_lat
476          _RL bottomDragLinear
477          _RL bottomDragQuadratic
478    
479        COMMON /PARM_A/ HeatCapacity_Cp,        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp,
480       &                Lamba_theta       &                Lamba_theta
481        _RL HeatCapacity_Cp        _RL HeatCapacity_Cp
482        _RL Lamba_theta        _RL Lamba_theta
483          _RL recip_Cp
484    
485  C Equation of State (polynomial coeffients)  C Equation of State (polynomial coeffients)
486        COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS        COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS
487        _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)
488  C Linear equation of state  C Linear equation of state
489  C     tAlpha    - Linear EOS thermal expansion coefficient ( 1/degree ).  C     tAlpha    - Linear EOS thermal expansion coefficient ( 1/degree ).
490  C     sBeta     - Linear EOS haline contraction coefficient.  C     sBeta     - Linear EOS haline contraction coefficient.
# Line 336  C     sBeta     - Linear EOS haline cont Line 493  C     sBeta     - Linear EOS haline cont
493        _RL sBeta        _RL sBeta
494        character*(6) eosType        character*(6) eosType
495    
496    C Logical flags for selecting packages
497          LOGICAL useKPP
498          LOGICAL useGMRedi
499          LOGICAL useOBCS
500          LOGICAL useAIM
501          LOGICAL useECCO
502          COMMON /PARM_PACKAGES/
503         &        useKPP, useGMRedi, useOBCS, useAIM, useECCO
504    

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.50

  ViewVC Help
Powered by ViewVC 1.1.22