/[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.37 by adcroft, Mon Mar 22 15:54:03 1999 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     \==========================================================/
# Line 23  C     Symbolic values Line 23  C     Symbolic values
23  C     precXXXX - Used to indicate what precision to use for  C     precXXXX - Used to indicate what precision to use for
24  C                dumping model state.  C                dumping model state.
25        INTEGER precFloat32        INTEGER precFloat32
26        PARAMETER ( precFloat32 = 0 )        PARAMETER ( precFloat32 = 32 )
27        INTEGER precFloat64        INTEGER precFloat64
28        PARAMETER ( precFloat64 = 1 )        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  C     Checkpoint data
42        INTEGER maxNoChkptLev        INTEGER maxNoChkptLev
# Line 44  C     thetaClimFile   - File containing Line 55  C     thetaClimFile   - File containing
55  C                       in relaxation term -lambda(theta-theta*)  C                       in relaxation term -lambda(theta-theta*)
56  C     saltClimFile    - File containing salt climataology used  C     saltClimFile    - File containing salt climataology used
57  C                       in relaxation term -lambda(salt-salt*)  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,        COMMON /PARM_C/ checkPtSuff,
63       &                bathyFile, hydrogThetaFile, hydrogSaltFile,       &                bathyFile, hydrogThetaFile, hydrogSaltFile,
64       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
65       &                saltClimFile       &                saltClimFile, buoyancyRelation,
66         &                EmPmRfile,surfQfile
67        CHARACTER*(5) checkPtSuff(maxNoChkptLev)        CHARACTER*(5) checkPtSuff(maxNoChkptLev)
68        CHARACTER*(MAX_LEN_FNAM) bathyFile        CHARACTER*(MAX_LEN_FNAM) bathyFile
69        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile
# Line 56  C                       in relaxation te Line 72  C                       in relaxation te
72        CHARACTER*(MAX_LEN_FNAM) meridWindFile        CHARACTER*(MAX_LEN_FNAM) meridWindFile
73        CHARACTER*(MAX_LEN_FNAM) thetaClimFile        CHARACTER*(MAX_LEN_FNAM) thetaClimFile
74        CHARACTER*(MAX_LEN_FNAM) saltClimFile        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
# Line 70  C     writeStatePrec      - Precision us Line 93  C     writeStatePrec      - Precision us
93  C     writeBinaryPrec     - Precision used for writing binary files  C     writeBinaryPrec     - Precision used for writing binary files
94  C     readBinaryPrec      - Precision used for reading binary files  C     readBinaryPrec      - Precision used for reading binary files
95  C     nCheckLev           - Holds current checkpoint level  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,       &        writeStatePrec, nCheckLev,
111       &        writeBinaryPrec, readBinaryPrec       &        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
# Line 86  C     nCheckLev           - Holds curren Line 121  C     nCheckLev           - Holds curren
121        INTEGER writeBinaryPrec        INTEGER writeBinaryPrec
122        INTEGER readBinaryPrec        INTEGER readBinaryPrec
123        INTEGER nCheckLev        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
# Line 127  C                        climatology is Line 165  C                        climatology is
165  C     doSaltClimRelax  - Set true if relaxation to salinity  C     doSaltClimRelax  - Set true if relaxation to salinity
166  C                        climatology is required.  C                        climatology is required.
167  C     periodicExternalForcing - Set true if forcing is time-dependant  C     periodicExternalForcing - Set true if forcing is time-dependant
168    C     usingPCoords     - Set to indicate that we are working in pressure
169    C                        coords.
170    C     usingZCoords     - Set to indicate that we are working in height
171    C                        coords.
172    C     openBoundaries - Using open-boundaries
173    C     nonHydrostatic - Using non-hydrostatic terms
174        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
175       & momViscosity, momAdvection, momForcing, useCoriolis, momPressureForcing,       & no_slip_sides,no_slip_bottom,
176       & tempDiffusion, tempAdvection, tempForcing,       & momViscosity, momAdvection, momForcing, useCoriolis,
177         & momPressureForcing,tempDiffusion, tempAdvection, tempForcing,
178       & saltDiffusion, saltAdvection, saltForcing,       & saltDiffusion, saltAdvection, saltForcing,
179       & implicitFreeSurface, rigidLid,       & implicitFreeSurface, rigidLid,
180       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
181       & metricTerms, usingSphericalPolarMTerms,       & metricTerms, usingSphericalPolarMTerms,
182       & useConstantF, useBetaPlaneF, useSphereF,       & useConstantF, useBetaPlaneF, useSphereF,
183       & implicitDiffusion, doThetaClimRelax, doSaltClimRelax,       & implicitDiffusion, doThetaClimRelax, doSaltClimRelax,
184       & periodicExternalForcing       & periodicExternalForcing, usingPCoords, usingZCoords,
185         & openBoundaries, nonHydrostatic
186        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
187        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
188        LOGICAL usingSphericalPolarMTerms        LOGICAL usingSphericalPolarMTerms
189          LOGICAL no_slip_sides
190          LOGICAL no_slip_bottom
191        LOGICAL momViscosity        LOGICAL momViscosity
192        LOGICAL momAdvection        LOGICAL momAdvection
193        LOGICAL momForcing        LOGICAL momForcing
# Line 164  C     periodicExternalForcing - Set true Line 212  C     periodicExternalForcing - Set true
212        LOGICAL doThetaClimRelax        LOGICAL doThetaClimRelax
213        LOGICAL doSaltClimRelax        LOGICAL doSaltClimRelax
214        LOGICAL periodicExternalForcing        LOGICAL periodicExternalForcing
215          LOGICAL usingPCoords
216          LOGICAL usingZCoords
217          LOGICAL openBoundaries
218          LOGICAL nonHydrostatic
219    
220  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
221  C     cg2dTargetResidual  C     cg2dTargetResidual
222  C               - Target residual for cg2d solver.  C               - Target residual for cg2d solver.
223    C     cg3dTargetResidual
224    C               - Target residual for cg3d solver.
225  C     cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal.  C     cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal.
226  C     Note. 20th May 1998  C     Note. 20th May 1998
227  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 238  C           For now I have introduced a
238  C           defaults to 0.51 but can be set at runtime.  C           defaults to 0.51 but can be set at runtime.
239  C     delP      - Vertical grid spacing ( Pa ).  C     delP      - Vertical grid spacing ( Pa ).
240  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 )  
241  C     delR      - Vertical grid spacing ( units of r ).  C     delR      - Vertical grid spacing ( units of r ).
242  C     delX      - Separation between cell faces (m) or (deg), depending  C     delX      - Separation between cell faces (m) or (deg), depending
243  C     delY        on input flags.  C     delY        on input flags.
244  C     gravity   - Accel. due to gravity ( m/s^2 )  C     gravity   - Accel. due to gravity ( m/s^2 )
245    C     recip_gravity and its inverse
246  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 )
247  C     ronil     - Reference density  C     ronil     - Reference density
248  C     rhoConst  - Vertically constant reference density  C     rhoConst  - Vertically constant reference density
# Line 201  C     thetaMin  - Longitude of western m Line 252  C     thetaMin  - Longitude of western m
252  C                 is an "inert" parameter but it is included  C                 is an "inert" parameter but it is included
253  C                 to make geographical references simple.)  C                 to make geographical references simple.)
254  C     rSphere   - Radius of sphere for a spherical polar grid ( m ).  C     rSphere   - Radius of sphere for a spherical polar grid ( m ).
255  C     rRSphere  - Reciprocal radius of sphere for a spherical polar grid ( m ).  C     recip_RSphere  - Reciprocal radius of sphere ( m ).
256  C     f0        - Reference coriolis parameter ( 1/s )  C     f0        - Reference coriolis parameter ( 1/s )
257  C                 ( Southern edge f for beta plane )  C                 ( Southern edge f for beta plane )
258  C     beta      - df/dy ( s^-1.m^-1 )  C     beta      - df/dy ( s^-1.m^-1 )
# Line 210  C     viscAh    - Eddy viscosity coeff. Line 261  C     viscAh    - Eddy viscosity coeff.
261  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
262  C     viscAz    - Eddy viscosity coeff. for mixing of  C     viscAz    - Eddy viscosity coeff. for mixing of
263  C                 momentum vertically ( m^2/s )  C                 momentum vertically ( m^2/s )
264    C     viscAp    - Eddy viscosity coeff. for mixing of
265    C                 momentum vertically ( Pa^2/s )
266  C     viscAr    - Eddy viscosity coeff. for mixing of  C     viscAr    - Eddy viscosity coeff. for mixing of
267  C                 momentum vertically ( units of r^2/s )  C                 momentum vertically ( units of r^2/s )
268  C     viscA4    - Biharmonic viscosity coeff. for mixing of  C     viscA4    - Biharmonic viscosity coeff. for mixing of
# Line 218  C     diffKhT   - Laplacian diffusion co Line 271  C     diffKhT   - Laplacian diffusion co
271  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
272  C     diffKzT   - Laplacian diffusion coeff. for mixing of  C     diffKzT   - Laplacian diffusion coeff. for mixing of
273  C                 heat vertically ( m^2/s )  C                 heat vertically ( m^2/s )
274    C     diffKpT   - Laplacian diffusion coeff. for mixing of
275    C                 heat vertically ( Pa^2/s )
276  C     diffKrT   - Laplacian diffusion coeff. for mixing of  C     diffKrT   - Laplacian diffusion coeff. for mixing of
277  C                 heat vertically ( units of r^2/s )  C                 heat vertically ( units of r^2/s )
278  C     diffK4T   - Biharmonic diffusion coeff. for mixing of  C     diffK4T   - Biharmonic diffusion coeff. for mixing of
# Line 226  C     diffKhS  -  Laplacian diffusion co Line 281  C     diffKhS  -  Laplacian diffusion co
281  C                 salt laterally ( m^2/s )  C                 salt laterally ( m^2/s )
282  C     diffKzS   - Laplacian diffusion coeff. for mixing of  C     diffKzS   - Laplacian diffusion coeff. for mixing of
283  C                 salt vertically ( m^2/s )  C                 salt vertically ( m^2/s )
284    C     diffKpS   - Laplacian diffusion coeff. for mixing of
285    C                 salt vertically ( Pa^2/s )
286  C     diffKrS   - Laplacian diffusion coeff. for mixing of  C     diffKrS   - Laplacian diffusion coeff. for mixing of
287  C                 salt vertically ( units of r^2/s )  C                 salt vertically ( units of r^2/s )
288  C     diffK4S   - Biharmonic diffusion coeff. for mixing of  C     diffK4S   - Biharmonic diffusion coeff. for mixing of
# Line 244  C                    freesurfac = 1. use Line 301  C                    freesurfac = 1. use
301  C                    freesurfac = 0. uses rigid lid  C                    freesurfac = 0. uses rigid lid
302  C     hFacMin      - Minimum fraction size of a cell (affects hFacC etc...)  C     hFacMin      - Minimum fraction size of a cell (affects hFacC etc...)
303  C     hFacMinDz    - Minimum dimesional size of a cell (affects hFacC etc..., m)  C     hFacMinDz    - Minimum dimesional size of a cell (affects hFacC etc..., m)
304    C     hFacMinDp    - Minimum dimesional size of a cell (affects hFacC etc..., Pa)
305  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)
306  C     tauCD        - CD scheme coupling timescale ( 1/s )  C     tauCD        - CD scheme coupling timescale ( 1/s )
307  C     rCD          - CD scheme normalised coupling parameter ( 0-1 )  C     rCD          - CD scheme normalised coupling parameter ( 0-1 )
308  C     GMmaxslope   - max. slope allowed in GM/Redi tensor  C     GMmaxslope    - max. slope allowed in GM/Redi tensor
309  C     GMlength     - Length to use in Visbeck et al. formula for K (m)  C     GMlength      - Length to use in Visbeck et al. formula for K (m)
310  C     GMalpha      - alpha to use in Visbeck et al. formula for K  C     GMalpha       - alpha to use in Visbeck et al. formula for K
311  C     GMdepth      - Depth over which to integrate Richardson # (Visbeck et al.)  C     GMdepth       - Depth over which to integrate Richardson # (Visbeck et al.)
312  C     GMkbackground - background value of GM/Redi diffusion coefficient ( m^2/s )  C     GMkbackground - background value of GM/Redi diffusion coefficient ( m^2/s )
313  C     GMmaxval      - max. value of KapGM allowed in GM/Redi scheme ( m^2/s )  C     GMmaxval      - max. value of KapGM allowed in GM/Redi scheme ( m^2/s )
314  C     startTime     - Starting time for this integration ( s ).  C     startTime     - Starting time for this integration ( s ).
# Line 267  C     foFacMom      - Momentum forcing t Line 325  C     foFacMom      - Momentum forcing t
325  C     mtFacMom      - Metric terms tracer parameter  C     mtFacMom      - Metric terms tracer parameter
326  C     cAdjFreq      - Frequency of convective adjustment  C     cAdjFreq      - Frequency of convective adjustment
327  C  C
328  C     taveFreq  - Frequency with which time-averaged model state is written to  C     taveFreq      - Frequency with which time-averaged model state is written to
329  C                 post-processing files ( s ).  C                     post-processing files ( s ).
330  C     tauThetaClimRelax - Relaxation to climatology time scale ( s ).  C     tauThetaClimRelax - Relaxation to climatology time scale ( s ).
331  C     lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ).  C     lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ).
332  C     tauSaltClimRelax - Relaxation to climatology time scale ( s ).  C     tauSaltClimRelax - Relaxation to climatology time scale ( s ).
# Line 277  C     externForcingPeriod - Is the perio Line 335  C     externForcingPeriod - Is the perio
335  C     externForcingCycle - Is the repeat time of the forcing (eg. 1 year)  C     externForcingCycle - Is the repeat time of the forcing (eg. 1 year)
336  C                          (note: externForcingCycle must be an integer  C                          (note: externForcingCycle must be an integer
337  C                           number times externForcingPeriod)  C                           number times externForcingPeriod)
338    C     horiVertRatio      - Ratio on units in vertical to units in horizontal.
339    C     recip_horiVertRatio  ( 1 if horiz in m and vertical in m ).
340    C                          ( g*rho if horiz in m and vertical in Pa ).
341    C     latFFTFiltLo       - Low latitude for FFT filtering of latitude
342    C                          circles ( see filter*.F )
343        COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac,        COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac,
344         & cg3dTargetResidual,
345       & delP, delZ, delR, delX, delY,       & delP, delZ, delR, delX, delY,
346       & deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, phiMin,       & deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime,
347       & thetaMin, rSphere, rRSphere, f0, fCori, beta,       & phiMin, thetaMin, rSphere, recip_RSphere, f0, fCori, beta,
348       & viscAh,  viscAz,  viscA4,  viscAr,       & viscAh,  viscAz,  viscA4,  viscAr,
349       & diffKhT, diffKzT, diffK4T, diffKrT,       & diffKhT, diffKzT, diffK4T, diffKrT,
350       & diffKhS, diffKzS, diffK4S, diffKsT,       & diffKhS, diffKzS, diffK4S, diffKrS,
351       & delT, tauCD, rCD, freeSurfFac, hFacMin, hFacMinDz,       & delT, tauCD, rCD, freeSurfFac, hFacMin, hFacMinDz,
352       & GMmaxslope,GMlength,GMalpha,GMdepth,GMkbackground,GMmaxval,       & GMmaxslope,GMlength,GMalpha,GMdepth,GMkbackground,GMmaxval,
353       & gravity, gBaro, rhonil, tRef, sRef,       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
354         & recip_rhoConst, rhoConst, tRef, sRef,
355       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq,       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq,
356       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
357       & cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax,       & cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax,
358       & tauSaltClimRelax, lambdaSaltClimRelax,       & tauSaltClimRelax, lambdaSaltClimRelax,
359       & externForcingCycle, externForcingPeriod       & externForcingCycle, externForcingPeriod,
360         & viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp,
361         & theta_S, specVol_S, horiVertRatio, recip_horiVertRatio,
362         & latFFTFiltLo
363    
364        _RL cg2dTargetResidual        _RL cg2dTargetResidual
365          _RL cg3dTargetResidual
366        _RL cg2dpcOffDFac        _RL cg2dpcOffDFac
367        _RL delR(Nz)        _RL delZ(Nr)
368          _RL delP(Nr)
369          _RL delR(Nr)
370        _RL delX(Nx)        _RL delX(Nx)
371        _RL delY(Ny)        _RL delY(Ny)
372        _RL deltaT        _RL deltaT
# Line 305  C                           number times Line 377  C                           number times
377        _RL phiMin        _RL phiMin
378        _RL thetaMin        _RL thetaMin
379        _RL rSphere        _RL rSphere
380        _RL rRSphere        _RL recip_RSphere
381        _RL f0        _RL f0
382        _RL freeSurfFac        _RL freeSurfFac
383        _RL hFacMin        _RL hFacMin
384        _RL hFacMinDz        _RL hFacMinDz
385          _RL hFacMinDp
386          _RL hFacMinDr
387        _RL beta        _RL beta
388        _RL viscAh        _RL viscAh
389        _RL viscAz        _RL viscAz
390          _RL viscAp
391          _RL viscAr
392        _RL viscA4        _RL viscA4
393        _RL diffKhT        _RL diffKhT
394          _RL diffKrT
395        _RL diffKzT        _RL diffKzT
396          _RL diffKpT
397        _RL diffK4T        _RL diffK4T
398        _RL diffKhS        _RL diffKhS
399          _RL diffKrS
400        _RL diffKzS        _RL diffKzS
401          _RL diffKpS
402        _RL diffK4S        _RL diffK4S
403        _RL delt        _RL delt
404        _RL tauCD        _RL tauCD
# Line 330  C                           number times Line 410  C                           number times
410        _RL GMkbackground        _RL GMkbackground
411        _RL GMmaxval        _RL GMmaxval
412        _RL gravity        _RL gravity
413          _RL recip_gravity
414        _RL gBaro        _RL gBaro
415        _RL rhonil        _RL rhonil
416        _RL tRef(Nz)        _RL recip_rhonil
417        _RL sRef(Nz)        _RL rhoConst
418          _RL recip_rhoConst
419          _RL specVol_S(Nr)
420          _RL tRef(Nr)
421          _RL theta_S(Nr)
422          _RL sRef(Nr)
423        _RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
424        _RL startTime        _RL startTime
425        _RL endTime        _RL endTime
# Line 355  C                           number times Line 441  C                           number times
441        _RL lambdaSaltClimRelax        _RL lambdaSaltClimRelax
442        _RL externForcingCycle        _RL externForcingCycle
443        _RL externForcingPeriod        _RL externForcingPeriod
444          _RL horiVertRatio
445          _RL recip_horiVertRatio
446          _RL latFFTFiltLo
447    
448        COMMON /PARM_A/ HeatCapacity_Cp,        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp,
449       &                Lamba_theta       &                Lamba_theta
450        _RL HeatCapacity_Cp        _RL HeatCapacity_Cp
451        _RL Lamba_theta        _RL Lamba_theta
452          _RL recip_Cp
453    
454  C Equation of State (polynomial coeffients)  C Equation of State (polynomial coeffients)
455        COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS        COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS
456        _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)
457  C Linear equation of state  C Linear equation of state
458  C     tAlpha    - Linear EOS thermal expansion coefficient ( 1/degree ).  C     tAlpha    - Linear EOS thermal expansion coefficient ( 1/degree ).
459  C     sBeta     - Linear EOS haline contraction coefficient.  C     sBeta     - Linear EOS haline contraction coefficient.
# Line 372  C     sBeta     - Linear EOS haline cont Line 462  C     sBeta     - Linear EOS haline cont
462        _RL sBeta        _RL sBeta
463        character*(6) eosType        character*(6) eosType
464    
465    C These are input arrays (of integers) that contain the *absolute*
466    C computational index of an open-boundary (OB) point.
467    C A zero (0) element means there is no corresponding OB in that column/row.
468    C The computational coordinate refers to "tracer" cells.
469    C For a northern/southern OB, the OB V point is to the south/north.
470    C For an eastern/western OB, the OB U point is to the west/east.
471    C eg.
472    C     OB_Jnorth(3)=34  means that:
473    C          T( 3 ,34) is a an OB point
474    C          U(3:4,34) is a an OB point
475    C          V( 4 ,34) is a an OB point
476    C while
477    C     OB_Jsouth(3)=1  means that:
478    C          T( 3 ,1) is a an OB point
479    C          U(3:4,1) is a an OB point
480    C          V( 4 ,2) is a an OB point
481    C
482    C For convenience, negative values for Jnorth/Ieast refer to
483    C points relative to the Northern/Eastern edges of the model
484    C eg. OB_Jnorth(3)=-1  means that the point (3,Ny-1) is a northern O-B.
485    C
486          COMMON /PARM_OB/
487         & OB_Jnorth,OB_Jsouth,OB_Ieast,OB_Iwest
488          INTEGER OB_Jnorth(Nx)
489          INTEGER OB_Jsouth(Nx)
490          INTEGER OB_Ieast(Ny)
491          INTEGER OB_Iwest(Ny)

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

  ViewVC Help
Powered by ViewVC 1.1.22