/[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.24 by cnh, Fri Aug 21 12:29:55 1998 UTC revision 1.49.2.3 by jmc, Fri Apr 6 12:59:45 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     EmPmRfile       - File containing surface fresh water flux
62    C     buoyancyRelation - Flag used to indicate which relation to use to
63    C                        get buoyancy.
64        COMMON /PARM_C/ checkPtSuff,        COMMON /PARM_C/ checkPtSuff,
65       &                bathyFile, hydrogThetaFile, hydrogSaltFile,       &                bathyFile, hydrogThetaFile, hydrogSaltFile,
66       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
67       &                saltClimFile       &                saltClimFile, buoyancyRelation,
68         &                EmPmRfile, surfQfile, surfQswfile,
69         &                uVelInitFile, vVelInitFile, pSurfInitFile
70        CHARACTER*(5) checkPtSuff(maxNoChkptLev)        CHARACTER*(5) checkPtSuff(maxNoChkptLev)
71        CHARACTER*(MAX_LEN_FNAM) bathyFile        CHARACTER*(MAX_LEN_FNAM) bathyFile
72        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile
# Line 56  C                       in relaxation te Line 75  C                       in relaxation te
75        CHARACTER*(MAX_LEN_FNAM) meridWindFile        CHARACTER*(MAX_LEN_FNAM) meridWindFile
76        CHARACTER*(MAX_LEN_FNAM) thetaClimFile        CHARACTER*(MAX_LEN_FNAM) thetaClimFile
77        CHARACTER*(MAX_LEN_FNAM) saltClimFile        CHARACTER*(MAX_LEN_FNAM) saltClimFile
78          CHARACTER*(MAX_LEN_FNAM) surfQfile
79          CHARACTER*(MAX_LEN_FNAM) surfQswfile
80          CHARACTER*(MAX_LEN_FNAM) EmPmRfile
81          CHARACTER*(MAX_LEN_FNAM) buoyancyRelation
82          CHARACTER*(MAX_LEN_FNAM) uVelInitFile
83          CHARACTER*(MAX_LEN_FNAM) vVelInitFile
84          CHARACTER*(MAX_LEN_FNAM) pSurfInitFile
85    
86  C--   COMMON /PARM_I/ Integer valued parameters used by the model.  C--   COMMON /PARM_I/ Integer valued parameters used by the model.
87  C     cg2dMaxIters        - Maximum number of iterations in the  C     cg2dMaxIters        - Maximum number of iterations in the
88  C                           two-dimensional con. grad solver.  C                           two-dimensional con. grad solver.
89  C     cg2dChkResFreq      - Frequency with which to check residual  C     cg2dChkResFreq      - Frequency with which to check residual
90  C                           in con. grad solver.  C                           in con. grad solver.
91    C     cg3dMaxIters        - Maximum number of iterations in the
92    C                           three-dimensional con. grad solver.
93    C     cg3dChkResFreq      - Frequency with which to check residual
94    C                           in con. grad solver.
95  C     nIter0              - Start time-step number of for this run  C     nIter0              - Start time-step number of for this run
96  C     nTimeSteps          - Number of timesteps to execute  C     nTimeSteps          - Number of timesteps to execute
97  C     numStepsPerPickup   - For offline setup. Frequency of pickup  C     numStepsPerPickup   - For offline setup. Frequency of pickup
# Line 70  C     writeStatePrec      - Precision us Line 100  C     writeStatePrec      - Precision us
100  C     writeBinaryPrec     - Precision used for writing binary files  C     writeBinaryPrec     - Precision used for writing binary files
101  C     readBinaryPrec      - Precision used for reading binary files  C     readBinaryPrec      - Precision used for reading binary files
102  C     nCheckLev           - Holds current checkpoint level  C     nCheckLev           - Holds current checkpoint level
103    C     nShap               - "Order" of shapiro filter to apply to
104    C                           model prognositic fields.
105    C                           nShap == 1 => del2
106    C                           nShap == 2 => del4
107    C                           nShap == 3 => del6
108    C                           etc...
109    
110        COMMON /PARM_I/        COMMON /PARM_I/
111       &        cg2dMaxIters,       &        cg2dMaxIters,
112       &        cg2dChkResFreq,       &        cg2dChkResFreq,
113       &        nIter0, nTimeSteps,       &        cg3dMaxIters,
114         &        cg3dChkResFreq,
115         &        nIter0, nTimeSteps, nEndIter,
116       &        numStepsPerPickup,       &        numStepsPerPickup,
117       &        writeStatePrec, nCheckLev,       &        writeStatePrec, nCheckLev,
118       &        writeBinaryPrec, readBinaryPrec       &        writeBinaryPrec, readBinaryPrec,
119         &        nShap, zonal_filt_sinpow, zonal_filt_cospow
120        INTEGER cg2dMaxIters        INTEGER cg2dMaxIters
121        INTEGER cg2dChkResFreq        INTEGER cg2dChkResFreq
122          INTEGER cg3dMaxIters
123          INTEGER cg3dChkResFreq
124        INTEGER nIter0        INTEGER nIter0
125        INTEGER nTimeSteps        INTEGER nTimeSteps
126          INTEGER nEndIter
127        INTEGER numStepsPerPickup        INTEGER numStepsPerPickup
128        INTEGER writeStatePrec        INTEGER writeStatePrec
129        INTEGER writeBinaryPrec        INTEGER writeBinaryPrec
130        INTEGER readBinaryPrec        INTEGER readBinaryPrec
131        INTEGER nCheckLev        INTEGER nCheckLev
132          INTEGER nShap
133          INTEGER zonal_filt_sinpow
134          INTEGER zonal_filt_cospow
135    
136  C--   COMMON /PARM_L/ Logical valued parameters used by the model.  C--   COMMON /PARM_L/ Logical valued parameters used by the model.
137  C     usingCartesianGrid - If TRUE grid generation will be in a cartesian  C     usingCartesianGrid - If TRUE grid generation will be in a cartesian
138  C                          coordinate frame.  C                          coordinate frame.
139  C     usingSphericalPolarGrid - If TRUE grid generation will be in a  C     usingSphericalPolarGrid - If TRUE grid generation will be in a
140  C                               spherical polar frame.  C                               spherical polar frame.
141    C     no_slip_sides - Impose "no-slip" at lateral boundaries.
142    C     no_slip_bottom- Impose "no-slip" at bottom boundary.
143    C     staggerTimeStep - enable a Stagger time stepping T,S Rho then U,V
144  C     momViscosity  - Flag which turns momentum friction terms on and off.  C     momViscosity  - Flag which turns momentum friction terms on and off.
145  C     momAdvection  - Flag which turns advection of momentum on and off.  C     momAdvection  - Flag which turns advection of momentum on and off.
146  C     momForcing    - Flag which turns external forcing of momentum on  C     momForcing    - Flag which turns external forcing of momentum on
# Line 113  C     saltAdvection - Flag which turns a Line 162  C     saltAdvection - Flag which turns a
162  C                     and off.  C                     and off.
163  C     saltForcing   - Flag which turns external forcing of salinit on  C     saltForcing   - Flag which turns external forcing of salinit on
164  C                     and off.  C                     and off.
 C     implicitFreeSurface - Set to true to use implcit free surface  
165  C     rigidLid            - Set to true to use rigid lid  C     rigidLid            - Set to true to use rigid lid
166    C     implicitFreeSurface - Set to true to use implcit free surface
167    C     exactConserv   -   Set to true to conserve exactly the total Volume
168    C     nonlinFreeSurf -   Set to true to use non-linear free surface
169  C     momStepping   - Turns momentum equation time-stepping off  C     momStepping   - Turns momentum equation time-stepping off
170  C     tempStepping  - Turns temperature equation time-stepping off  C     tempStepping  - Turns temperature equation time-stepping off
171  C     saltStepping  - Turns salinity equation time-stepping off  C     saltStepping  - Turns salinity equation time-stepping off
# Line 122  C     useConstantF  - Coriolis parameter Line 173  C     useConstantF  - Coriolis parameter
173  C     useBetaPlaneF - Coriolis parameter set to f0 + beta.y  C     useBetaPlaneF - Coriolis parameter set to f0 + beta.y
174  C     useSphereF    - Coriolis parameter set to 2.omega.sin(phi)  C     useSphereF    - Coriolis parameter set to 2.omega.sin(phi)
175  C     implicitDiffusion - Turns implicit vertical diffusion on  C     implicitDiffusion - Turns implicit vertical diffusion on
176    C     implicitViscosity - Turns implicit vertical viscosity on
177  C     doThetaClimRelax - Set true if relaxation to temperature  C     doThetaClimRelax - Set true if relaxation to temperature
178  C                        climatology is required.  C                        climatology is required.
179  C     doSaltClimRelax  - Set true if relaxation to salinity  C     doSaltClimRelax  - Set true if relaxation to salinity
180  C                        climatology is required.  C                        climatology is required.
181  C     periodicExternalForcing - Set true if forcing is time-dependant  C     periodicExternalForcing - Set true if forcing is time-dependant
182    C     usingPCoords     - Set to indicate that we are working in pressure
183    C                        coords.
184    C     usingZCoords     - Set to indicate that we are working in height
185    C                        coords.
186    C     nonHydrostatic - Using non-hydrostatic terms
187    C     globalFiles    - Selects between "global" and "tiled" files
188    C     allowFreezing  - Allows water to freeze and form ice
189    C     groundAtK1  - put the surface(k=1) at the Lower Boundary (=ground)
190        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
191       & momViscosity, momAdvection, momForcing, useCoriolis, momPressureForcing,       & usingCurvilinearGrid,
192       & tempDiffusion, tempAdvection, tempForcing,       & no_slip_sides,no_slip_bottom,
193         & staggerTimeStep,
194         & momViscosity, momAdvection, momForcing, useCoriolis,
195         & momPressureForcing,tempDiffusion, tempAdvection, tempForcing,
196       & saltDiffusion, saltAdvection, saltForcing,       & saltDiffusion, saltAdvection, saltForcing,
197       & implicitFreeSurface, rigidLid,       & rigidLid, implicitFreeSurface, exactConserv, nonlinFreeSurf,
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       & periodicExternalForcing       & doThetaClimRelax, doSaltClimRelax,
203         & periodicExternalForcing, usingPCoords, usingZCoords,
204         & nonHydrostatic, globalFiles,
205         & allowFreezing, groundAtK1
206        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
207        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
208          LOGICAL usingCurvilinearGrid
209        LOGICAL usingSphericalPolarMTerms        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
# Line 151  C     periodicExternalForcing - Set true Line 221  C     periodicExternalForcing - Set true
221        LOGICAL saltDiffusion        LOGICAL saltDiffusion
222        LOGICAL saltAdvection        LOGICAL saltAdvection
223        LOGICAL saltForcing        LOGICAL saltForcing
       LOGICAL implicitFreeSurface  
224        LOGICAL rigidLid        LOGICAL rigidLid
225          LOGICAL implicitFreeSurface
226          LOGICAL exactConserv
227          LOGICAL nonlinFreeSurf
228        LOGICAL momStepping        LOGICAL momStepping
229        LOGICAL tempStepping        LOGICAL tempStepping
230        LOGICAL saltStepping        LOGICAL saltStepping
# Line 161  C     periodicExternalForcing - Set true Line 233  C     periodicExternalForcing - Set true
233        LOGICAL useBetaPlaneF        LOGICAL useBetaPlaneF
234        LOGICAL useSphereF        LOGICAL useSphereF
235        LOGICAL implicitDiffusion        LOGICAL implicitDiffusion
236          LOGICAL implicitViscosity
237        LOGICAL doThetaClimRelax        LOGICAL doThetaClimRelax
238        LOGICAL doSaltClimRelax        LOGICAL doSaltClimRelax
239        LOGICAL periodicExternalForcing        LOGICAL periodicExternalForcing
240          LOGICAL usingPCoords
241          LOGICAL usingZCoords
242          LOGICAL nonHydrostatic
243          LOGICAL globalFiles
244          LOGICAL allowFreezing
245          LOGICAL groundAtK1
246    
247  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
248  C     cg2dTargetResidual  C     gg2dTargetResidual
249  C               - Target residual for cg2d solver.  C          - Target residual for cg2d solver; no unit (RHS normalisation)
250    C     cg2dTargetResWunit
251    C          - Target residual for cg2d solver; W unit (No RHS normalisation)
252    C     cg3dTargetResidual
253    C               - Target residual for cg3d solver.
254  C     cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal.  C     cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal.
255  C     Note. 20th May 1998  C     Note. 20th May 1998
256  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 184  C           For now I have introduced a Line 267  C           For now I have introduced a
267  C           defaults to 0.51 but can be set at runtime.  C           defaults to 0.51 but can be set at runtime.
268  C     delP      - Vertical grid spacing ( Pa ).  C     delP      - Vertical grid spacing ( Pa ).
269  C     delZ      - Vertical grid spacing ( m  ).  C     delZ      - Vertical grid spacing ( m  ).
 C     rkFac     - Vertical coordinate to vertical index orientation.  
 C                 ( 1 same orientation, -1 opposite orientation )  
 C                 ( vertical coord == m  -> rkFac = -1 )  
 C                 ( vertical coord == Pa -> rkFac =  1 )  
270  C     delR      - Vertical grid spacing ( units of r ).  C     delR      - Vertical grid spacing ( units of r ).
271  C     delX      - Separation between cell faces (m) or (deg), depending  C     delX      - Separation between cell faces (m) or (deg), depending
272  C     delY        on input flags.  C     delY        on input flags.
273  C     gravity   - Accel. due to gravity ( m/s^2 )  C     gravity   - Accel. due to gravity ( m/s^2 )
274    C     recip_gravity and its inverse
275  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 )
276  C     ronil     - Reference density  C     ronil     - Reference density
277  C     rhoConst  - Vertically constant reference density  C     rhoConst  - Vertically constant reference density
# Line 201  C     thetaMin  - Longitude of western m Line 281  C     thetaMin  - Longitude of western m
281  C                 is an "inert" parameter but it is included  C                 is an "inert" parameter but it is included
282  C                 to make geographical references simple.)  C                 to make geographical references simple.)
283  C     rSphere   - Radius of sphere for a spherical polar grid ( m ).  C     rSphere   - Radius of sphere for a spherical polar grid ( m ).
284  C     rRSphere  - Reciprocal radius of sphere for a spherical polar grid ( m ).  C     recip_RSphere  - Reciprocal radius of sphere ( m ).
285  C     f0        - Reference coriolis parameter ( 1/s )  C     f0        - Reference coriolis parameter ( 1/s )
286  C                 ( Southern edge f for beta plane )  C                 ( Southern edge f for beta plane )
287  C     beta      - df/dy ( s^-1.m^-1 )  C     beta      - df/dy ( s^-1.m^-1 )
# Line 210  C     viscAh    - Eddy viscosity coeff. Line 290  C     viscAh    - Eddy viscosity coeff.
290  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
291  C     viscAz    - Eddy viscosity coeff. for mixing of  C     viscAz    - Eddy viscosity coeff. for mixing of
292  C                 momentum vertically ( m^2/s )  C                 momentum vertically ( m^2/s )
293    C     viscAp    - Eddy viscosity coeff. for mixing of
294    C                 momentum vertically ( Pa^2/s )
295  C     viscAr    - Eddy viscosity coeff. for mixing of  C     viscAr    - Eddy viscosity coeff. for mixing of
296  C                 momentum vertically ( units of r^2/s )  C                 momentum vertically ( units of r^2/s )
297  C     viscA4    - Biharmonic viscosity coeff. for mixing of  C     viscA4    - Biharmonic viscosity coeff. for mixing of
# Line 218  C     diffKhT   - Laplacian diffusion co Line 300  C     diffKhT   - Laplacian diffusion co
300  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
301  C     diffKzT   - Laplacian diffusion coeff. for mixing of  C     diffKzT   - Laplacian diffusion coeff. for mixing of
302  C                 heat vertically ( m^2/s )  C                 heat vertically ( m^2/s )
303    C     diffKpT   - Laplacian diffusion coeff. for mixing of
304    C                 heat vertically ( Pa^2/s )
305  C     diffKrT   - Laplacian diffusion coeff. for mixing of  C     diffKrT   - Laplacian diffusion coeff. for mixing of
306  C                 heat vertically ( units of r^2/s )  C                 heat vertically ( units of r^2/s )
307  C     diffK4T   - Biharmonic diffusion coeff. for mixing of  C     diffK4T   - Biharmonic diffusion coeff. for mixing of
# Line 226  C     diffKhS  -  Laplacian diffusion co Line 310  C     diffKhS  -  Laplacian diffusion co
310  C                 salt laterally ( m^2/s )  C                 salt laterally ( m^2/s )
311  C     diffKzS   - Laplacian diffusion coeff. for mixing of  C     diffKzS   - Laplacian diffusion coeff. for mixing of
312  C                 salt vertically ( m^2/s )  C                 salt vertically ( m^2/s )
313    C     diffKpS   - Laplacian diffusion coeff. for mixing of
314    C                 salt vertically ( Pa^2/s )
315  C     diffKrS   - Laplacian diffusion coeff. for mixing of  C     diffKrS   - Laplacian diffusion coeff. for mixing of
316  C                 salt vertically ( units of r^2/s )  C                 salt vertically ( units of r^2/s )
317  C     diffK4S   - Biharmonic diffusion coeff. for mixing of  C     diffK4S   - Biharmonic diffusion coeff. for mixing of
# Line 242  C     deltaTtracer - Timestep for tracer Line 328  C     deltaTtracer - Timestep for tracer
328  C     freesurfFac  - Parameter to turn implicit free surface term on or off  C     freesurfFac  - Parameter to turn implicit free surface term on or off
329  C                    freesurfac = 1. uses implicit free surface  C                    freesurfac = 1. uses implicit free surface
330  C                    freesurfac = 0. uses rigid lid  C                    freesurfac = 0. uses rigid lid
331    C     implicSurfPress - parameter of the Crank-Nickelson time stepping :
332    C                     Implicit part of Surface Pressure Gradient ( 0-1 )
333    C     implicDiv2Dflow - parameter of the Crank-Nickelson time stepping :
334    C                     Implicit part of barotropic flow Divergence ( 0-1 )
335  C     hFacMin      - Minimum fraction size of a cell (affects hFacC etc...)  C     hFacMin      - Minimum fraction size of a cell (affects hFacC etc...)
336  C     hFacMinDz    - Minimum dimesional size of a cell (affects hFacC etc..., m)  C     hFacMinDz    - Minimum dimesional size of a cell (affects hFacC etc..., m)
337    C     hFacMinDp    - Minimum dimesional size of a cell (affects hFacC etc..., Pa)
338  C     hFacMinDr    - Minimum dimesional size of a cell (affects hFacC etc..., units of r)  C     hFacMinDr    - Minimum dimesional size of a cell (affects hFacC etc..., units of r)
339    C     hFacInf      - Threshold (inf and sup) for fraction size of surface cell
340    C     hFacSup        that control vanishing and creating levels
341  C     tauCD        - CD scheme coupling timescale ( 1/s )  C     tauCD        - CD scheme coupling timescale ( 1/s )
342  C     rCD          - CD scheme normalised coupling parameter ( 0-1 )  C     rCD          - CD scheme normalised coupling parameter ( 0-1 )
 C     GMmaxslope   - max. slope allowed in GM/Redi tensor  
 C     GMlength     - Length to use in Visbeck et al. formula for K (m)  
 C     GMalpha      - alpha to use in Visbeck et al. formula for K  
 C     GMdepth      - Depth over which to integrate Richardson # (Visbeck et al.)  
 C     GMkbackground - background value of GM/Redi diffusion coefficient ( m^2/s )  
 C     GMmaxval      - max. value of KapGM allowed in GM/Redi scheme ( m^2/s )  
