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

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

  ViewVC Help
Powered by ViewVC 1.1.22