/[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.136 by dimitri, Tue Nov 2 23:57:29 2004 UTC revision 1.144 by dimitri, Sun Feb 20 11:46:24 2005 UTC
# Line 68  C     surfQnetFile    :: File containing Line 68  C     surfQnetFile    :: File containing
68  C     surfQswFile     :: File containing surface shortwave radiation  C     surfQswFile     :: File containing surface shortwave radiation
69  C     dQdTfile        :: File containing thermal relaxation coefficient  C     dQdTfile        :: File containing thermal relaxation coefficient
70  C     EmPmRfile       :: File containing surface fresh water flux  C     EmPmRfile       :: File containing surface fresh water flux
71    C     saltFluxFile    :: File containing surface salt flux
72  C     pLoadFile       :: File containing pressure loading  C     pLoadFile       :: File containing pressure loading
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.
# Line 79  C     the_run_name    :: string identify Line 80  C     the_run_name    :: string identify
80       &                hydrogThetaFile, hydrogSaltFile,       &                hydrogThetaFile, hydrogSaltFile,
81       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
82       &                saltClimFile, buoyancyRelation,       &                saltClimFile, buoyancyRelation,
83       &                EmPmRfile, surfQfile, surfQnetFile, surfQswFile,       &                EmPmRfile, saltFluxFile,
84         &                surfQfile, surfQnetFile, surfQswFile,
85       &                uVelInitFile, vVelInitFile, pSurfInitFile,       &                uVelInitFile, vVelInitFile, pSurfInitFile,
86       &                dQdTfile, ploadFile,       &                dQdTfile, ploadFile,
87       &                eosType, pickupSuff,       &                eosType, pickupSuff,
# Line 97  C     the_run_name    :: string identify Line 99  C     the_run_name    :: string identify
99        CHARACTER*(MAX_LEN_FNAM) surfQnetFile        CHARACTER*(MAX_LEN_FNAM) surfQnetFile
100        CHARACTER*(MAX_LEN_FNAM) surfQswFile        CHARACTER*(MAX_LEN_FNAM) surfQswFile
101        CHARACTER*(MAX_LEN_FNAM) EmPmRfile        CHARACTER*(MAX_LEN_FNAM) EmPmRfile
102          CHARACTER*(MAX_LEN_FNAM) saltFluxFile
103        CHARACTER*(MAX_LEN_FNAM) buoyancyRelation        CHARACTER*(MAX_LEN_FNAM) buoyancyRelation
104        CHARACTER*(MAX_LEN_FNAM) uVelInitFile        CHARACTER*(MAX_LEN_FNAM) uVelInitFile
105        CHARACTER*(MAX_LEN_FNAM) vVelInitFile        CHARACTER*(MAX_LEN_FNAM) vVelInitFile
# Line 149  C     debugLevel          :: debug level Line 152  C     debugLevel          :: debug level
152       &        nonlinFreeSurf, select_rStar,       &        nonlinFreeSurf, select_rStar,
153       &        tempAdvScheme, tempVertAdvScheme,       &        tempAdvScheme, tempVertAdvScheme,
154       &        saltAdvScheme, saltVertAdvScheme,       &        saltAdvScheme, saltVertAdvScheme,
      &        tracerAdvScheme,  
155       &        debugLevel       &        debugLevel
156        INTEGER cg2dMaxIters        INTEGER cg2dMaxIters
157        INTEGER cg2dChkResFreq        INTEGER cg2dChkResFreq
# Line 168  C     debugLevel          :: debug level Line 170  C     debugLevel          :: debug level
170        INTEGER select_rStar        INTEGER select_rStar
171        INTEGER tempAdvScheme, tempVertAdvScheme        INTEGER tempAdvScheme, tempVertAdvScheme
172        INTEGER saltAdvScheme, saltVertAdvScheme        INTEGER saltAdvScheme, saltVertAdvScheme
       INTEGER tracerAdvScheme  
173        INTEGER debugLevel        INTEGER debugLevel
174    
175  C  C
# Line 198  C     metricTerms   :: Flag which turns Line 199  C     metricTerms   :: Flag which turns
199  C     usingSphericalPolarMTerms :: If TRUE use spherical polar metric terms.  C     usingSphericalPolarMTerms :: If TRUE use spherical polar metric terms.
200  C     useNHMTerms :: If TRUE use non-hydrostatic metric terms.  C     useNHMTerms :: If TRUE use non-hydrostatic metric terms.
201  C     useCoriolis   :: Flag which turns the coriolis terms on and off.  C     useCoriolis   :: Flag which turns the coriolis terms on and off.
 C     tempDiffusion :: Flag which turns diffusion of temperature on  
 C                     and off.  
202  C     tempAdvection :: Flag which turns advection of temperature on  C     tempAdvection :: Flag which turns advection of temperature on
203  C                     and off.  C                     and off.
204  C     tempForcing   :: Flag which turns external forcing of temperature on  C     tempForcing   :: Flag which turns external forcing of temperature on
205  C                     and off.  C                     and off.
 C     saltDiffusion :: Flag which turns diffusion of salinity on  
 C                     and off.  
206  C     saltAdvection :: Flag which turns advection of salinity on  C     saltAdvection :: Flag which turns advection of salinity on
207  C                     and off.  C                     and off.
208  C     saltForcing   :: Flag which turns external forcing of salinity on  C     saltForcing   :: Flag which turns external forcing of salinity on
# Line 272  C     pickup_write_immed :: echo the pic Line 269  C     pickup_write_immed :: echo the pic
269  C     timeave_mdsio      :: use mdsio for timeave output  C     timeave_mdsio      :: use mdsio for timeave output
270  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output
271  C     monitor_stdio      :: use stdio for monitor output  C     monitor_stdio      :: use stdio for monitor output
272    C     calendarDumps :: When set, approximate months (30-31 days) and years (360-372 days)
273    C                      for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq,
274    C                      KPP_taveFreq, and freq in pkg/diagnostics are converted to exact
275    C                      calendar months and years.  Requires pkg/cal.
276        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
277       & usingCurvilinearGrid, usingCylindricalGrid,       & usingCurvilinearGrid, usingCylindricalGrid,
278       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
279       & staggerTimeStep,       & staggerTimeStep,
280       & momViscosity, momAdvection, momForcing, useCoriolis,       & momViscosity, momAdvection, momForcing, useCoriolis,
281       & momPressureForcing, vectorInvariantMomentum,       & momPressureForcing, vectorInvariantMomentum,
282       & tempDiffusion, tempAdvection, tempForcing,       & tempAdvection, tempForcing,
283       & saltDiffusion, saltAdvection, saltForcing,       & saltAdvection, saltForcing,
284       & useRealFreshWaterFlux,       & useRealFreshWaterFlux,
285       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,
286       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
# Line 302  C     monitor_stdio      :: use stdio fo Line 303  C     monitor_stdio      :: use stdio fo
303       & readPickupWithTracer, writePickupWithTracer,       & readPickupWithTracer, writePickupWithTracer,
304       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,
305       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio,
306       & outputTypesInclusive       & outputTypesInclusive,
307         & inAdMode, inAdTrue, inAdFalse, inAdExact,
308         & calendarDumps
309    
310        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
311        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
# Line 319  C     monitor_stdio      :: use stdio fo Line 322  C     monitor_stdio      :: use stdio fo
322        LOGICAL momPressureForcing        LOGICAL momPressureForcing
323        LOGICAL useCoriolis        LOGICAL useCoriolis
324        LOGICAL vectorInvariantMomentum        LOGICAL vectorInvariantMomentum
       LOGICAL tempDiffusion  
325        LOGICAL tempAdvection        LOGICAL tempAdvection
326        LOGICAL tempForcing        LOGICAL tempForcing
       LOGICAL saltDiffusion  
327        LOGICAL saltAdvection        LOGICAL saltAdvection
328        LOGICAL saltForcing        LOGICAL saltForcing
329        LOGICAL useRealFreshWaterFlux        LOGICAL useRealFreshWaterFlux
# Line 379  C     monitor_stdio      :: use stdio fo Line 380  C     monitor_stdio      :: use stdio fo
380        LOGICAL pickup_write_immed        LOGICAL pickup_write_immed
381        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
382        LOGICAL outputTypesInclusive        LOGICAL outputTypesInclusive
383          LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
384          LOGICAL calendarDumps
385    
386  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
387  C     cg2dTargetResidual  C     cg2dTargetResidual
# Line 434  C     viscAr    :: Eddy viscosity coeff. Line 437  C     viscAr    :: Eddy viscosity coeff.
437  C                 momentum vertically ( units of r^2/s )  C                 momentum vertically ( units of r^2/s )
438  C     viscA4    :: Biharmonic viscosity coeff. for mixing of  C     viscA4    :: Biharmonic viscosity coeff. for mixing of
439  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
440    C     viscA4W   :: Biharmonic viscosity coeff. for mixing of vertical
441    C                 momentum laterally, no effect for hydrostatic
442    C                 model, defaults to viscA4 if unset ( m^2/s )
443  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally
444  C                  (act on Divergence part) ( m^2/s )  C                  (act on Divergence part) ( m^2/s )
445  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally
# Line 476  C                    it will be the deep Line 482  C                    it will be the deep
482  C                    Frequency of checkpointing and dumping of the model state  C                    Frequency of checkpointing and dumping of the model state
483  C                    are referenced to this clock. ( s )  C                    are referenced to this clock. ( s )
484  C     deltaTMom    :: Timestep for momemtum equations ( s )  C     deltaTMom    :: Timestep for momemtum equations ( s )
485  C     deltaTtracer :: Timestep for tracer equations ( s )  C     dTtracerLev  :: Timestep for tracer equations ( s ), function of level k
486  C     deltaTfreesurf :: Timestep for free-surface equation ( s )  C     deltaTfreesurf :: Timestep for free-surface equation ( s )
487  C     freesurfFac  :: Parameter to turn implicit free surface term on or off  C     freesurfFac  :: Parameter to turn implicit free surface term on or off
488  C                    freesurfac = 1. uses implicit free surface  C                    freesurfac = 1. uses implicit free surface
# Line 529  C     convertFW2Salt :: salinity, used t Line 535  C     convertFW2Salt :: salinity, used t
535  C                       (use model surface (local) value if set to -1)  C                       (use model surface (local) value if set to -1)
536  C     temp_EvPrRn :: temperature of Rain & Evap.  C     temp_EvPrRn :: temperature of Rain & Evap.
537  C     salt_EvPrRn :: salinity of Rain & Evap.  C     salt_EvPrRn :: salinity of Rain & Evap.
 C     trac_EvPrRn :: tracer concentration in Rain & Evap.  
538  C        (notes: a) tracer content of Rain/Evap only used if both  C        (notes: a) tracer content of Rain/Evap only used if both
539  C                     NonLin_FrSurf & useRealFreshWater are set.  C                     NonLin_FrSurf & useRealFreshWater are set.
540  C                b) use model surface (local) value if set to UNSET_RL)  C                b) use model surface (local) value if set to UNSET_RL)
# Line 543  C      --"-"--  Quadratic  ( linear: 1/s Line 548  C      --"-"--  Quadratic  ( linear: 1/s
548        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
549       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
550       & delR, delRc, delX, delY,       & delR, delRc, delX, delY,
551       & deltaT, deltaTmom, deltaTtracer, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
552       & abeps, startTime,       & abeps, startTime,
553       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,
554       & fCori, fCoriG, fCoriCos,       & fCori, fCoriG, fCoriCos,
555       & viscAh, viscAhW, viscAhMax, viscAhGrid, viscC2leith,       & viscAh, viscAhW, viscAhMax, viscAhGrid, viscC2leith,
556       & viscAhD, viscAhZ, viscA4D, viscA4Z,       & viscAhD, viscAhZ, viscA4D, viscA4Z,
557       & viscA4,  viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,       & viscA4, viscA4W,
558         & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,
559       & viscC4leith, viscAr, viscAstrain, viscAtension,       & viscC4leith, viscAr, viscAstrain, viscAtension,
560       & diffKhT, diffK4T, diffKrNrT,       & diffKhT, diffK4T, diffKrNrT,
561       & diffKhS, diffK4S, diffKrNrS,       & diffKhS, diffK4S, diffKrNrS,
# Line 560  C      --"-"--  Quadratic  ( linear: 1/s Line 566  C      --"-"--  Quadratic  ( linear: 1/s
566       & recip_rhoConst, rhoConst,       & recip_rhoConst, rhoConst,
567       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,
568       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,
569       & diagFreq, taveFreq, tave_lastIter, monitorFreq,       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
570       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
571       & cosPower, cAdjFreq, omega, rotationPeriod,       & cosPower, cAdjFreq, omega, rotationPeriod,
572       & tauThetaClimRelax, lambdaThetaClimRelax,       & tauThetaClimRelax, lambdaThetaClimRelax,
573       & tauSaltClimRelax, lambdaSaltClimRelax,       & tauSaltClimRelax, lambdaSaltClimRelax,
574       & tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax,       & tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax,
575       & externForcingCycle, externForcingPeriod,       & externForcingCycle, externForcingPeriod,
576       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn, trac_EvPrRn,       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn,
577       & hFacMinDr, hFacMinDp,       & hFacMinDr, hFacMinDp,
578       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
579       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
580       & bottomDragLinear,bottomDragQuadratic,       & bottomDragLinear,bottomDragQuadratic,
581       & tCyl       & tCylIn, tCylOut
582    
583        _RL cg2dTargetResidual        _RL cg2dTargetResidual
584        _RL cg2dTargetResWunit        _RL cg2dTargetResWunit
# Line 585  C      --"-"--  Quadratic  ( linear: 1/s Line 591  C      --"-"--  Quadratic  ( linear: 1/s
591        _RL deltaT        _RL deltaT
592        _RL deltaTClock        _RL deltaTClock
593        _RL deltaTmom        _RL deltaTmom
594        _RL deltaTtracer        _RL dTtracerLev(Nr)
595        _RL deltaTfreesurf        _RL deltaTfreesurf
596        _RL abeps        _RL abeps
597        _RL phiMin        _RL phiMin
# Line 614  C      --"-"--  Quadratic  ( linear: 1/s Line 620  C      --"-"--  Quadratic  ( linear: 1/s
620        _RL viscAtension        _RL viscAtension
621        _RL viscAr        _RL viscAr
622        _RL viscA4        _RL viscA4
623          _RL viscA4W
624        _RL viscA4D        _RL viscA4D
625        _RL viscA4Z        _RL viscA4Z
626        _RL viscA4Max        _RL viscA4Max
# Line 656  C      --"-"--  Quadratic  ( linear: 1/s Line 663  C      --"-"--  Quadratic  ( linear: 1/s
663        _RL taveFreq        _RL taveFreq
664        _RL tave_lastIter        _RL tave_lastIter
665        _RL monitorFreq        _RL monitorFreq
666          _RL adjMonitorFreq
667        _RL afFacMom        _RL afFacMom
668        _RL vfFacMom        _RL vfFacMom
669        _RL pfFacMom        _RL pfFacMom
# Line 678  C      --"-"--  Quadratic  ( linear: 1/s Line 686  C      --"-"--  Quadratic  ( linear: 1/s
686        _RL convertFW2Salt        _RL convertFW2Salt
687        _RL temp_EvPrRn        _RL temp_EvPrRn
688        _RL salt_EvPrRn        _RL salt_EvPrRn
       _RL trac_EvPrRn  