343  C     startTime     - Starting time for this integration ( s ).  C     startTime     - Starting time for this integration ( s ).
344  C     endTime       - Ending time for this integration ( s ).  C     endTime       - Ending time for this integration ( s ).
345  C     chkPtFreq     - Frequency of rolling check pointing ( s ).  C     chkPtFreq     - Frequency of rolling check pointing ( s ).
# Line 265  C     pfFacMom      - Momentum pressure Line 352  C     pfFacMom      - Momentum pressure
352  C     cfFacMom      - Coriolis term tracer parameter  C     cfFacMom      - Coriolis term tracer parameter
353  C     foFacMom      - Momentum forcing tracer parameter  C     foFacMom      - Momentum forcing tracer parameter
354  C     mtFacMom      - Metric terms tracer parameter  C     mtFacMom      - Metric terms tracer parameter
355    C     cosPower      - Power of cosine of latitude to multiply viscosity
356  C     cAdjFreq      - Frequency of convective adjustment  C     cAdjFreq      - Frequency of convective adjustment
357  C  C
358  C     taveFreq  - Frequency with which time-averaged model state is written to  C     taveFreq      - Frequency with which time-averaged model state is written to
359  C                 post-processing files ( s ).  C                     post-processing files ( s ).
360  C     tauThetaClimRelax - Relaxation to climatology time scale ( s ).  C     tauThetaClimRelax - Relaxation to climatology time scale ( s ).
361  C     lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ).  C     lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ).
362  C     tauSaltClimRelax - Relaxation to climatology time scale ( s ).  C     tauSaltClimRelax - Relaxation to climatology time scale ( s ).
# Line 277  C     externForcingPeriod - Is the perio Line 365  C     externForcingPeriod - Is the perio
365  C     externForcingCycle - Is the repeat time of the forcing (eg. 1 year)  C     externForcingCycle - Is the repeat time of the forcing (eg. 1 year)
366  C                          (note: externForcingCycle must be an integer  C                          (note: externForcingCycle must be an integer
367  C                           number times externForcingPeriod)  C                           number times externForcingPeriod)
368        COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac,  C     horiVertRatio      - Ratio on units in vertical to units in horizontal.
369    C     recip_horiVertRatio  ( 1 if horiz in m and vertical in m ).
370    C                          ( g*rho if horiz in m and vertical in Pa ).
371    C     latFFTFiltLo       - Low latitude for FFT filtering of latitude
372    C                          circles ( see filter*.F )
373    C     Ro_SeaLevel        - standard position of Sea-Level in "R" coordinate, used as
374    C                          starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)
375    C     bottomDragLinear   - Drag coefficient built in to core dynamics
376    C         "     Quadratic  ( linear: 1/s, quadratic: 1/m )
377          COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
378         & cg2dpcOffDFac, cg3dTargetResidual,
379       & delP, delZ, delR, delX, delY,       & delP, delZ, delR, delX, delY,
380       & deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, phiMin,       & deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime,
381       & thetaMin, rSphere, rRSphere, f0, fCori, beta,       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,
382         & fCori, fCoriG,
383       & viscAh,  viscAz,  viscA4,  viscAr,       & viscAh,  viscAz,  viscA4,  viscAr,
384       & diffKhT, diffKzT, diffK4T, diffKrT,       & diffKhT, diffKzT, diffK4T, diffKrT,
385       & diffKhS, diffKzS, diffK4S, diffKsT,       & diffKhS, diffKzS, diffK4S, diffKrS,
386       & delT, tauCD, rCD, freeSurfFac, hFacMin, hFacMinDz,       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,
387       & GMmaxslope,GMlength,GMalpha,GMdepth,GMkbackground,GMmaxval,       & hFacMin, hFacMinDz, hFacInf, hFacSup,
388       & gravity, gBaro, rhonil, tRef, sRef,       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
389         & recip_rhoConst, rhoConst, tRef, sRef,
390       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq,       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq,
391       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
392         & cosPower,
393       & cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax,       & cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax,
394       & tauSaltClimRelax, lambdaSaltClimRelax,       & tauSaltClimRelax, lambdaSaltClimRelax,
395       & externForcingCycle, externForcingPeriod       & externForcingCycle, externForcingPeriod,
396         & viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp,
397         & theta_S, specVol_S, horiVertRatio, recip_horiVertRatio,
398         & latFFTFiltLo, ivdc_kappa, Ro_SeaLevel, zonal_filt_lat,
399         & bottomDragLinear,bottomDragQuadratic
400    
401        _RL cg2dTargetResidual        _RL cg2dTargetResidual
402          _RL cg2dTargetResWunit
403          _RL cg3dTargetResidual
404        _RL cg2dpcOffDFac        _RL cg2dpcOffDFac
405        _RL delR(Nz)        _RL delZ(Nr)
406          _RL delP(Nr)
407          _RL delR(Nr)
408        _RL delX(Nx)        _RL delX(Nx)
409        _RL delY(Ny)        _RL delY(Ny)
410        _RL deltaT        _RL deltaT
# Line 305  C                           number times Line 415  C                           number times
415        _RL phiMin        _RL phiMin
416        _RL thetaMin        _RL thetaMin
417        _RL rSphere        _RL rSphere
418        _RL rRSphere        _RL recip_RSphere
419        _RL f0        _RL f0
420        _RL freeSurfFac        _RL freeSurfFac
421          _RL implicSurfPress
422          _RL implicDiv2Dflow
423        _RL hFacMin        _RL hFacMin
424        _RL hFacMinDz        _RL hFacMinDz
425          _RL hFacMinDp
426          _RL hFacMinDr
427          _RL hFacInf
428          _RL hFacSup
429        _RL beta        _RL beta
430        _RL viscAh        _RL viscAh
431        _RL viscAz        _RL viscAz
432          _RL viscAp
433          _RL viscAr
434        _RL viscA4        _RL viscA4
435        _RL diffKhT        _RL diffKhT
436          _RL diffKrT
437        _RL diffKzT        _RL diffKzT
438          _RL diffKpT
439        _RL diffK4T        _RL diffK4T
440        _RL diffKhS        _RL diffKhS
441          _RL diffKrS
442        _RL diffKzS        _RL diffKzS
443          _RL diffKpS
444        _RL diffK4S        _RL diffK4S
445        _RL delt        _RL delt
446        _RL tauCD        _RL tauCD
447        _RL rCD        _RL rCD
       _RL GMmaxslope  
       _RL GMlength  
       _RL GMalpha  
       _RL GMdepth  
       _RL GMkbackground  
       _RL GMmaxval  
