/[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.25 by cnh, Sat Aug 22 17:51:06 1998 UTC revision 1.29 by cnh, Sun Sep 6 14:45:10 1998 UTC
# Line 26  C                dumping model state. Line 26  C                dumping model state.
26        PARAMETER ( precFloat32 = 0 )        PARAMETER ( precFloat32 = 0 )
27        INTEGER precFloat64        INTEGER precFloat64
28        PARAMETER ( precFloat64 = 1 )        PARAMETER ( precFloat64 = 1 )
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     buoyancyRelation - Flag used to indicate which relation to use to
59    C                        get buoyancy.
60        COMMON /PARM_C/ checkPtSuff,        COMMON /PARM_C/ checkPtSuff,
61       &                bathyFile, hydrogThetaFile, hydrogSaltFile,       &                bathyFile, hydrogThetaFile, hydrogSaltFile,
62       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
63       &                saltClimFile       &                saltClimFile, buoyancyRelation
64        CHARACTER*(5) checkPtSuff(maxNoChkptLev)        CHARACTER*(5) checkPtSuff(maxNoChkptLev)
65        CHARACTER*(MAX_LEN_FNAM) bathyFile        CHARACTER*(MAX_LEN_FNAM) bathyFile
66        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile
# Line 56  C                       in relaxation te Line 69  C                       in relaxation te
69        CHARACTER*(MAX_LEN_FNAM) meridWindFile        CHARACTER*(MAX_LEN_FNAM) meridWindFile
70        CHARACTER*(MAX_LEN_FNAM) thetaClimFile        CHARACTER*(MAX_LEN_FNAM) thetaClimFile
71        CHARACTER*(MAX_LEN_FNAM) saltClimFile        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
# Line 127  C                        climatology is Line 141  C                        climatology is
141  C     doSaltClimRelax  - Set true if relaxation to salinity  C     doSaltClimRelax  - Set true if relaxation to salinity
142  C                        climatology is required.  C                        climatology is required.
143  C     periodicExternalForcing - Set true if forcing is time-dependant  C     periodicExternalForcing - Set true if forcing is time-dependant
144    C     usingPCoords     - Set to indicate that we are working in pressure
145    C                        coords.
146    C     usingZCoords     - Set to indicate that we are working in height
147    C                        coords.
148        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
149       & momViscosity, momAdvection, momForcing, useCoriolis, momPressureForcing,       & momViscosity, momAdvection, momForcing, useCoriolis, momPressureForcing,
150       & tempDiffusion, tempAdvection, tempForcing,       & tempDiffusion, tempAdvection, tempForcing,
# Line 136  C     periodicExternalForcing - Set true Line 154  C     periodicExternalForcing - Set true
154       & metricTerms, usingSphericalPolarMTerms,       & metricTerms, usingSphericalPolarMTerms,
155       & useConstantF, useBetaPlaneF, useSphereF,       & useConstantF, useBetaPlaneF, useSphereF,
156       & implicitDiffusion, doThetaClimRelax, doSaltClimRelax,       & implicitDiffusion, doThetaClimRelax, doSaltClimRelax,
157       & periodicExternalForcing       & periodicExternalForcing, usingPCoords, usingZCoords
158        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
159        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
160        LOGICAL usingSphericalPolarMTerms        LOGICAL usingSphericalPolarMTerms
# Line 164  C     periodicExternalForcing - Set true Line 182  C     periodicExternalForcing - Set true
182        LOGICAL doThetaClimRelax        LOGICAL doThetaClimRelax
183        LOGICAL doSaltClimRelax        LOGICAL doSaltClimRelax
184        LOGICAL periodicExternalForcing        LOGICAL periodicExternalForcing
185          LOGICAL usingPCoords
186          LOGICAL usingZCoords
187    
188  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
189  C     cg2dTargetResidual  C     cg2dTargetResidual
# Line 206  C     viscAh    - Eddy viscosity coeff. Line 226  C     viscAh    - Eddy viscosity coeff.
226  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
227  C     viscAz    - Eddy viscosity coeff. for mixing of  C     viscAz    - Eddy viscosity coeff. for mixing of
228  C                 momentum vertically ( m^2/s )  C                 momentum vertically ( m^2/s )
229    C     viscAp    - Eddy viscosity coeff. for mixing of
230    C                 momentum vertically ( Pa^2/s )
231  C     viscAr    - Eddy viscosity coeff. for mixing of  C     viscAr    - Eddy viscosity coeff. for mixing of
232  C                 momentum vertically ( units of r^2/s )  C                 momentum vertically ( units of r^2/s )
233  C     viscA4    - Biharmonic viscosity coeff. for mixing of  C     viscA4    - Biharmonic viscosity coeff. for mixing of
# Line 214  C     diffKhT   - Laplacian diffusion co Line 236  C     diffKhT   - Laplacian diffusion co
236  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
237  C     diffKzT   - Laplacian diffusion coeff. for mixing of  C     diffKzT   - Laplacian diffusion coeff. for mixing of
238  C                 heat vertically ( m^2/s )  C                 heat vertically ( m^2/s )
239    C     diffKpT   - Laplacian diffusion coeff. for mixing of
240    C                 heat vertically ( Pa^2/s )
241  C     diffKrT   - Laplacian diffusion coeff. for mixing of  C     diffKrT   - Laplacian diffusion coeff. for mixing of
242  C                 heat vertically ( units of r^2/s )  C                 heat vertically ( units of r^2/s )
243  C     diffK4T   - Biharmonic diffusion coeff. for mixing of  C     diffK4T   - Biharmonic diffusion coeff. for mixing of
# Line 222  C     diffKhS  -  Laplacian diffusion co Line 246  C     diffKhS  -  Laplacian diffusion co
246  C                 salt laterally ( m^2/s )  C                 salt laterally ( m^2/s )
247  C     diffKzS   - Laplacian diffusion coeff. for mixing of  C     diffKzS   - Laplacian diffusion coeff. for mixing of
248  C                 salt vertically ( m^2/s )  C                 salt vertically ( m^2/s )
249    C     diffKpS   - Laplacian diffusion coeff. for mixing of
250    C                 salt vertically ( Pa^2/s )
251  C     diffKrS   - Laplacian diffusion coeff. for mixing of  C     diffKrS   - Laplacian diffusion coeff. for mixing of
252  C                 salt vertically ( units of r^2/s )  C                 salt vertically ( units of r^2/s )
253  C     diffK4S   - Biharmonic diffusion coeff. for mixing of  C     diffK4S   - Biharmonic diffusion coeff. for mixing of
# Line 240  C                    freesurfac = 1. use Line 266  C                    freesurfac = 1. use
266  C                    freesurfac = 0. uses rigid lid  C                    freesurfac = 0. uses rigid lid
267  C     hFacMin      - Minimum fraction size of a cell (affects hFacC etc...)  C     hFacMin      - Minimum fraction size of a cell (affects hFacC etc...)
268  C     hFacMinDz    - Minimum dimesional size of a cell (affects hFacC etc..., m)  C     hFacMinDz    - Minimum dimesional size of a cell (affects hFacC etc..., m)
269    C     hFacMinDp    - Minimum dimesional size of a cell (affects hFacC etc..., Pa)
270  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)
271  C     tauCD        - CD scheme coupling timescale ( 1/s )  C     tauCD        - CD scheme coupling timescale ( 1/s )
272  C     rCD          - CD scheme normalised coupling parameter ( 0-1 )  C     rCD          - CD scheme normalised coupling parameter ( 0-1 )
273  C     GMmaxslope   - max. slope allowed in GM/Redi tensor  C     GMmaxslope    - max. slope allowed in GM/Redi tensor
274  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)
275  C     GMalpha      - alpha to use in Visbeck et al. formula for K  C     GMalpha       - alpha to use in Visbeck et al. formula for K
276  C     GMdepth      - Depth over which to integrate Richardson # (Visbeck et al.)  C     GMdepth       - Depth over which to integrate Richardson # (Visbeck et al.)
277  C     GMkbackground - background value of GM/Redi diffusion coefficient ( m^2/s )  C     GMkbackground - background value of GM/Redi diffusion coefficient ( m^2/s )
278  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 )
279  C     startTime     - Starting time for this integration ( s ).  C     startTime     - Starting time for this integration ( s ).
# Line 263  C     foFacMom      - Momentum forcing t Line 290  C     foFacMom      - Momentum forcing t
290  C     mtFacMom      - Metric terms tracer parameter  C     mtFacMom      - Metric terms tracer parameter
291  C     cAdjFreq      - Frequency of convective adjustment  C     cAdjFreq      - Frequency of convective adjustment
292  C  C
293  C     taveFreq  - Frequency with which time-averaged model state is written to  C     taveFreq      - Frequency with which time-averaged model state is written to
294  C                 post-processing files ( s ).  C                     post-processing files ( s ).
295  C     tauThetaClimRelax - Relaxation to climatology time scale ( s ).  C     tauThetaClimRelax - Relaxation to climatology time scale ( s ).
296  C     lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ).  C     lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ).
297  C     tauSaltClimRelax - Relaxation to climatology time scale ( s ).  C     tauSaltClimRelax - Relaxation to climatology time scale ( s ).
# Line 280  C                           number times Line 307  C                           number times
307       & viscAh,  viscAz,  viscA4,  viscAr,       & viscAh,  viscAz,  viscA4,  viscAr,
308       & diffKhT, diffKzT, diffK4T, diffKrT,       & diffKhT, diffKzT, diffK4T, diffKrT,
309       & diffKhS, diffKzS, diffK4S, diffKrS,       & diffKhS, diffKzS, diffK4S, diffKrS,
310       & delT, tauCD, rCD, freeSurfFac, hFacMin, hFacMinDz,       & delT, tauCD, rCD, freeSurfFac, hFacMin, hFacMinDz,
311       & GMmaxslope,GMlength,GMalpha,GMdepth,GMkbackground,GMmaxval,       & GMmaxslope,GMlength,GMalpha,GMdepth,GMkbackground,GMmaxval,
312       & gravity, gBaro, rhonil, recip_rhonil, rhoConst, tRef, sRef,       & gravity, gBaro, rhonil, recip_rhonil,
313         & recip_rhoConst, rhoConst, tRef, sRef,
314       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq,       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq,
315       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
316       & cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax,       & cAdjFreq, omega, tauThetaClimRelax, lambdaThetaClimRelax,
317       & tauSaltClimRelax, lambdaSaltClimRelax,       & tauSaltClimRelax, lambdaSaltClimRelax,
318       & externForcingCycle, externForcingPeriod       & externForcingCycle, externForcingPeriod,
319         & viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp,
320         & theta_S, specVol_S
321    
322        _RL cg2dTargetResidual        _RL cg2dTargetResidual
323        _RL cg2dpcOffDFac        _RL cg2dpcOffDFac
324        _RL delZ(Nr)        _RL delZ(Nr)
# Line 308  C                           number times Line 339  C                           number times
339        _RL freeSurfFac        _RL freeSurfFac
340        _RL hFacMin        _RL hFacMin
341        _RL hFacMinDz        _RL hFacMinDz
342          _RL hFacMinDp
343          _RL hFacMinDr
344        _RL beta        _RL beta
345        _RL viscAh        _RL viscAh
346        _RL viscAz        _RL viscAz
347          _RL viscAp
348        _RL viscAr        _RL viscAr
349        _RL viscA4        _RL viscA4
350        _RL diffKhT        _RL diffKhT
351        _RL diffKrT        _RL diffKrT
352        _RL diffKzT        _RL diffKzT
353          _RL diffKpT
354        _RL diffK4T        _RL diffK4T
355        _RL diffKhS        _RL diffKhS
356        _RL diffKrS        _RL diffKrS
357        _RL diffKzS        _RL diffKzS
358          _RL diffKpS
359        _RL diffK4S        _RL diffK4S
360        _RL delt        _RL delt
361        _RL tauCD        _RL tauCD
# Line 335  C                           number times Line 371  C                           number times
371        _RL rhonil        _RL rhonil
372        _RL recip_rhonil        _RL recip_rhonil
373        _RL rhoConst        _RL rhoConst
374          _RL recip_rhoConst
375          _RL specVol_S(Nr)
376        _RL tRef(Nr)        _RL tRef(Nr)
377          _RL theta_S(Nr)
378        _RL sRef(Nr)        _RL sRef(Nr)
379        _RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RS Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
380        _RL startTime        _RL startTime

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.22