/[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.1 by cnh, Wed Apr 22 19:15:31 1998 UTC revision 1.51 by heimbach, Tue Apr 10 22:35:25 2001 UTC
# Line 1  Line 1 
1  C $Id$  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     \==========================================================/
12    
13    C     Macros for special grid options
14    #include "PARAMS_MACROS.h"
15    
16  C--   Contants  C--   Contants
 C     nOBands - No. of offline data time bands  
       INTEGER nOBands  
       PARAMETER ( nOBands = 12 )  
17  C     Useful physical values  C     Useful physical values
18        Real*8 PI        Real*8 PI
19        PARAMETER ( PI    = 3.14159265358979323844D0   )        PARAMETER ( PI    = 3.14159265358979323844D0   )
20        Real*8 deg2rad        Real*8 deg2rad
21        PARAMETER ( deg2rad = 2.D0*PI/360.D0           )        PARAMETER ( deg2rad = 2.D0*PI/360.D0           )
22    
23    C     Symbolic values
24    C     precXXXX - Used to indicate what precision to use for
25    C                dumping model state.
26          INTEGER precFloat32
27          PARAMETER ( precFloat32 = 32 )
28          INTEGER precFloat64
29          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
43          INTEGER maxNoChkptLev
44          PARAMETER ( maxNoChkptLev = 2 )
45    
46  C--   COMMON /PARM_C/ Character valued parameters used by the model.  C--   COMMON /PARM_C/ Character valued parameters used by the model.
47  C     oBandId  - Offline dataset identifiers for different periods.  C     checkPtSuff - List of checkpoint file suffices
48        COMMON /PARM_C/ oBandId  C     bathyFile   - File containing bathymetry. If not defined bathymetry
49        CHARACTER*3 oBandId(nOBands)  C                   is taken from inline function.
50    C     hydrogThetaFile - File containing initial hydrographic data for potential
51    C                       temperature.
52    C     hydrogSaltFile  - File containing initial hydrographic data for salinity.
53    C     zonalWindFile   - File containing zonal wind data
54    C     meridWindFile   - File containing meridional wind data
55    C     thetaClimFile   - File containing theta climataology used
56    C                       in relaxation term -lambda(theta-theta*)
57    C     saltClimFile    - File containing salt climataology used
58    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,
66         &                bathyFile, hydrogThetaFile, hydrogSaltFile,
67         &                zonalWindFile, meridWindFile, thetaClimFile,
68         &                saltClimFile, buoyancyRelation,
69         &                EmPmRfile, surfQfile, surfQswfile,
70         &                uVelInitFile, vVelInitFile, pSurfInitFile,
71         &                dQdTfile
72          CHARACTER*(5) checkPtSuff(maxNoChkptLev)
73          CHARACTER*(MAX_LEN_FNAM) bathyFile
74          CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile
75          CHARACTER*(MAX_LEN_FNAM) hydrogSaltFile
76          CHARACTER*(MAX_LEN_FNAM) zonalWindFile
77          CHARACTER*(MAX_LEN_FNAM) meridWindFile
78          CHARACTER*(MAX_LEN_FNAM) thetaClimFile
79          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
101  C                           of flow fields.  C                           of flow fields.
102    C     writeStatePrec      - Precision used for writing model state.
103    C     writeBinaryPrec     - Precision used for writing binary files
104    C     readBinaryPrec      - Precision used for reading binary files
105    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       &        numStepsPerPickup       &        cg3dChkResFreq,
118         &        nIter0, nTimeSteps, nEndIter,
119         &        numStepsPerPickup,
120         &        writeStatePrec, nCheckLev,
121         &        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
132          INTEGER writeBinaryPrec
133          INTEGER readBinaryPrec
134          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
150  C                     and off.  C                     and off.
151    C     momPressureForcing - Flag which turns pressure term in momentum equation
152    C                          on and off.
153    C     metricTerms   - Flag which turns metric terms on or off.
154    C     usingSphericalPolarMTerms - If TRUE use spherical polar metric terms.
155  C     useCoriolis   - Flag which turns the coriolis terms on and off.  C     useCoriolis   - Flag which turns the coriolis terms on and off.
156  C     tempDiffusion - Flag which turns diffusion of temperature on  C     tempDiffusion - Flag which turns diffusion of temperature on
157  C                     and off.  C                     and off.
# Line 65  C     saltAdvection - Flag which turns a Line 165  C     saltAdvection - Flag which turns a
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.
168    C     implicitFreeSurface - Set to true to use implcit free surface
169    C     rigidLid            - Set to true to use rigid lid
170    C     momStepping   - Turns momentum equation time-stepping off
171    C     tempStepping  - Turns temperature equation time-stepping off
172    C     saltStepping  - Turns salinity equation time-stepping off
173    C     useConstantF  - Coriolis parameter set to f0
174    C     useBetaPlaneF - Coriolis parameter set to f0 + beta.y
175    C     useSphereF    - Coriolis parameter set to 2.omega.sin(phi)
176    C     implicitDiffusion - Turns implicit vertical diffusion on
177    C     implicitViscosity - Turns implicit vertical viscosity on
178    C     doThetaClimRelax - Set true if relaxation to temperature
179    C                        climatology is required.
180    C     doSaltClimRelax  - Set true if relaxation to salinity
181    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,       & no_slip_sides,no_slip_bottom,
193       & tempDiffusion, tempAdvection, tempForcing,       & staggerTimeStep,
194       & saltDiffusion, saltAdvection, saltForcing       & momViscosity, momAdvection, momForcing, useCoriolis,
195         & momPressureForcing,tempDiffusion, tempAdvection, tempForcing,
196         & saltDiffusion, saltAdvection, saltForcing,
197         & implicitFreeSurface, rigidLid,
198         & momStepping, tempStepping, saltStepping,
199         & metricTerms, usingSphericalPolarMTerms,
200         & useConstantF, useBetaPlaneF, useSphereF,
201         & implicitDiffusion, implicitViscosity,
202         & doThetaClimRelax, doSaltClimRelax,
203         & periodicExternalForcing, usingPCoords, usingZCoords,
204         & nonHydrostatic, globalFiles,
205         & allowFreezing, groundAtK1,
206         & usePickupBeforeC35
207        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
208        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
209          LOGICAL usingSphericalPolarMTerms
210          LOGICAL no_slip_sides
211          LOGICAL no_slip_bottom
212          LOGICAL staggerTimeStep
213        LOGICAL momViscosity        LOGICAL momViscosity
214        LOGICAL momAdvection        LOGICAL momAdvection
215        LOGICAL momForcing        LOGICAL momForcing
216          LOGICAL momPressureForcing
217        LOGICAL useCoriolis        LOGICAL useCoriolis
218        LOGICAL tempDiffusion        LOGICAL tempDiffusion
219        LOGICAL tempAdvection        LOGICAL tempAdvection
# Line 81  C                     and off. Line 221  C                     and off.
221        LOGICAL saltDiffusion        LOGICAL saltDiffusion
222        LOGICAL saltAdvection        LOGICAL saltAdvection
223        LOGICAL saltForcing        LOGICAL saltForcing
224          LOGICAL implicitFreeSurface
225          LOGICAL rigidLid
226          LOGICAL momStepping
227          LOGICAL tempStepping
228          LOGICAL saltStepping
229          LOGICAL metricTerms
230          LOGICAL useConstantF
231          LOGICAL useBetaPlaneF
232          LOGICAL useSphereF
233          LOGICAL implicitDiffusion
234          LOGICAL implicitViscosity
235          LOGICAL doThetaClimRelax
236          LOGICAL doSaltClimRelax
237          LOGICAL periodicExternalForcing
238          LOGICAL usingPCoords
239          LOGICAL usingZCoords
240          LOGICAL nonHydrostatic
241          LOGICAL globalFiles
242          LOGICAL allowFreezing
243          LOGICAL groundAtK1
244          LOGICAL usePickupBeforeC35
245    
246  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
247  C     cg2dTargetResidual  C     cg2dTargetResidual
248  C               - Target residual for cg2d solver.  C               - Target residual for cg2d solver.
249  C     delZ      - Vertical grid spacing (Pa) - delZ is the distance  C     cg3dTargetResidual
250  C                 between "w" surfaces.  C               - Target residual for cg3d solver.
251    C     cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal.
252    C     Note. 20th May 1998
253    C           I made a weird discovery! In the model paper we argue
254    C           for the form of the preconditioner used here ( see
255    C           A Finite-volume, Incompressible Navier-Stokes Model
256    C           ...., Marshall et. al ). The algebra gives a simple
257    C           0.5 factor for the averaging of ac and aCw to get a
258    C           symmettric pre-conditioner. By using a factor of 0.51
259    C           i.e. scaling the off-diagonal terms in the
260    C           preconditioner down slightly I managed to get the
261    C           number of iterations for convergence in a test case to
262    C           drop form 192 -> 134! Need to investigate this further!
263    C           For now I have introduced a parameter cg2dpcOffDFac which
264    C           defaults to 0.51 but can be set at runtime.
265    C     delP      - Vertical grid spacing ( Pa ).
266    C     delZ      - Vertical grid spacing ( m  ).
267    C     delR      - Vertical grid spacing ( units of r ).
268  C     delX      - Separation between cell faces (m) or (deg), depending  C     delX      - Separation between cell faces (m) or (deg), depending
269  C     delY        on input flags.  C     delY        on input flags.
270  C     gravity   - Accel. due to gravity ( m/s^2 )  C     gravity   - Accel. due to gravity ( m/s^2 )
271    C     recip_gravity and its inverse
272    C     gBaro     - Accel. due to gravity used in barotropic equation ( m/s^2 )
273  C     ronil     - Reference density  C     ronil     - Reference density
274  C     startTime - Start time for model  C     rhoConst  - Vertically constant reference density
275  C     oBandBeg  - Offline bands start and end times.  C     startTime - Start time for model ( s )
 C     oBandEnd  
 C     oPeriodLength - Lenght of offline period.  
276  C     phiMin    - Latitude of southern most cell face.  C     phiMin    - Latitude of southern most cell face.
277  C     thetaMin  - Longitude of western most cell face (this  C     thetaMin  - Longitude of western most cell face (this
278  C                 is an "inert" parameter but it is included  C                 is an "inert" parameter but it is included
279  C                 to make geographical references simple.)  C                 to make geographical references simple.)
280  C     rSphere   - Radius of sphere for a spherical polar grid.  C     rSphere   - Radius of sphere for a spherical polar grid ( m ).
281    C     recip_RSphere  - Reciprocal radius of sphere ( m ).
282  C     f0        - Reference coriolis parameter ( 1/s )  C     f0        - Reference coriolis parameter ( 1/s )
283  C                 ( Southern edge f for beta plane )  C                 ( Southern edge f for beta plane )
284  C     beta      - df/dy ( s^-1.m^-1 )  C     beta      - df/dy ( s^-1.m^-1 )
285    C     omega     - Angular velocity ( rad/s )
286  C     viscAh    - Eddy viscosity coeff. for mixing of  C     viscAh    - Eddy viscosity coeff. for mixing of
287  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
288  C     viscAz    - Eddy viscosity coeff. for mixing of  C     viscAz    - Eddy viscosity coeff. for mixing of
289  C                 momentum vertically ( m^2/s )  C                 momentum vertically ( m^2/s )
290    C     viscAp    - Eddy viscosity coeff. for mixing of
291    C                 momentum vertically ( Pa^2/s )
292    C     viscAr    - Eddy viscosity coeff. for mixing of
293    C                 momentum vertically ( units of r^2/s )
294  C     viscA4    - Biharmonic viscosity coeff. for mixing of  C     viscA4    - Biharmonic viscosity coeff. for mixing of
295  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
296  C     diffKhT   - Laplacian diffusion coeff. for mixing of  C     diffKhT   - Laplacian diffusion coeff. for mixing of
297  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
298  C     diffKzT   - Laplacian diffusion coeff. for mixing of  C     diffKzT   - Laplacian diffusion coeff. for mixing of
299  C                 heat vertically ( m^2/s )  C                 heat vertically ( m^2/s )
300    C     diffKpT   - Laplacian diffusion coeff. for mixing of
301    C                 heat vertically ( Pa^2/s )
302    C     diffKrT   - Laplacian diffusion coeff. for mixing of
303    C                 heat vertically ( units of r^2/s )
304  C     diffK4T   - Biharmonic diffusion coeff. for mixing of  C     diffK4T   - Biharmonic diffusion coeff. for mixing of
305  C                 heat laterally ( m^4/s )  C                 heat laterally ( m^4/s )
306  C     diffKhS  -  Laplacian diffusion coeff. for mixing of  C     diffKhS  -  Laplacian diffusion coeff. for mixing of
307  C                 salt laterally ( m^2/s )  C                 salt laterally ( m^2/s )
308  C     diffKzS   - Laplacian diffusion coeff. for mixing of  C     diffKzS   - Laplacian diffusion coeff. for mixing of
309  C                 salt vertically ( m^2/s )  C                 salt vertically ( m^2/s )
310    C     diffKpS   - Laplacian diffusion coeff. for mixing of
311    C                 salt vertically ( Pa^2/s )
312    C     diffKrS   - Laplacian diffusion coeff. for mixing of
313    C                 salt vertically ( units of r^2/s )
314  C     diffK4S   - Biharmonic diffusion coeff. for mixing of  C     diffK4S   - Biharmonic diffusion coeff. for mixing of
315  C                 salt laterally ( m^4/s )  C                 salt laterally ( m^4/s )
316  C     delt      - Timestep ( s )  C     deltaT    - Default timestep ( s )
317  C     tauCD     - CD scheme coupling timescale ( 1/s )  C     deltaTClock  - Timestep used as model "clock". This determines the
318  C     rCD       - CD scheme normalised coupling parameter ( 0-1 )  C                    IO frequencies and is used in tagging output. It can
319  C     startTime - Starting time for this integration ( s ).  C                    be totally different to the dynamical time. Typically
320  C     endTime   - Ending time for this integration ( s ).  C                    it will be the deep-water timestep for accelerated runs.
321  C     chkPtFreq - Frequency of check pointing ( s ).  C                    Frequency of checkpointing and dumping of the model state
322  C     dumpFreq  - Frequency with which model state is written to  C                    are referenced to this clock. ( s )
323  C                 post-processing files ( s ).  C     deltaTMom    - Timestep for momemtum equations ( s )
324        COMMON /PARM_R/ cg2dTargetResidual, delZ, delX, delY,  C     deltaTtracer - Timestep for tracer equations ( s )
325       & deltaTmom, deltaTtracer, abeps, startTime, oBandBeg, oBandEnd,  C     freesurfFac  - Parameter to turn implicit free surface term on or off
326       & oPeriodLength, phiMin, thetaMin, rSphere, f0, fCori, beta,  C                    freesurfac = 1. uses implicit free surface
327       & viscAh, viscAz, viscA4, diffKhT, diffKzT, diffK4T,  C                    freesurfac = 0. uses rigid lid
328       & diffKhS, diffKzS, diffK4S, delT, tauCD, rCD,  C     implicSurfPress - parameter of the Crank-Nickelson time stepping :
329       & tAlpha, sBeta, gravity, rhonil, tRef, sRef,  C                     Implicit part of Surface Pressure Gradient ( 0-1 )
330       & endTime, chkPtFreq, dumpFreq  C     implicDiv2Dflow - parameter of the Crank-Nickelson time stepping :
331        REAL cg2dTargetResidual  C                     Implicit part of barotropic flow Divergence ( 0-1 )
332        REAL delZ(Nz)  C     hFacMin      - Minimum fraction size of a cell (affects hFacC etc...)
333        REAL delX(Nx)  C     hFacMinDz    - Minimum dimesional size of a cell (affects hFacC etc..., m)
334        REAL delY(Ny)  C     hFacMinDp    - Minimum dimesional size of a cell (affects hFacC etc..., Pa)
335        REAL deltaTmom  C     hFacMinDr    - Minimum dimesional size of a cell (affects hFacC etc..., units of r)
336        REAL deltaTtracer  C     tauCD        - CD scheme coupling timescale ( 1/s )
337        REAL abeps  C     rCD          - CD scheme normalised coupling parameter ( 0-1 )
338        REAL oBandBeg(nOBands),oBandEnd(nOBands)  C     startTime     - Starting time for this integration ( s ).
339        REAL oPeriodLength  C     endTime       - Ending time for this integration ( s ).
340        REAL phiMin  C     chkPtFreq     - Frequency of rolling check pointing ( s ).
341        REAL thetaMin  C     pChkPtFreq    - Frequency of permanent check pointing ( s ).
342        REAL rSphere  C     dumpFreq      - Frequency with which model state is written to
343        REAL f0  C                     post-processing files ( s ).
344        _RL  beta  C     afFacMom      - Advection of momentum term tracer parameter
345        REAL viscAh  C     vfFacMom      - Momentum viscosity tracer parameter
346        REAL viscAz  C     pfFacMom      - Momentum pressure forcing tracer parameter
347        REAL viscA4  C     cfFacMom      - Coriolis term tracer parameter
348        REAL diffKhT  C     foFacMom      - Momentum forcing tracer parameter
349        REAL diffKzT  C     mtFacMom      - Metric terms tracer parameter
350        REAL diffK4T  C     cosPower      - Power of cosine of latitude to multiply viscosity
351        REAL diffKhS  C     cAdjFreq      - Frequency of convective adjustment
352        REAL diffKzS  C
353        REAL diffK4S  C     taveFreq      - Frequency with which time-averaged model state is written to
354        REAL delt  C                     post-processing files ( s ).
355        REAL tauCD  C     tauThetaClimRelax - Relaxation to climatology time scale ( s ).
356        REAL rCD  C     lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ).
357        REAL tAlpha  C     tauSaltClimRelax - Relaxation to climatology time scale ( s ).
358        REAL sBeta  C     lambdaSaltClimRelax - Inverse time scale for relaxation ( 1/s ).
359        REAL gravity  C     externForcingPeriod - Is the period of which forcing varies (eg. 1 month)
360        REAL rhonil  C     externForcingCycle - Is the repeat time of the forcing (eg. 1 year)
361        REAL tRef(Nz)  C                          (note: externForcingCycle must be an integer
362        REAL sRef(Nz)  C                           number times externForcingPeriod)
363        real Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  C     horiVertRatio      - Ratio on units in vertical to units in horizontal.
364        REAL startTime  C     recip_horiVertRatio  ( 1 if horiz in m and vertical in m ).
365        REAL endTime  C                          ( g*rho if horiz in m and vertical in Pa ).
366        REAL chkPtFreq  C     latFFTFiltLo       - Low latitude for FFT filtering of latitude
367        REAL dumpFreq  C                          circles ( see filter*.F )
368        COMMON /PARM_A/ HeatCapacity_Cp,  C     Ro_SeaLevel        - standard position of Sea-Level in "R" coordinate, used as
369    C                          starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)
370    C     bottomDragLinear   - Drag coefficient built in to core dynamics
371    C         "     Quadratic  ( linear: 1/s, quadratic: 1/m )
372          COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac,
373         & cg3dTargetResidual,
374         & delP, delZ, delR, delX, delY,
375         & deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime,
376         & phiMin, thetaMin, rSphere, recip_RSphere, f0, fCori, beta,
377         & viscAh,  viscAz,  viscA4,  viscAr,
378         & diffKhT, diffKzT, diffK4T, diffKrT,
379         & diffKhS, diffKzS, diffK4S, diffKrS,
380         & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,
381         & hFacMin, hFacMinDz,
382         & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
383         & recip_rhoConst, rhoConst, tRef, sRef,
384         & endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq,
385         & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
386         & cosPower,
387         & cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax,
388         & tauSaltClimRelax, lambdaSaltClimRelax,
389         & externForcingCycle, externForcingPeriod,
390         & viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp,
391         & theta_S, specVol_S, horiVertRatio, recip_horiVertRatio,
392         & latFFTFiltLo, ivdc_kappa, Ro_SeaLevel, zonal_filt_lat,
393         & bottomDragLinear,bottomDragQuadratic
394    
395          _RL cg2dTargetResidual
396          _RL cg3dTargetResidual
397          _RL cg2dpcOffDFac
398          _RL delZ(Nr)
399          _RL delP(Nr)
400          _RL delR(Nr)
401          _RL delX(Nx)
402          _RL delY(Ny)
403          _RL deltaT
404          _RL deltaTClock
405          _RL deltaTmom
406          _RL deltaTtracer
407          _RL abeps
408          _RL phiMin
409          _RL thetaMin
410          _RL rSphere
411          _RL recip_RSphere
412          _RL f0
413          _RL freeSurfFac
414          _RL implicSurfPress
415          _RL implicDiv2Dflow
416          _RL hFacMin
417          _RL hFacMinDz
418          _RL hFacMinDp
419          _RL hFacMinDr
420          _RL beta
421          _RL viscAh
422          _RL viscAz
423          _RL viscAp
424          _RL viscAr
425          _RL viscA4
426          _RL diffKhT
427          _RL diffKrT
428          _RL diffKzT
429          _RL diffKpT
430          _RL diffK4T
431          _RL diffKhS
432          _RL diffKrS
433          _RL diffKzS
434          _RL diffKpS
435          _RL diffK4S
436          _RL delt
437          _RL tauCD
438          _RL rCD
439          _RL gravity
440          _RL recip_gravity
441          _RL gBaro
442          _RL rhonil
443          _RL recip_rhonil
444          _RL rhoConst
445          _RL recip_rhoConst
446          _RL specVol_S(Nr)
447          _RL tRef(Nr)
448          _RL theta_S(Nr)
449          _RL sRef(Nr)
450          _RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
451          _RL startTime
452          _RL endTime
453          _RL chkPtFreq
454          _RL pChkPtFreq
455          _RL dumpFreq
456          _RL taveFreq
457          _RL afFacMom
458          _RL vfFacMom
459          _RL pfFacMom
460          _RL cfFacMom
461          _RL foFacMom
462          _RL mTFacMom
463          _RL cosPower
464          _RL cAdjFreq
465          _RL omega
466          _RL tauThetaClimRelax
467          _RL lambdaThetaClimRelax
468          _RL tauSaltClimRelax
469          _RL lambdaSaltClimRelax
470          _RL externForcingCycle
471          _RL externForcingPeriod
472          _RL horiVertRatio
473          _RL recip_horiVertRatio
474          _RL latFFTFiltLo
475          _RL ivdc_kappa
476          _RL Ro_SeaLevel
477          _RL zonal_filt_lat
478          _RL bottomDragLinear
479          _RL bottomDragQuadratic
480    
481          COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp,
482       &                Lamba_theta       &                Lamba_theta
483        REAL HeatCapacity_Cp        _RL HeatCapacity_Cp
484        REAL Lamba_theta        _RL Lamba_theta
485          _RL recip_Cp
486    
487    C Equation of State (polynomial coeffients)
488          COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS
489          _RL eosC(9,Nr+1),eosSig0(Nr+1),eosRefT(Nr+1),eosRefS(Nr+1)
490    C Linear equation of state
491    C     tAlpha    - Linear EOS thermal expansion coefficient ( 1/degree ).
492    C     sBeta     - Linear EOS haline contraction coefficient.
493          COMMON /PARM_EOS_LIN/ tAlpha,sBeta,eosType
494          _RL tAlpha
495          _RL sBeta
496          character*(6) eosType
497    
498    C Logical flags for selecting packages
499          LOGICAL useKPP
500          LOGICAL useGMRedi
501          LOGICAL useOBCS
502          LOGICAL useAIM
503          LOGICAL useECCO
504          COMMON /PARM_PACKAGES/
505         &        useKPP, useGMRedi, useOBCS, useAIM, useECCO
506    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.51

  ViewVC Help
Powered by ViewVC 1.1.22