448        _RL gravity        _RL gravity
449          _RL recip_gravity
450        _RL gBaro        _RL gBaro
451        _RL rhonil        _RL rhonil
452        _RL tRef(Nz)        _RL recip_rhonil
453        _RL sRef(Nz)        _RL rhoConst
454        _RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RL recip_rhoConst
455          _RL specVol_S(Nr)
456          _RL tRef(Nr)
457          _RL theta_S(Nr)
458          _RL sRef(Nr)
459          _RS fCori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
460          _RS fCoriG(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
461        _RL startTime        _RL startTime
462        _RL endTime        _RL endTime
463        _RL chkPtFreq        _RL chkPtFreq
# Line 347  C                           number times Line 470  C                           number times
470        _RL cfFacMom        _RL cfFacMom
471        _RL foFacMom        _RL foFacMom
472        _RL mTFacMom        _RL mTFacMom
473          _RL cosPower
474        _RL cAdjFreq        _RL cAdjFreq
475        _RL omega        _RL omega
476        _RL tauThetaClimRelax        _RL tauThetaClimRelax
# Line 355  C                           number times Line 479  C                           number times
479        _RL lambdaSaltClimRelax        _RL lambdaSaltClimRelax
480        _RL externForcingCycle        _RL externForcingCycle
481        _RL externForcingPeriod        _RL externForcingPeriod
482          _RL horiVertRatio
483          _RL recip_horiVertRatio
484          _RL latFFTFiltLo
485          _RL ivdc_kappa
486          _RL Ro_SeaLevel
487          _RL zonal_filt_lat
488          _RL bottomDragLinear
489          _RL bottomDragQuadratic
490    
491        COMMON /PARM_A/ HeatCapacity_Cp,        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp,
492       &                Lamba_theta       &                Lamba_theta
493        _RL HeatCapacity_Cp        _RL HeatCapacity_Cp
494        _RL Lamba_theta        _RL Lamba_theta
495          _RL recip_Cp
496    
497  C Equation of State (polynomial coeffients)  C Equation of State (polynomial coeffients)
498        COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS        COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS
499        _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)
500  C Linear equation of state  C Linear equation of state
501  C     tAlpha    - Linear EOS thermal expansion coefficient ( 1/degree ).  C     tAlpha    - Linear EOS thermal expansion coefficient ( 1/degree ).
502  C     sBeta     - Linear EOS haline contraction coefficient.  C     sBeta     - Linear EOS haline contraction coefficient.
# Line 372  C     sBeta     - Linear EOS haline cont Line 505  C     sBeta     - Linear EOS haline cont
505        _RL sBeta        _RL sBeta
506        character*(6) eosType        character*(6) eosType
507    
508    C Logical flags for selecting packages
509          LOGICAL useKPP
510          LOGICAL useGMRedi
511          LOGICAL useOBCS
512          LOGICAL useAIM
513          LOGICAL useECCO
514          COMMON /PARM_PACKAGES/
515         &        useKPP, useGMRedi, useOBCS, useAIM, useECCO
516    

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.49.2.3

  ViewVC Help
Powered by ViewVC 1.1.22