689        _RL horiVertRatio        _RL horiVertRatio
690        _RL recip_horiVertRatio        _RL recip_horiVertRatio
691        _RL ivdc_kappa        _RL ivdc_kappa
692        _RL Ro_SeaLevel        _RL Ro_SeaLevel
693        _RL bottomDragLinear        _RL bottomDragLinear
694        _RL bottomDragQuadratic        _RL bottomDragQuadratic
695        _RL tCyl        _RL tCylIn
696          _RL tCylOut
697    
698  C--   COMMON /PARM_A/ Thermodynamics constants ?  C--   COMMON /PARM_A/ Thermodynamics constants ?
699        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp
# Line 728  C Logical flags for selecting packages Line 736  C Logical flags for selecting packages
736        LOGICAL useZONAL_FILT        LOGICAL useZONAL_FILT
737        LOGICAL useFLT        LOGICAL useFLT
738        LOGICAL usePTRACERS        LOGICAL usePTRACERS
739          LOGICAL useGCHEM
740        LOGICAL useSBO        LOGICAL useSBO
741        LOGICAL useSEAICE        LOGICAL useSEAICE
742        LOGICAL useBulkForce        LOGICAL useBulkForce
# Line 740  C Logical flags for selecting packages Line 749  C Logical flags for selecting packages
749        COMMON /PARM_PACKAGES/        COMMON /PARM_PACKAGES/
750       &        useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO,       &        useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO,
751       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,
752       &        usePTRACERS,  useSBO, useSEAICE, useThSIce, useBulkForce,       &        usePTRACERS, useGCHEM,
753       &        usefizhi,  usegridalt, usediagnostics, useEBM, useMNC,       &        useSBO, useSEAICE, useThSIce, useBulkForce,
754         &        usefizhi, usegridalt, usediagnostics, useEBM, useMNC,
755       &        usePP81, useMY82, useOPPS, useGGL90       &        usePP81, useMY82, useOPPS, useGGL90
756    
757  CEH3 ;;; Local Variables: ***  CEH3 ;;; Local Variables: ***

Legend:
Removed from v.1.136  
changed lines
  Added in v.1.144

  ViewVC Help
Powered by ViewVC 1.1.22