/[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.4 by cnh, Mon Apr 27 04:24:22 1998 UTC revision 1.36 by adcroft, Tue Dec 15 00:20:34 1998 UTC
# Line 4  C     /================================= Line 4  C     /=================================
4  C     | PARAMS.h                                                 |  C     | PARAMS.h                                                 |
5  C     | o Header file defining model "parameters".               |  C     | o Header file defining model "parameters".               |
6  C     |==========================================================|  C     |==========================================================|
7  C     | The values from the model's standard input file are      |  C     | The values from the model standard input file are        |
8  C     | stored into the variables held here. Notes describing    |  C     | stored into the variables held here. Notes describing    |
9  C     | the parameters can also be found here.                   |  C     | the parameters can also be found here.                   |
10  C     \==========================================================/  C     \==========================================================/
11    
12    C     Macros for special grid options
13    #include "PARAMS_MACROS.h"
14    
15  C--   Contants  C--   Contants
 C     nOBands - No. of offline data time bands  
       INTEGER nOBands  
       PARAMETER ( nOBands = 12 )  
16  C     Useful physical values  C     Useful physical values
17        Real*8 PI        Real*8 PI
18        PARAMETER ( PI    = 3.14159265358979323844D0   )        PARAMETER ( PI    = 3.14159265358979323844D0   )
19        Real*8 deg2rad        Real*8 deg2rad
20        PARAMETER ( deg2rad = 2.D0*PI/360.D0           )        PARAMETER ( deg2rad = 2.D0*PI/360.D0           )
21    
22    C     Symbolic values
23    C     precXXXX - Used to indicate what precision to use for
24    C                dumping model state.
25          INTEGER precFloat32
26          PARAMETER ( precFloat32 = 32 )
27          INTEGER precFloat64
28          PARAMETER ( precFloat64 = 64 )
29    C     UNSET_xxx - Used to indicate variables that have not been given a value
30          Real*8 UNSET_FLOAT8
31          PARAMETER ( UNSET_FLOAT8 = 1.234567D5 )
32          Real*4 UNSET_FLOAT4
33          PARAMETER ( UNSET_FLOAT4 = 1.234567E5 )
34          _RL    UNSET_RL    
35          PARAMETER ( UNSET_RL     = 1.234567D5 )
36          _RS    UNSET_RS    
37          PARAMETER ( UNSET_RS     = 1.234567E5 )
38          INTEGER UNSET_I
39          PARAMETER ( UNSET_I      = 123456789  )
40    
41    C     Checkpoint data
42          INTEGER maxNoChkptLev
43          PARAMETER ( maxNoChkptLev = 2 )
44    
45  C--   COMMON /PARM_C/ Character valued parameters used by the model.  C--   COMMON /PARM_C/ Character valued parameters used by the model.
46  C     oBandId  - Offline dataset identifiers for different periods.  C     checkPtSuff - List of checkpoint file suffices
47        COMMON /PARM_C/ oBandId  C     bathyFile   - File containing bathymetry. If not defined bathymetry
48        CHARACTER*3 oBandId(nOBands)  C                   is taken from inline function.
49    C     hydrogThetaFile - File containing initial hydrographic data for potential
50    C                       temperature.
51    C     hydrogSaltFile  - File containing initial hydrographic data for salinity.
52    C     zonalWindFile   - File containing zonal wind data
53    C     meridWindFile   - File containing meridional wind data
54    C     thetaClimFile   - File containing theta climataology used
55    C                       in relaxation term -lambda(theta-theta*)
56    C     saltClimFile    - File containing salt climataology used
57    C                       in relaxation term -lambda(salt-salt*)
58    C     buoyancyRelation - Flag used to indicate which relation to use to
59    C                        get buoyancy.
60          COMMON /PARM_C/ checkPtSuff,
61         &                bathyFile, hydrogThetaFile, hydrogSaltFile,
62         &                zonalWindFile, meridWindFile, thetaClimFile,
63         &                saltClimFile, buoyancyRelation
64          CHARACTER*(5) checkPtSuff(maxNoChkptLev)
65          CHARACTER*(MAX_LEN_FNAM) bathyFile
66          CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile
67          CHARACTER*(MAX_LEN_FNAM) hydrogSaltFile
68          CHARACTER*(MAX_LEN_FNAM) zonalWindFile
69          CHARACTER*(MAX_LEN_FNAM) meridWindFile
70          CHARACTER*(MAX_LEN_FNAM) thetaClimFile
71          CHARACTER*(MAX_LEN_FNAM) saltClimFile
72          CHARACTER*(MAX_LEN_FNAM) buoyancyRelation
73    
74  C--   COMMON /PARM_I/ Integer valued parameters used by the model.  C--   COMMON /PARM_I/ Integer valued parameters used by the model.
75  C     cg2dMaxIters        - Maximum number of iterations in the  C     cg2dMaxIters        - Maximum number of iterations in the
76  C                           two-dimensional con. grad solver.  C                           two-dimensional con. grad solver.
77  C     cg2dChkResFreq      - Frequency with which to check residual  C     cg2dChkResFreq      - Frequency with which to check residual
78  C                           in con. grad solver.  C                           in con. grad solver.
79    C     cg3dMaxIters        - Maximum number of iterations in the
80    C                           three-dimensional con. grad solver.
81    C     cg3dChkResFreq      - Frequency with which to check residual
82    C                           in con. grad solver.
83  C     nIter0              - Start time-step number of for this run  C     nIter0              - Start time-step number of for this run
84  C     nTimeSteps          - Number of timesteps to execute  C     nTimeSteps          - Number of timesteps to execute
85  C     numStepsPerPickup   - For offline setup. Frequency of pickup  C     numStepsPerPickup   - For offline setup. Frequency of pickup
86  C                           of flow fields.  C                           of flow fields.
87    C     writeStatePrec      - Precision used for writing model state.
88    C     writeBinaryPrec     - Precision used for writing binary files
89    C     readBinaryPrec      - Precision used for reading binary files
90    C     nCheckLev           - Holds current checkpoint level
91    C     nShap               - "Order" of shapiro filter to apply to
92    C                           model prognositic fields.
93    C                           nShap == 1 => del2
94    C                           nShap == 2 => del4
95    C                           nShap == 3 => del6
96    C                           etc...
97    
98        COMMON /PARM_I/        COMMON /PARM_I/
99       &        cg2dMaxIters,       &        cg2dMaxIters,
100       &        cg2dChkResFreq,       &        cg2dChkResFreq,
101         &        cg3dMaxIters,
102         &        cg3dChkResFreq,
103       &        nIter0, nTimeSteps,       &        nIter0, nTimeSteps,
104       &        numStepsPerPickup       &        numStepsPerPickup,
105         &        writeStatePrec, nCheckLev,
106         &        writeBinaryPrec, readBinaryPrec,
107         &        nShap
108        INTEGER cg2dMaxIters        INTEGER cg2dMaxIters
109        INTEGER cg2dChkResFreq        INTEGER cg2dChkResFreq
110          INTEGER cg3dMaxIters
111          INTEGER cg3dChkResFreq
112        INTEGER nIter0        INTEGER nIter0
113        INTEGER nTimeSteps        INTEGER nTimeSteps
114        INTEGER numStepsPerPickup        INTEGER numStepsPerPickup
115          INTEGER writeStatePrec
116          INTEGER writeBinaryPrec
117          INTEGER readBinaryPrec
118          INTEGER nCheckLev
119          INTEGER nShap
120    
121  C--   COMMON /PARM_L/ Logical valued parameters used by the model.  C--   COMMON /PARM_L/ Logical valued parameters used by the model.
122  C     usingCartesianGrid - If TRUE grid generation will be in a cartesian  C     usingCartesianGrid - If TRUE grid generation will be in a cartesian
123  C                          coordinate frame.  C                          coordinate frame.
124  C     usingSphericalPolarGrid - If TRUE grid generation will be in a  C     usingSphericalPolarGrid - If TRUE grid generation will be in a
125  C                               spherical polar frame.  C                               spherical polar frame.
126    C     no_slip_sides - Impose "no-slip" at lateral boundaries.
127    C     no_slip_bottom- Impose "no-slip" at bottom boundary.
128  C     momViscosity  - Flag which turns momentum friction terms on and off.  C     momViscosity  - Flag which turns momentum friction terms on and off.
129  C     momAdvection  - Flag which turns advection of momentum on and off.  C     momAdvection  - Flag which turns advection of momentum on and off.
130  C     momForcing    - Flag which turns external forcing of momentum on  C     momForcing    - Flag which turns external forcing of momentum on
131  C                     and off.  C                     and off.
132    C     momPressureForcing - Flag which turns pressure term in momentum equation
133    C                          on and off.
134    C     metricTerms   - Flag which turns metric terms on or off.
135    C     usingSphericalPolarMTerms - If TRUE use spherical polar metric terms.
136  C     useCoriolis   - Flag which turns the coriolis terms on and off.  C     useCoriolis   - Flag which turns the coriolis terms on and off.
137  C     tempDiffusion - Flag which turns diffusion of temperature on  C     tempDiffusion - Flag which turns diffusion of temperature on
138  C                     and off.  C                     and off.
# Line 65  C     saltAdvection - Flag which turns a Line 146  C     saltAdvection - Flag which turns a
146  C                     and off.  C                     and off.
147  C     saltForcing   - Flag which turns external forcing of salinit on  C     saltForcing   - Flag which turns external forcing of salinit on
148  C                     and off.  C                     and off.
149    C     implicitFreeSurface - Set to true to use implcit free surface
150    C     rigidLid            - Set to true to use rigid lid
151    C     momStepping   - Turns momentum equation time-stepping off
152    C     tempStepping  - Turns temperature equation time-stepping off
153    C     saltStepping  - Turns salinity equation time-stepping off
154    C     useConstantF  - Coriolis parameter set to f0
155    C     useBetaPlaneF - Coriolis parameter set to f0 + beta.y
156    C     useSphereF    - Coriolis parameter set to 2.omega.sin(phi)
157    C     implicitDiffusion - Turns implicit vertical diffusion on
158    C     doThetaClimRelax - Set true if relaxation to temperature
159    C                        climatology is required.
160    C     doSaltClimRelax  - Set true if relaxation to salinity
161    C                        climatology is required.
162    C     periodicExternalForcing - Set true if forcing is time-dependant
163    C     usingPCoords     - Set to indicate that we are working in pressure
164    C                        coords.
165    C     usingZCoords     - Set to indicate that we are working in height
166    C                        coords.
167    C     openBoundaries - Using open-boundaries
168        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
169       & momViscosity, momAdvection, momForcing, useCoriolis,       & no_slip_sides,no_slip_bottom,
170       & tempDiffusion, tempAdvection, tempForcing,       & momViscosity, momAdvection, momForcing, useCoriolis,
171       & saltDiffusion, saltAdvection, saltForcing       & momPressureForcing,tempDiffusion, tempAdvection, tempForcing,
172         & saltDiffusion, saltAdvection, saltForcing,
173         & implicitFreeSurface, rigidLid,
174         & momStepping, tempStepping, saltStepping,
175         & metricTerms, usingSphericalPolarMTerms,
176         & useConstantF, useBetaPlaneF, useSphereF,
177         & implicitDiffusion, doThetaClimRelax, doSaltClimRelax,
178         & periodicExternalForcing, usingPCoords, usingZCoords,
179         & openBoundaries
180        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
181        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
182          LOGICAL usingSphericalPolarMTerms
183          LOGICAL no_slip_sides
184          LOGICAL no_slip_bottom
185        LOGICAL momViscosity        LOGICAL momViscosity
186        LOGICAL momAdvection        LOGICAL momAdvection
187        LOGICAL momForcing        LOGICAL momForcing
188          LOGICAL momPressureForcing
189        LOGICAL useCoriolis        LOGICAL useCoriolis
190        LOGICAL tempDiffusion        LOGICAL tempDiffusion
191        LOGICAL tempAdvection        LOGICAL tempAdvection
# Line 81  C                     and off. Line 193  C                     and off.
193        LOGICAL saltDiffusion        LOGICAL saltDiffusion
194        LOGICAL saltAdvection        LOGICAL saltAdvection
195        LOGICAL saltForcing        LOGICAL saltForcing
196          LOGICAL implicitFreeSurface
197          LOGICAL rigidLid
198          LOGICAL momStepping
199          LOGICAL tempStepping
200          LOGICAL saltStepping
201          LOGICAL metricTerms
202          LOGICAL useConstantF
203          LOGICAL useBetaPlaneF
204          LOGICAL useSphereF
205          LOGICAL implicitDiffusion
206          LOGICAL doThetaClimRelax
207          LOGICAL doSaltClimRelax
208          LOGICAL periodicExternalForcing
209          LOGICAL usingPCoords
210          LOGICAL usingZCoords
211          LOGICAL openBoundaries
212    
213  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
214  C     cg2dTargetResidual  C     cg2dTargetResidual
215  C               - Target residual for cg2d solver.  C               - Target residual for cg2d solver.
216  C     delZ      - Vertical grid spacing ( m ) - delZ is the distance  C     cg3dTargetResidual
217  C                 between "w" surfaces.  C               - Target residual for cg3d solver.
218    C     cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal.
219    C     Note. 20th May 1998
220    C           I made a weird discovery! In the model paper we argue
221    C           for the form of the preconditioner used here ( see
222    C           A Finite-volume, Incompressible Navier-Stokes Model
223    C           ...., Marshall et. al ). The algebra gives a simple
224    C           0.5 factor for the averaging of ac and aCw to get a
225    C           symmettric pre-conditioner. By using a factor of 0.51
226    C           i.e. scaling the off-diagonal terms in the
227    C           preconditioner down slightly I managed to get the
228    C           number of iterations for convergence in a test case to
229    C           drop form 192 -> 134! Need to investigate this further!
230    C           For now I have introduced a parameter cg2dpcOffDFac which
231    C           defaults to 0.51 but can be set at runtime.
232    C     delP      - Vertical grid spacing ( Pa ).
233    C     delZ      - Vertical grid spacing ( m  ).
234    C     delR      - Vertical grid spacing ( units of r ).
235  C     delX      - Separation between cell faces (m) or (deg), depending  C     delX      - Separation between cell faces (m) or (deg), depending
236  C     delY        on input flags.  C     delY        on input flags.
237  C     gravity   - Accel. due to gravity ( m/s^2 )  C     gravity   - Accel. due to gravity ( m/s^2 )
238    C     recip_gravity and its inverse
239    C     gBaro     - Accel. due to gravity used in barotropic equation ( m/s^2 )
240  C     ronil     - Reference density  C     ronil     - Reference density
241    C     rhoConst  - Vertically constant reference density
242  C     startTime - Start time for model ( s )  C     startTime - Start time for model ( s )
243  C     phiMin    - Latitude of southern most cell face.  C     phiMin    - Latitude of southern most cell face.
244  C     thetaMin  - Longitude of western most cell face (this  C     thetaMin  - Longitude of western most cell face (this
245  C                 is an "inert" parameter but it is included  C                 is an "inert" parameter but it is included
246  C                 to make geographical references simple.)  C                 to make geographical references simple.)
247  C     rSphere   - Radius of sphere for a spherical polar grid ( m ).  C     rSphere   - Radius of sphere for a spherical polar grid ( m ).
248    C     recip_RSphere  - Reciprocal radius of sphere ( m ).
249  C     f0        - Reference coriolis parameter ( 1/s )  C     f0        - Reference coriolis parameter ( 1/s )
250  C                 ( Southern edge f for beta plane )  C                 ( Southern edge f for beta plane )
251  C     beta      - df/dy ( s^-1.m^-1 )  C     beta      - df/dy ( s^-1.m^-1 )
252    C     omega     - Angular velocity ( rad/s )
253  C     viscAh    - Eddy viscosity coeff. for mixing of  C     viscAh    - Eddy viscosity coeff. for mixing of
254  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
255  C     viscAz    - Eddy viscosity coeff. for mixing of  C     viscAz    - Eddy viscosity coeff. for mixing of
256  C                 momentum vertically ( m^2/s )  C                 momentum vertically ( m^2/s )
257    C     viscAp    - Eddy viscosity coeff. for mixing of
258    C                 momentum vertically ( Pa^2/s )
259    C     viscAr    - Eddy viscosity coeff. for mixing of
260    C                 momentum vertically ( units of r^2/s )
261  C     viscA4    - Biharmonic viscosity coeff. for mixing of  C     viscA4    - Biharmonic viscosity coeff. for mixing of
262  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
263  C     diffKhT   - Laplacian diffusion coeff. for mixing of  C     diffKhT   - Laplacian diffusion coeff. for mixing of
264  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
265  C     diffKzT   - Laplacian diffusion coeff. for mixing of  C     diffKzT   - Laplacian diffusion coeff. for mixing of
266  C                 heat vertically ( m^2/s )  C                 heat vertically ( m^2/s )
267    C     diffKpT   - Laplacian diffusion coeff. for mixing of
268    C                 heat vertically ( Pa^2/s )
269    C     diffKrT   - Laplacian diffusion coeff. for mixing of
270    C                 heat vertically ( units of r^2/s )
271  C     diffK4T   - Biharmonic diffusion coeff. for mixing of  C     diffK4T   - Biharmonic diffusion coeff. for mixing of
272  C                 heat laterally ( m^4/s )  C                 heat laterally ( m^4/s )
273  C     diffKhS  -  Laplacian diffusion coeff. for mixing of  C     diffKhS  -  Laplacian diffusion coeff. for mixing of
274  C                 salt laterally ( m^2/s )  C                 salt laterally ( m^2/s )
275  C     diffKzS   - Laplacian diffusion coeff. for mixing of  C     diffKzS   - Laplacian diffusion coeff. for mixing of
276  C                 salt vertically ( m^2/s )  C                 salt vertically ( m^2/s )
277    C     diffKpS   - Laplacian diffusion coeff. for mixing of
278    C                 salt vertically ( Pa^2/s )
279    C     diffKrS   - Laplacian diffusion coeff. for mixing of
280    C                 salt vertically ( units of r^2/s )
281  C     diffK4S   - Biharmonic diffusion coeff. for mixing of  C     diffK4S   - Biharmonic diffusion coeff. for mixing of
282  C                 salt laterally ( m^4/s )  C                 salt laterally ( m^4/s )
 C     tAlpha    - Linear EOS thermal expansion coefficient ( 1/degree ).  
 C     sBeta     - Linear EOS haline contraction coefficient.  
283  C     deltaT    - Default timestep ( s )  C     deltaT    - Default timestep ( s )
284    C     deltaTClock  - Timestep used as model "clock". This determines the
285    C                    IO frequencies and is used in tagging output. It can
286    C                    be totally different to the dynamical time. Typically
287    C                    it will be the deep-water timestep for accelerated runs.
288    C                    Frequency of checkpointing and dumping of the model state
289    C                    are referenced to this clock. ( s )
290  C     deltaTMom    - Timestep for momemtum equations ( s )  C     deltaTMom    - Timestep for momemtum equations ( s )
291  C     deltaTtracer - Timestep for tracer equations ( s )  C     deltaTtracer - Timestep for tracer equations ( s )
292  C     tauCD     - CD scheme coupling timescale ( 1/s )  C     freesurfFac  - Parameter to turn implicit free surface term on or off
293  C     rCD       - CD scheme normalised coupling parameter ( 0-1 )  C                    freesurfac = 1. uses implicit free surface
294  C     startTime - Starting time for this integration ( s ).  C                    freesurfac = 0. uses rigid lid
295  C     endTime   - Ending time for this integration ( s ).  C     hFacMin      - Minimum fraction size of a cell (affects hFacC etc...)
296  C     chkPtFreq - Frequency of check pointing ( s ).  C     hFacMinDz    - Minimum dimesional size of a cell (affects hFacC etc..., m)
297  C     dumpFreq  - Frequency with which model state is written to  C     hFacMinDp    - Minimum dimesional size of a cell (affects hFacC etc..., Pa)
298  C                 post-processing files ( s ).  C     hFacMinDr    - Minimum dimesional size of a cell (affects hFacC etc..., units of r)
299        COMMON /PARM_R/ cg2dTargetResidual, delZ, delX, delY, deltaT,  C     tauCD        - CD scheme coupling timescale ( 1/s )
300       & deltaTmom, deltaTtracer, abeps, startTime, phiMin, thetaMin,  C     rCD          - CD scheme normalised coupling parameter ( 0-1 )
301       & rSphere, f0, fCori, beta, viscAh, viscAz, viscA4, diffKhT, diffKzT,  C     GMmaxslope    - max. slope allowed in GM/Redi tensor
302       & diffK4T, diffKhS, diffKzS, diffK4S, delT, tauCD, rCD,  C     GMlength      - Length to use in Visbeck et al. formula for K (m)
303       & tAlpha, sBeta, gravity, rhonil, tRef, sRef,  C     GMalpha       - alpha to use in Visbeck et al. formula for K
304       & endTime, chkPtFreq, dumpFreq  C     GMdepth       - Depth over which to integrate Richardson # (Visbeck et al.)
305        REAL cg2dTargetResidual  C     GMkbackground - background value of GM/Redi diffusion coefficient ( m^2/s )
306        REAL delZ(Nz)  C     GMmaxval      - max. value of KapGM allowed in GM/Redi scheme ( m^2/s )
307        REAL delX(Nx)  C     startTime     - Starting time for this integration ( s ).
308        REAL delY(Ny)  C     endTime       - Ending time for this integration ( s ).
309        REAL deltaT  C     chkPtFreq     - Frequency of rolling check pointing ( s ).
310        REAL deltaTmom  C     pChkPtFreq    - Frequency of permanent check pointing ( s ).
311        REAL deltaTtracer  C     dumpFreq      - Frequency with which model state is written to
312        REAL abeps  C                     post-processing files ( s ).
313        REAL phiMin  C     afFacMom      - Advection of momentum term tracer parameter
314        REAL thetaMin  C     vfFacMom      - Momentum viscosity tracer parameter
315        REAL rSphere  C     pfFacMom      - Momentum pressure forcing tracer parameter
316        REAL f0  C     cfFacMom      - Coriolis term tracer parameter
317        _RL  beta  C     foFacMom      - Momentum forcing tracer parameter
318        REAL viscAh  C     mtFacMom      - Metric terms tracer parameter
319        REAL viscAz  C     cAdjFreq      - Frequency of convective adjustment
320        REAL viscA4  C
321        REAL diffKhT  C     taveFreq      - Frequency with which time-averaged model state is written to
322        REAL diffKzT  C                     post-processing files ( s ).
323        REAL diffK4T  C     tauThetaClimRelax - Relaxation to climatology time scale ( s ).
324        REAL diffKhS  C     lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ).
325        REAL diffKzS  C     tauSaltClimRelax - Relaxation to climatology time scale ( s ).
326        REAL diffK4S  C     lambdaSaltClimRelax - Inverse time scale for relaxation ( 1/s ).
327        REAL delt  C     externForcingPeriod - Is the period of which forcing varies (eg. 1 month)
328        REAL tauCD  C     externForcingCycle - Is the repeat time of the forcing (eg. 1 year)
329        REAL rCD  C                          (note: externForcingCycle must be an integer
330        REAL tAlpha  C                           number times externForcingPeriod)
331        REAL sBeta  C     horiVertRatio      - Ratio on units in vertical to units in horizontal.
332        REAL gravity  C     recip_horiVertRatio  ( 1 if horiz in m and vertical in m ).
333        REAL rhonil  C                          ( g*rho if horiz in m and vertical in Pa ).
334        REAL tRef(Nz)  C     latFFTFiltLo       - Low latitude for FFT filtering of latitude
335        REAL sRef(Nz)  C                          circles ( see filter*.F )
336        real Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac,
337        REAL startTime       & cg3dTargetResidual,
338        REAL endTime       & delP, delZ, delR, delX, delY,
339        REAL chkPtFreq       & deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime,
340        REAL dumpFreq       & phiMin, thetaMin, rSphere, recip_RSphere, f0, fCori, beta,
341        COMMON /PARM_A/ HeatCapacity_Cp,       & viscAh,  viscAz,  viscA4,  viscAr,
342         & diffKhT, diffKzT, diffK4T, diffKrT,
343         & diffKhS, diffKzS, diffK4S, diffKrS,
344         & delT, tauCD, rCD, freeSurfFac, hFacMin, hFacMinDz,
345         & GMmaxslope,GMlength,GMalpha,GMdepth,GMkbackground,GMmaxval,
346         & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
347         & recip_rhoConst, rhoConst, tRef, sRef,
348         & endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq,
349         & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
350         & cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax,
351         & tauSaltClimRelax, lambdaSaltClimRelax,
352         & externForcingCycle, externForcingPeriod,
353         & viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp,
354         & theta_S, specVol_S, horiVertRatio, recip_horiVertRatio,
355         & latFFTFiltLo
356    
357          _RL cg2dTargetResidual
358          _RL cg3dTargetResidual
359          _RL cg2dpcOffDFac
360          _RL delZ(Nr)
361          _RL delP(Nr)
362          _RL delR(Nr)
363          _RL delX(Nx)
364          _RL delY(Ny)
365          _RL deltaT
366          _RL deltaTClock
367          _RL deltaTmom
368          _RL deltaTtracer
369          _RL abeps
370          _RL phiMin
371          _RL thetaMin
372          _RL rSphere
373          _RL recip_RSphere
374          _RL f0
375          _RL freeSurfFac
376          _RL hFacMin
377          _RL hFacMinDz
378          _RL hFacMinDp
379          _RL hFacMinDr
380          _RL beta
381          _RL viscAh
382          _RL viscAz
383          _RL viscAp
384          _RL viscAr
385          _RL viscA4
386          _RL diffKhT
387          _RL diffKrT
388          _RL diffKzT
389          _RL diffKpT
390          _RL diffK4T
391          _RL diffKhS
392          _RL diffKrS
393          _RL diffKzS
394          _RL diffKpS
395          _RL diffK4S
396          _RL delt
397          _RL tauCD
398          _RL rCD
399          _RL GMmaxslope
400          _RL GMlength
401          _RL GMalpha
402          _RL GMdepth
403          _RL GMkbackground
404          _RL GMmaxval
405          _RL gravity
406          _RL recip_gravity
407          _RL gBaro
408          _RL rhonil
409          _RL recip_rhonil
410          _RL rhoConst
411          _RL recip_rhoConst
412          _RL specVol_S(Nr)
413          _RL tRef(Nr)
414          _RL theta_S(Nr)
415          _RL sRef(Nr)
416          _RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
417          _RL startTime
418          _RL endTime
419          _RL chkPtFreq
420          _RL pChkPtFreq
421          _RL dumpFreq
422          _RL taveFreq
423          _RL afFacMom
424          _RL vfFacMom
425          _RL pfFacMom
426          _RL cfFacMom
427          _RL foFacMom
428          _RL mTFacMom
429          _RL cAdjFreq
430          _RL omega
431          _RL tauThetaClimRelax
432          _RL lambdaThetaClimRelax
433          _RL tauSaltClimRelax
434          _RL lambdaSaltClimRelax
435          _RL externForcingCycle
436          _RL externForcingPeriod
437          _RL horiVertRatio
438          _RL recip_horiVertRatio
439          _RL latFFTFiltLo
440    
441          COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp,
442       &                Lamba_theta       &                Lamba_theta
443        REAL HeatCapacity_Cp        _RL HeatCapacity_Cp
444        REAL Lamba_theta        _RL Lamba_theta
445          _RL recip_Cp
446    
447    C Equation of State (polynomial coeffients)
448          COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS
449          _RL eosC(9,Nr+1),eosSig0(Nr+1),eosRefT(Nr+1),eosRefS(Nr+1)
450    C Linear equation of state
451    C     tAlpha    - Linear EOS thermal expansion coefficient ( 1/degree ).
452    C     sBeta     - Linear EOS haline contraction coefficient.
453          COMMON /PARM_EOS_LIN/ tAlpha,sBeta,eosType
454          _RL tAlpha
455          _RL sBeta
456          character*(6) eosType
457    
458    C These are input arrays (of integers) that contain the *absolute*
459    C computational index of an open-boundary (OB) point.
460    C A zero (0) element means there is no corresponding OB in that column/row.
461    C The computational coordinate refers to "tracer" cells.
462    C For a northern/southern OB, the OB V point is to the south/north.
463    C For an eastern/western OB, the OB U point is to the west/east.
464    C eg.
465    C     OB_Jnorth(3)=34  means that:
466    C          T( 3 ,34) is a an OB point
467    C          U(3:4,34) is a an OB point
468    C          V( 4 ,34) is a an OB point
469    C while
470    C     OB_Jsouth(3)=1  means that:
471    C          T( 3 ,1) is a an OB point
472    C          U(3:4,1) is a an OB point
473    C          V( 4 ,2) is a an OB point
474    C
475    C For convenience, negative values for Jnorth/Ieast refer to
476    C points relative to the Northern/Eastern edges of the model
477    C eg. OB_Jnorth(3)=-1  means that the point (3,Ny-1) is a northern O-B.
478    C
479          COMMON /PARM_OB/
480         & OB_Jnorth,OB_Jsouth,OB_Ieast,OB_Iwest
481          INTEGER OB_Jnorth(Nx)
482          INTEGER OB_Jsouth(Nx)
483          INTEGER OB_Ieast(Ny)
484          INTEGER OB_Iwest(Ny)

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.22