/[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.82 by cheisey, Thu Nov 21 19:11:42 2002 UTC revision 1.88 by jmc, Mon Mar 17 16:59:38 2003 UTC
# Line 73  C     pLoadFile       :: File containing Line 73  C     pLoadFile       :: File containing
73  C     buoyancyRelation :: Flag used to indicate which relation to use to  C     buoyancyRelation :: Flag used to indicate which relation to use to
74  C                        get buoyancy.  C                        get buoyancy.
75  C     eosType         :: choose the equation of state:  C     eosType         :: choose the equation of state:
76  C                        LINEAR, POLY3, UNESCO, JMD95Z, JMD95P  C                        LINEAR, POLY3, UNESCO, JMD95Z, JMD95P, MDJWF, IDEALGAS
77        COMMON /PARM_C/ checkPtSuff,        COMMON /PARM_C/ checkPtSuff,
78       &                bathyFile, topoFile,       &                bathyFile, topoFile,
79       &                hydrogThetaFile, hydrogSaltFile,       &                hydrogThetaFile, hydrogSaltFile,
# Line 121  C     readBinaryPrec      :: Precision u Line 121  C     readBinaryPrec      :: Precision u
121  C     nCheckLev           :: Holds current checkpoint level  C     nCheckLev           :: Holds current checkpoint level
122  C     nonlinFreeSurf      :: option related to non-linear free surface  C     nonlinFreeSurf      :: option related to non-linear free surface
123  C                           =0 Linear free surface ; >0 Non-linear  C                           =0 Linear free surface ; >0 Non-linear
124    C     select_rStar        :: option related to r* vertical coordinate
125    C                           =0 (default) use r coord. ; > 0 use r*
126    
127        COMMON /PARM_I/        COMMON /PARM_I/
128       &        cg2dMaxIters,       &        cg2dMaxIters,
# Line 131  C                           =0 Linear fr Line 133  C                           =0 Linear fr
133       &        numStepsPerPickup,       &        numStepsPerPickup,
134       &        writeStatePrec, nCheckLev,       &        writeStatePrec, nCheckLev,
135       &        writeBinaryPrec, readBinaryPrec,       &        writeBinaryPrec, readBinaryPrec,
136       &        nonlinFreeSurf,       &        nonlinFreeSurf, select_rStar,
137       &        tempAdvScheme, saltAdvScheme, tracerAdvScheme       &        tempAdvScheme, saltAdvScheme, tracerAdvScheme
138        INTEGER cg2dMaxIters        INTEGER cg2dMaxIters
139        INTEGER cg2dChkResFreq        INTEGER cg2dChkResFreq
# Line 146  C                           =0 Linear fr Line 148  C                           =0 Linear fr
148        INTEGER readBinaryPrec        INTEGER readBinaryPrec
149        INTEGER nCheckLev        INTEGER nCheckLev
150        INTEGER nonlinFreeSurf        INTEGER nonlinFreeSurf
151          INTEGER select_rStar
152        INTEGER tempAdvScheme        INTEGER tempAdvScheme
153        INTEGER saltAdvScheme        INTEGER saltAdvScheme
154        INTEGER tracerAdvScheme        INTEGER tracerAdvScheme
# Line 207  C     doSaltClimRelax  :: Set true if re Line 210  C     doSaltClimRelax  :: Set true if re
210  C                        climatology is required.  C                        climatology is required.
211  C     periodicExternalForcing :: Set true if forcing is time-dependant  C     periodicExternalForcing :: Set true if forcing is time-dependant
212  C     usingPCoords     :: Set to indicate that we are working in pressure  C     usingPCoords     :: Set to indicate that we are working in pressure
213  C                        coords.  C                        coords. (jmc: is it still used ?)
214  C     usingZCoords     :: Set to indicate that we are working in height  C     usingZCoords     :: Set to indicate that we are working in height
215  C                        coords.  C                        coords. (jmc: is it still used ?)
216    C     useDynP_inEos_Zc :: use the dynamical pressure in EOS (with Z-coord.)
217    C                         this requires specific code for restart & exchange
218  C     setCenterDr    :: set cell Center depth and put Interface at the middle  C     setCenterDr    :: set cell Center depth and put Interface at the middle
219  C     nonHydrostatic :: Using non-hydrostatic terms  C     nonHydrostatic :: Using non-hydrostatic terms
220  C     quasiHydrostatic :: Using non-hydrostatic terms in hydrostatic algorithm  C     quasiHydrostatic :: Using non-hydrostatic terms in hydrostatic algorithm
221  C     globalFiles    :: Selects between "global" and "tiled" files  C     globalFiles    :: Selects between "global" and "tiled" files
222    C     useSingleCpuIO :: On SGI platforms, option globalFiles is either
223    C                       slow (f77) or does not work (f90).  When
224    C                       useSingleCpuIO is set, mdsio_writefield.F
225    C                       outputs from master mpi process only.
226  C     allowFreezing  :: Allows water to freeze and form ice  C     allowFreezing  :: Allows water to freeze and form ice
227  C     groundAtK1  :: put the surface(k=1) at the Lower Boundary (=ground)  C     groundAtK1  :: put the surface(k=1) at the Lower Boundary (=ground)
228        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
# Line 234  C     groundAtK1  :: put the surface(k=1 Line 243  C     groundAtK1  :: put the surface(k=1
243       & multiDimAdvection, forcing_In_AB,       & multiDimAdvection, forcing_In_AB,
244       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,
245       & periodicExternalForcing,       & periodicExternalForcing,
246       & usingPCoords, usingZCoords, setCenterDr,       & usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr,
247       & nonHydrostatic, quasiHydrostatic, globalFiles,       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,
248       & allowFreezing, groundAtK1,       & allowFreezing, groundAtK1,
249       & usePickupBeforeC35, debugMode,       & usePickupBeforeC35, debugMode,
250       & readPickupWithTracer, writePickupWithTracer       & readPickupWithTracer, writePickupWithTracer
# Line 284  C     groundAtK1  :: put the surface(k=1 Line 293  C     groundAtK1  :: put the surface(k=1
293        LOGICAL periodicExternalForcing        LOGICAL periodicExternalForcing
294        LOGICAL usingPCoords        LOGICAL usingPCoords
295        LOGICAL usingZCoords        LOGICAL usingZCoords
296          LOGICAL useDynP_inEos_Zc
297        LOGICAL setCenterDr        LOGICAL setCenterDr
298        LOGICAL nonHydrostatic        LOGICAL nonHydrostatic
299        LOGICAL quasiHydrostatic        LOGICAL quasiHydrostatic
300        LOGICAL globalFiles        LOGICAL globalFiles
301          LOGICAL useSingleCpuIO
302        LOGICAL allowFreezing        LOGICAL allowFreezing
303        LOGICAL groundAtK1        LOGICAL groundAtK1
304        LOGICAL usePickupBeforeC35        LOGICAL usePickupBeforeC35
# Line 339  C     f0        :: Reference coriolis pa Line 350  C     f0        :: Reference coriolis pa
350  C                 ( Southern edge f for beta plane )  C                 ( Southern edge f for beta plane )
351  C     beta      :: df/dy ( s^-1.m^-1 )  C     beta      :: df/dy ( s^-1.m^-1 )
352  C     omega     :: Angular velocity ( rad/s )  C     omega     :: Angular velocity ( rad/s )
353    C     rotationPeriod :: Rotation period (s) (= 2.pi/omega)
354  C     viscAh    :: Eddy viscosity coeff. for mixing of  C     viscAh    :: Eddy viscosity coeff. for mixing of
355  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
356  C     viscAz    :: Eddy viscosity coeff. for mixing of  C     viscAz    :: Eddy viscosity coeff. for mixing of
# Line 457  C      --"-"--  Quadratic  ( linear: 1/s Line 469  C      --"-"--  Quadratic  ( linear: 1/s
469       & endTime, chkPtFreq, pchkPtFreq, dumpFreq,       & endTime, chkPtFreq, pchkPtFreq, dumpFreq,
470       & diagFreq, taveFreq, tave_lastIter, monitorFreq,       & diagFreq, taveFreq, tave_lastIter, monitorFreq,
471       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
472       & cosPower, cAdjFreq, omega,       & cosPower, cAdjFreq, omega, rotationPeriod,
473       & tauThetaClimRelax, lambdaThetaClimRelax,       & tauThetaClimRelax, lambdaThetaClimRelax,
474       & tauSaltClimRelax, lambdaSaltClimRelax,       & tauSaltClimRelax, lambdaSaltClimRelax,
475       & tauTr1ClimRelax, lambdaTr1ClimRelax,       & tauTr1ClimRelax, lambdaTr1ClimRelax,
# Line 551  C      --"-"--  Quadratic  ( linear: 1/s Line 563  C      --"-"--  Quadratic  ( linear: 1/s
563        _RL cosPower        _RL cosPower
564        _RL cAdjFreq        _RL cAdjFreq
565        _RL omega        _RL omega
566          _RL rotationPeriod
567        _RL tauThetaClimRelax        _RL tauThetaClimRelax
568        _RL lambdaThetaClimRelax        _RL lambdaThetaClimRelax
569        _RL tauSaltClimRelax        _RL tauSaltClimRelax
# Line 576  C      --"-"--  Quadratic  ( linear: 1/s Line 589  C      --"-"--  Quadratic  ( linear: 1/s
589        _RL Lamba_theta        _RL Lamba_theta
590        _RL recip_Cp        _RL recip_Cp
591    
 CmlC Equation of State (polynomial coeffients)  
 Cml      COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS  
 Cml      _RL eosC(9,Nr+1),eosSig0(Nr+1),eosRefT(Nr+1),eosRefS(Nr+1)  
 CmlC Linear equation of state  
 CmlC     tAlpha    :: Linear EOS thermal expansion coefficient ( 1/degree ).  
 CmlC     sBeta     :: Linear EOS haline contraction coefficient.  
 Cml      COMMON /PARM_EOS_LIN/ tAlpha,sBeta,eosType  
 Cml      _RL tAlpha  
 Cml      _RL sBeta  
   
592  C Atmospheric physical parameters (Ideal Gas EOS, ...)  C Atmospheric physical parameters (Ideal Gas EOS, ...)
593  C     atm_po    :: standard reference pressure  C     atm_Po    :: standard reference pressure
594  C     atm_cp    :: specific heat (Cp) of the (dry) air at constant pressure  C     atm_Cp    :: specific heat (Cp) of the (dry) air at constant pressure
595    C     atm_Rd    :: gas constant for dry air
596  C     atm_kappa :: kappa = R/Cp (R: constant of Ideal Gas EOS)  C     atm_kappa :: kappa = R/Cp (R: constant of Ideal Gas EOS)
597  C     Integr_GeoPot :: option to select the way we integrate the geopotential  C     integr_GeoPot :: option to select the way we integrate the geopotential
598  C                     (still a subject of discussions ...)  C                     (still a subject of discussions ...)
599        COMMON /PARM_ATM/ atm_cp, atm_kappa, atm_po,  C     selectFindRoSurf :: select the way surf. ref. pressure (=Ro_surf) is
600       &                  Integr_GeoPot  C             derived from the orography. Implemented: 0,1 (see INI_P_GROUND)
601        _RL atm_cp, atm_kappa, atm_po        COMMON /PARM_ATM/ atm_Cp, atm_Rd, atm_kappa, atm_Po,
602        INTEGER Integr_GeoPot       &                  integr_GeoPot, selectFindRoSurf
603          _RL atm_Po, atm_Cp, atm_Rd, atm_kappa
604          INTEGER integr_GeoPot, selectFindRoSurf
605    
606  C Logical flags for selecting packages  C Logical flags for selecting packages
607        LOGICAL useKPP        LOGICAL useKPP
# Line 608  C Logical flags for selecting packages Line 614  C Logical flags for selecting packages
614        LOGICAL useZONAL_FILT        LOGICAL useZONAL_FILT
615        LOGICAL useFLT        LOGICAL useFLT
616        LOGICAL usePTRACERS        LOGICAL usePTRACERS
617          LOGICAL useSBO
618        LOGICAL useSEAICE        LOGICAL useSEAICE
619  cswdblk -- add ---  cswdblk -- add ---
620        LOGICAL useBulkforce        LOGICAL useBulkforce
# Line 616  cswdblk --- end add --- Line 623  cswdblk --- end add ---
623        COMMON /PARM_PACKAGES/        COMMON /PARM_PACKAGES/
624       &        useKPP, useGMRedi, useOBCS, useAIM, useECCO,       &        useKPP, useGMRedi, useOBCS, useAIM, useECCO,
625       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,
626       &        usePTRACERS, useSEAICE,       &        usePTRACERS,  useSBO, useSEAICE,
627  cswdblk -- add ---  cswdblk -- add ---
628       &        useThermSEAICE, useBulkforce       &        useThermSEAICE, useBulkforce
629  cswdblk --- end add ---  cswdblk --- end add ---

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.88

  ViewVC Help
Powered by ViewVC 1.1.22