/[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.111 by adcroft, Wed Jun 2 13:23:55 2004 UTC revision 1.123 by edhill, Tue Sep 7 21:32:09 2004 UTC
# Line 65  C     thetaClimFile   :: File containing Line 65  C     thetaClimFile   :: File containing
65  C                       in relaxation term -lambda(theta-theta*)  C                       in relaxation term -lambda(theta-theta*)
66  C     saltClimFile    :: File containing salt climataology used  C     saltClimFile    :: File containing salt climataology used
67  C                       in relaxation term -lambda(salt-salt*)  C                       in relaxation term -lambda(salt-salt*)
68  C     surfQfile       :: File containing surface heat flux  C     surfQfile       :: File containing surface heat flux, excluding SW
69  C     surfQswfile     :: File containing surface shortwave radiation  C                        (old version, kept for backward compatibility)
70    C     surfQnetFile    :: File containing surface net heat flux
71    C     surfQswFile     :: File containing surface shortwave radiation
72  C     dQdTfile        :: File containing thermal relaxation coefficient  C     dQdTfile        :: File containing thermal relaxation coefficient
73  C     EmPmRfile       :: File containing surface fresh water flux  C     EmPmRfile       :: File containing surface fresh water flux
74  C     pLoadFile       :: File containing pressure loading  C     pLoadFile       :: File containing pressure loading
# Line 79  C                        LINEAR, POLY3, Line 81  C                        LINEAR, POLY3,
81       &                hydrogThetaFile, hydrogSaltFile,       &                hydrogThetaFile, hydrogSaltFile,
82       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
83       &                saltClimFile, buoyancyRelation,       &                saltClimFile, buoyancyRelation,
84       &                EmPmRfile, surfQfile, surfQswfile,       &                EmPmRfile, surfQfile, surfQnetFile, surfQswFile,
85       &                uVelInitFile, vVelInitFile, pSurfInitFile,       &                uVelInitFile, vVelInitFile, pSurfInitFile,
86       &                dQdTfile, ploadFile,       &                dQdTfile, ploadFile,
87       &                eosType, pickupSuff,       &                eosType, pickupSuff,
# Line 93  C                        LINEAR, POLY3, Line 95  C                        LINEAR, POLY3,
95        CHARACTER*(MAX_LEN_FNAM) thetaClimFile        CHARACTER*(MAX_LEN_FNAM) thetaClimFile
96        CHARACTER*(MAX_LEN_FNAM) saltClimFile        CHARACTER*(MAX_LEN_FNAM) saltClimFile
97        CHARACTER*(MAX_LEN_FNAM) surfQfile        CHARACTER*(MAX_LEN_FNAM) surfQfile
98        CHARACTER*(MAX_LEN_FNAM) surfQswfile        CHARACTER*(MAX_LEN_FNAM) surfQnetFile
99          CHARACTER*(MAX_LEN_FNAM) surfQswFile
100        CHARACTER*(MAX_LEN_FNAM) EmPmRfile        CHARACTER*(MAX_LEN_FNAM) EmPmRfile
101        CHARACTER*(MAX_LEN_FNAM) buoyancyRelation        CHARACTER*(MAX_LEN_FNAM) buoyancyRelation
102        CHARACTER*(MAX_LEN_FNAM) uVelInitFile        CHARACTER*(MAX_LEN_FNAM) uVelInitFile
# Line 110  C     cg2dMaxIters        :: Maximum num Line 113  C     cg2dMaxIters        :: Maximum num
113  C                           two-dimensional con. grad solver.  C                           two-dimensional con. grad solver.
114  C     cg2dChkResFreq      :: Frequency with which to check residual  C     cg2dChkResFreq      :: Frequency with which to check residual
115  C                           in con. grad solver.  C                           in con. grad solver.
116    C     cg2dPreCondFreq     :: Frequency for updating cg2d preconditioner
117    C                            (non-linear free-surf.)
118  C     cg3dMaxIters        :: Maximum number of iterations in the  C     cg3dMaxIters        :: Maximum number of iterations in the
119  C                           three-dimensional con. grad solver.  C                           three-dimensional con. grad solver.
120  C     cg3dChkResFreq      :: Frequency with which to check residual  C     cg3dChkResFreq      :: Frequency with which to check residual
# Line 126  C     nonlinFreeSurf      :: option rela Line 131  C     nonlinFreeSurf      :: option rela
131  C                           =0 Linear free surface ; >0 Non-linear  C                           =0 Linear free surface ; >0 Non-linear
132  C     select_rStar        :: option related to r* vertical coordinate  C     select_rStar        :: option related to r* vertical coordinate
133  C                           =0 (default) use r coord. ; > 0 use r*  C                           =0 (default) use r coord. ; > 0 use r*
134    C     tempAdvScheme       :: Temp. Horiz.Advection scheme selector
135    C     tempVertAdvScheme   :: Temp. Vert. Advection scheme selector
136    C     saltAdvScheme       :: Salt. Horiz.advection scheme selector
137    C     saltVertAdvScheme   :: Salt. Vert. Advection scheme selector
138    C     debugLevel          :: debug level selector: higher -> more writing
139    C     mon_iotype          :: flag for monitor output (MNC vs. STDOUT)
140    
141        COMMON /PARM_I/        COMMON /PARM_I/
142       &        cg2dMaxIters,       &        cg2dMaxIters,
143       &        cg2dChkResFreq,       &        cg2dChkResFreq, cg2dPreCondFreq,
144       &        cg3dMaxIters,       &        cg3dMaxIters,
145       &        cg3dChkResFreq,       &        cg3dChkResFreq,
146       &        nIter0, nTimeSteps, nEndIter,       &        nIter0, nTimeSteps, nEndIter,
# Line 137  C                           =0 (default) Line 148  C                           =0 (default)
148       &        writeStatePrec, nCheckLev,       &        writeStatePrec, nCheckLev,
149       &        writeBinaryPrec, readBinaryPrec,       &        writeBinaryPrec, readBinaryPrec,
150       &        nonlinFreeSurf, select_rStar,       &        nonlinFreeSurf, select_rStar,
151       &        tempAdvScheme, saltAdvScheme, tracerAdvScheme,       &        tempAdvScheme, tempVertAdvScheme,
152       &        debugLevel       &        saltAdvScheme, saltVertAdvScheme,
153         &        tracerAdvScheme,
154         &        debugLevel,
155         &        mon_iotype
156        INTEGER cg2dMaxIters        INTEGER cg2dMaxIters
157        INTEGER cg2dChkResFreq        INTEGER cg2dChkResFreq
158          INTEGER cg2dPreCondFreq
159        INTEGER cg3dMaxIters        INTEGER cg3dMaxIters
160        INTEGER cg3dChkResFreq        INTEGER cg3dChkResFreq
161        INTEGER nIter0        INTEGER nIter0
# Line 153  C                           =0 (default) Line 168  C                           =0 (default)
168        INTEGER nCheckLev        INTEGER nCheckLev
169        INTEGER nonlinFreeSurf        INTEGER nonlinFreeSurf
170        INTEGER select_rStar        INTEGER select_rStar
171        INTEGER tempAdvScheme        INTEGER tempAdvScheme, tempVertAdvScheme
172        INTEGER saltAdvScheme        INTEGER saltAdvScheme, saltVertAdvScheme
173        INTEGER tracerAdvScheme        INTEGER tracerAdvScheme
174        INTEGER debugLevel        INTEGER debugLevel
175          INTEGER mon_iotype
176    
177  C  C
178        INTEGER debLevZero        INTEGER debLevZero
# Line 171  C     usingCartesianGrid :: If TRUE grid Line 187  C     usingCartesianGrid :: If TRUE grid
187  C                          coordinate frame.  C                          coordinate frame.
188  C     usingSphericalPolarGrid :: If TRUE grid generation will be in a  C     usingSphericalPolarGrid :: If TRUE grid generation will be in a
189  C                               spherical polar frame.  C                               spherical polar frame.
190    C     usingCylindricalGrid :: If TRUE grid generation will be Cylindrical
191  C     no_slip_sides :: Impose "no-slip" at lateral boundaries.  C     no_slip_sides :: Impose "no-slip" at lateral boundaries.
192  C     no_slip_bottom :: Impose "no-slip" at bottom boundary.  C     no_slip_bottom :: Impose "no-slip" at bottom boundary.
193  C     staggerTimeStep :: enable a Stagger time stepping T,S Rho then U,V  C     staggerTimeStep :: enable a Stagger time stepping T,S Rho then U,V
# Line 213  C     useBetaPlaneF :: Coriolis paramete Line 230  C     useBetaPlaneF :: Coriolis paramete
230  C     useSphereF    :: Coriolis parameter set to 2.omega.sin(phi)  C     useSphereF    :: Coriolis parameter set to 2.omega.sin(phi)
231  C     useCDscheme   :: use CD-scheme to calculate Coriolis terms.  C     useCDscheme   :: use CD-scheme to calculate Coriolis terms.
232  C     useJamartWetPoints :: Use wet-point method for Coriolis (Jamart and Ozer, 1986)  C     useJamartWetPoints :: Use wet-point method for Coriolis (Jamart and Ozer, 1986)
233    C     useJamartMomAdv :: Use wet-point method for V.I. non-linear term
234  C     SadournyCoriolis :: use the enstrophy conserving scheme by Sadourny  C     SadournyCoriolis :: use the enstrophy conserving scheme by Sadourny
235  C     upwindVorticity :: bias interpolation of vorticity in the Coriolis term  C     upwindVorticity :: bias interpolation of vorticity in the Coriolis term
236  C     highOrderVorticity :: use 3rd/4th order interp. of vorticity in Coriolis  C     highOrderVorticity :: use 3rd/4th order interp. of vorticity in Coriolis
# Line 223  C     tempImplVertAdv :: Turns on implic Line 241  C     tempImplVertAdv :: Turns on implic
241  C     saltImplVertAdv :: Turns on implicit vertical advection for Salinity  C     saltImplVertAdv :: Turns on implicit vertical advection for Salinity
242  C     momImplVertAdv  :: Turns on implicit vertical advection for Momentum  C     momImplVertAdv  :: Turns on implicit vertical advection for Momentum
243  C     multiDimAdvection :: Flag that enable multi-dimension advection  C     multiDimAdvection :: Flag that enable multi-dimension advection
244    C     useMultiDimAdvec  :: True if multi-dim advection is used at least once
245  C     forcing_In_AB :: if False, put forcing (Temp,Salt,Tracers) contribution  C     forcing_In_AB :: if False, put forcing (Temp,Salt,Tracers) contribution
246  C                      out off Adams-Bashforth time stepping.  C                      out off Adams-Bashforth time stepping.
247  C     doThetaClimRelax :: Set true if relaxation to temperature  C     doThetaClimRelax :: Set true if relaxation to temperature
# Line 248  C     allowFreezing  :: Allows surface w Line 267  C     allowFreezing  :: Allows surface w
267  C     useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12)  C     useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12)
268  C     groundAtK1  :: put the surface(k=1) at the Lower Boundary (=ground)  C     groundAtK1  :: put the surface(k=1) at the Lower Boundary (=ground)
269        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
270       & usingCurvilinearGrid,       & usingCurvilinearGrid, usingCylindricalGrid,
271       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
272       & staggerTimeStep,       & staggerTimeStep,
273       & momViscosity, momAdvection, momForcing, useCoriolis,       & momViscosity, momAdvection, momForcing, useCoriolis,
# Line 261  C     groundAtK1  :: put the surface(k=1 Line 280  C     groundAtK1  :: put the surface(k=1
280       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,
281       & useConstantF, useBetaPlaneF, useSphereF,       & useConstantF, useBetaPlaneF, useSphereF,
282       & useCDscheme,       & useCDscheme,
283       & useEnergyConservingCoriolis, useJamartWetPoints,       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,
284       & SadournyCoriolis, upwindVorticity, highOrderVorticity,       & SadournyCoriolis, upwindVorticity, highOrderVorticity,
285       & useAbsVorticity,       & useAbsVorticity,
286       & implicitDiffusion, implicitViscosity,       & implicitDiffusion, implicitViscosity,
287       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,
288       & multiDimAdvection, forcing_In_AB,       & multiDimAdvection, useMultiDimAdvec, forcing_In_AB,
289       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,
290       & periodicExternalForcing,       & periodicExternalForcing,
291       & usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr,       & usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr,
292       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,
293       & allowFreezing, useOldFreezing, groundAtK1,       & allowFreezing, useOldFreezing, groundAtK1,
294       & usePickupBeforeC35, debugMode,       & usePickupBeforeC35, usePickupBeforeC54, debugMode,
295       & readPickupWithTracer, writePickupWithTracer       & readPickupWithTracer, writePickupWithTracer
296        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
297        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
298          LOGICAL usingCylindricalGrid
299        LOGICAL usingCurvilinearGrid        LOGICAL usingCurvilinearGrid
300        LOGICAL usingSphericalPolarMTerms        LOGICAL usingSphericalPolarMTerms
301        LOGICAL useNHMTerms        LOGICAL useNHMTerms
# Line 310  C     groundAtK1  :: put the surface(k=1 Line 330  C     groundAtK1  :: put the surface(k=1
330        LOGICAL useCDscheme        LOGICAL useCDscheme
331        LOGICAL useEnergyConservingCoriolis        LOGICAL useEnergyConservingCoriolis
332        LOGICAL useJamartWetPoints        LOGICAL useJamartWetPoints
333          LOGICAL useJamartMomAdv
334        LOGICAL SadournyCoriolis        LOGICAL SadournyCoriolis
335        LOGICAL upwindVorticity        LOGICAL upwindVorticity
336        LOGICAL highOrderVorticity        LOGICAL highOrderVorticity
# Line 320  C     groundAtK1  :: put the surface(k=1 Line 341  C     groundAtK1  :: put the surface(k=1
341        LOGICAL saltImplVertAdv        LOGICAL saltImplVertAdv
342        LOGICAL momImplVertAdv        LOGICAL momImplVertAdv
343        LOGICAL multiDimAdvection        LOGICAL multiDimAdvection
344          LOGICAL useMultiDimAdvec
345        LOGICAL forcing_In_AB        LOGICAL forcing_In_AB
346        LOGICAL doThetaClimRelax        LOGICAL doThetaClimRelax
347        LOGICAL doSaltClimRelax        LOGICAL doSaltClimRelax
# Line 337  C     groundAtK1  :: put the surface(k=1 Line 359  C     groundAtK1  :: put the surface(k=1
359        LOGICAL useOldFreezing        LOGICAL useOldFreezing
360        LOGICAL groundAtK1        LOGICAL groundAtK1
361        LOGICAL usePickupBeforeC35        LOGICAL usePickupBeforeC35
362          LOGICAL usePickupBeforeC54
363        LOGICAL debugMode        LOGICAL debugMode
364        LOGICAL readPickupWithTracer        LOGICAL readPickupWithTracer
365        LOGICAL writePickupWithTracer        LOGICAL writePickupWithTracer
366    
367  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
368  C     gg2dTargetResidual  C     cg2dTargetResidual
369  C          :: Target residual for cg2d solver; no unit (RHS normalisation)  C          :: Target residual for cg2d solver; no unit (RHS normalisation)
370  C     cg2dTargetResWunit  C     cg2dTargetResWunit
371  C          :: Target residual for cg2d solver; W unit (No RHS normalisation)  C          :: Target residual for cg2d solver; W unit (No RHS normalisation)
# Line 410  C     diffKrS   :: Laplacian diffusion c Line 433  C     diffKrS   :: Laplacian diffusion c
433  C                 salt vertically ( units of r^2/s )  C                 salt vertically ( units of r^2/s )
434  C     diffK4S   :: Biharmonic diffusion coeff. for mixing of  C     diffK4S   :: Biharmonic diffusion coeff. for mixing of
435  C                 salt laterally ( m^4/s )  C                 salt laterally ( m^4/s )
436    C     diffKrBL79surf :: T/S surface diffusivity (m^2/s) Bryan and Lewis, 1979
437    C     diffKrBL79deep :: T/S deep diffusivity (m^2/s) Bryan and Lewis, 1979
438    C     diffKrBL79scl  :: depth scale for arctan fn (m) Bryan and Lewis, 1979
439    C     diffKrBL79Ho   :: depth offset for arctan fn (m) Bryan and Lewis, 1979
440  C     deltaT    :: Default timestep ( s )  C     deltaT    :: Default timestep ( s )
441  C     deltaTClock  :: Timestep used as model "clock". This determines the  C     deltaTClock  :: Timestep used as model "clock". This determines the
442  C                    IO frequencies and is used in tagging output. It can  C                    IO frequencies and is used in tagging output. It can
# Line 494  C      --"-"--  Quadratic  ( linear: 1/s Line 521  C      --"-"--  Quadratic  ( linear: 1/s
521       & viscAr, viscAstrain, viscAtension,       & viscAr, viscAstrain, viscAtension,
522       & diffKhT, diffK4T, diffKrT,       & diffKhT, diffK4T, diffKrT,
523       & diffKhS, diffK4S, diffKrS,       & diffKhS, diffK4S, diffKrS,
524         & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
525       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,
526       & hFacMin, hFacMinDz, hFacInf, hFacSup,       & hFacMin, hFacMinDz, hFacInf, hFacSup,
527       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
# Line 511  C      --"-"--  Quadratic  ( linear: 1/s Line 539  C      --"-"--  Quadratic  ( linear: 1/s
539       & hFacMinDr, hFacMinDp,       & hFacMinDr, hFacMinDp,
540       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
541       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
542       & bottomDragLinear,bottomDragQuadratic       & bottomDragLinear,bottomDragQuadratic,
543         & tCyl
544    
545        _RL cg2dTargetResidual        _RL cg2dTargetResidual
546        _RL cg2dTargetResWunit        _RL cg2dTargetResWunit
# Line 559  C      --"-"--  Quadratic  ( linear: 1/s Line 588  C      --"-"--  Quadratic  ( linear: 1/s
588        _RL diffKhS        _RL diffKhS
589        _RL diffKrS        _RL diffKrS
590        _RL diffK4S        _RL diffK4S
591          _RL diffKrBL79surf
592          _RL diffKrBL79deep
593          _RL diffKrBL79scl
594          _RL diffKrBL79Ho
595        _RL delt        _RL delt
596        _RL tauCD        _RL tauCD
597        _RL rCD        _RL rCD
# Line 615  C      --"-"--  Quadratic  ( linear: 1/s Line 648  C      --"-"--  Quadratic  ( linear: 1/s
648        _RL Ro_SeaLevel        _RL Ro_SeaLevel
649        _RL bottomDragLinear        _RL bottomDragLinear
650        _RL bottomDragQuadratic        _RL bottomDragQuadratic
651          _RL tCyl
652    
653  C--   COMMON /PARM_A/ Thermodynamics constants ?  C--   COMMON /PARM_A/ Thermodynamics constants ?
654        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp
# Line 642  C             derived from the orography Line 676  C             derived from the orography
676        INTEGER integr_GeoPot, selectFindRoSurf        INTEGER integr_GeoPot, selectFindRoSurf
677    
678  C Logical flags for selecting packages  C Logical flags for selecting packages
679          LOGICAL usePP81
680          LOGICAL useMY82
681        LOGICAL useKPP        LOGICAL useKPP
682        LOGICAL useGMRedi        LOGICAL useGMRedi
683        LOGICAL useOBCS        LOGICAL useOBCS
# Line 665  C Logical flags for selecting packages Line 701  C Logical flags for selecting packages
701       &        useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO,       &        useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO,
702       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,
703       &        usePTRACERS,  useSBO, useSEAICE, useThSIce, useBulkForce,       &        usePTRACERS,  useSBO, useSEAICE, useThSIce, useBulkForce,
704       &        usefizhi,  usegridalt, usediagnostics, useEBM       &        usefizhi,  usegridalt, usediagnostics, useEBM,
705         &        usePP81, useMY82
706    
707  C     Run-time flags for early-initialization of MNC  C     Run-time flags for early-initialization of MNC
708        LOGICAL        LOGICAL
# Line 675  C     Run-time flags for early-initializ Line 712  C     Run-time flags for early-initializ
712       &     mnc_use_for_mon       &     mnc_use_for_mon
713        CHARACTER*(MAX_LEN_FNAM) mnc_outdir_str        CHARACTER*(MAX_LEN_FNAM) mnc_outdir_str
714        CHARACTER*(MAX_LEN_FNAM) mnc_indir_str        CHARACTER*(MAX_LEN_FNAM) mnc_indir_str
715          CHARACTER*(MAX_LEN_FNAM) the_run_name
716        COMMON /PARM_MNC/        COMMON /PARM_MNC/
717       &     useMNC,       &     useMNC,
718       &     mnc_use_indir, mnc_use_outdir, mnc_outdir_date,       &     mnc_use_indir, mnc_use_outdir, mnc_outdir_date,
719       &     mnc_echo_gvtypes, mnc_pickup_write, mnc_pickup_read,       &     mnc_echo_gvtypes, mnc_pickup_write, mnc_pickup_read,
720         &     mnc_use_for_mon,
721       &     mnc_outdir_str, mnc_indir_str,       &     mnc_outdir_str, mnc_indir_str,
722       &     mnc_use_for_mon       &     the_run_name
723    
724    
725  CEH3 ;;; Local Variables: ***  CEH3 ;;; Local Variables: ***

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.123

  ViewVC Help
Powered by ViewVC 1.1.22