/[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.138 by mlosch, Fri Nov 19 01:33:31 2004 UTC revision 1.146 by baylor, Thu Mar 10 02:39:55 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     eddyTauxFile    :: File containing zonal Eddy stress data
74    C     eddyTauyFile    :: File containing meridional Eddy stress data
75  C     buoyancyRelation :: Flag used to indicate which relation to use to  C     buoyancyRelation :: Flag used to indicate which relation to use to
76  C                        get buoyancy.  C                        get buoyancy.
77  C     eosType         :: choose the equation of state:  C     eosType         :: choose the equation of state:
# Line 79  C     the_run_name    :: string identify Line 82  C     the_run_name    :: string identify
82       &                hydrogThetaFile, hydrogSaltFile,       &                hydrogThetaFile, hydrogSaltFile,
83       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
84       &                saltClimFile, buoyancyRelation,       &                saltClimFile, buoyancyRelation,
85       &                EmPmRfile, surfQfile, surfQnetFile, surfQswFile,       &                EmPmRfile, saltFluxFile,
86         &                surfQfile, surfQnetFile, surfQswFile,
87       &                uVelInitFile, vVelInitFile, pSurfInitFile,       &                uVelInitFile, vVelInitFile, pSurfInitFile,
88       &                dQdTfile, ploadFile,       &                dQdTfile, ploadFile,
89         &                eddyTauxFile, eddyTauyFile,
90       &                eosType, pickupSuff,       &                eosType, pickupSuff,
91       &                mdsioLocalDir,       &                mdsioLocalDir,
92       &                the_run_name       &                the_run_name
# Line 97  C     the_run_name    :: string identify Line 102  C     the_run_name    :: string identify
102        CHARACTER*(MAX_LEN_FNAM) surfQnetFile        CHARACTER*(MAX_LEN_FNAM) surfQnetFile
103        CHARACTER*(MAX_LEN_FNAM) surfQswFile        CHARACTER*(MAX_LEN_FNAM) surfQswFile
104        CHARACTER*(MAX_LEN_FNAM) EmPmRfile        CHARACTER*(MAX_LEN_FNAM) EmPmRfile
105          CHARACTER*(MAX_LEN_FNAM) saltFluxFile
106        CHARACTER*(MAX_LEN_FNAM) buoyancyRelation        CHARACTER*(MAX_LEN_FNAM) buoyancyRelation
107        CHARACTER*(MAX_LEN_FNAM) uVelInitFile        CHARACTER*(MAX_LEN_FNAM) uVelInitFile
108        CHARACTER*(MAX_LEN_FNAM) vVelInitFile        CHARACTER*(MAX_LEN_FNAM) vVelInitFile
109        CHARACTER*(MAX_LEN_FNAM) pSurfInitFile        CHARACTER*(MAX_LEN_FNAM) pSurfInitFile
110        CHARACTER*(MAX_LEN_FNAM) dQdTfile        CHARACTER*(MAX_LEN_FNAM) dQdTfile
111        CHARACTER*(MAX_LEN_FNAM) ploadFile        CHARACTER*(MAX_LEN_FNAM) ploadFile
112          CHARACTER*(MAX_LEN_FNAM) eddyTauxFile
113          CHARACTER*(MAX_LEN_FNAM) eddyTauyFile
114        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir
115        CHARACTER*(MAX_LEN_FNAM) the_run_name        CHARACTER*(MAX_LEN_FNAM) the_run_name
116        CHARACTER*(6) eosType        CHARACTER*(6) eosType
# Line 207  C                     and off. Line 215  C                     and off.
215  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux
216  C                         as a real Fresh Water (=> changes the Sea Level)  C                         as a real Fresh Water (=> changes the Sea Level)
217  C                         if F, converts P+R-E to salt flux (no SL effect)  C                         if F, converts P+R-E to salt flux (no SL effect)
218    C     useFullLeith   :: Set to true to use full Leith viscosity (may be unstable
219    C                       on irregular grids)
220  C     rigidLid            :: Set to true to use rigid lid  C     rigidLid            :: Set to true to use rigid lid
221  C     implicitFreeSurface :: Set to true to use implcit free surface  C     implicitFreeSurface :: Set to true to use implcit free surface
222  C     exactConserv        :: Set to true to conserve exactly the total Volume  C     exactConserv        :: Set to true to conserve exactly the total Volume
# Line 266  C     pickup_write_immed :: echo the pic Line 276  C     pickup_write_immed :: echo the pic
276  C     timeave_mdsio      :: use mdsio for timeave output  C     timeave_mdsio      :: use mdsio for timeave output
277  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output
278  C     monitor_stdio      :: use stdio for monitor output  C     monitor_stdio      :: use stdio for monitor output
279    C     calendarDumps :: When set, approximate months (30-31 days) and years (360-372 days)
280    C                      for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq,
281    C                      KPP_taveFreq, and freq in pkg/diagnostics are converted to exact
282    C                      calendar months and years.  Requires pkg/cal.
283        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
284       & usingCurvilinearGrid, usingCylindricalGrid,       & usingCurvilinearGrid, usingCylindricalGrid,
285       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
# Line 275  C     monitor_stdio      :: use stdio fo Line 289  C     monitor_stdio      :: use stdio fo
289       & tempAdvection, tempForcing,       & tempAdvection, tempForcing,
290       & saltAdvection, saltForcing,       & saltAdvection, saltForcing,
291       & useRealFreshWaterFlux,       & useRealFreshWaterFlux,
292         & useFullLeith,
293       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,
294       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
295       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,
# Line 296  C     monitor_stdio      :: use stdio fo Line 311  C     monitor_stdio      :: use stdio fo
311       & readPickupWithTracer, writePickupWithTracer,       & readPickupWithTracer, writePickupWithTracer,
312       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,
313       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio,
314       & outputTypesInclusive       & outputTypesInclusive,
315         & inAdMode, inAdTrue, inAdFalse, inAdExact,
316         & calendarDumps
317    
318        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
319        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
# Line 318  C     monitor_stdio      :: use stdio fo Line 335  C     monitor_stdio      :: use stdio fo
335        LOGICAL saltAdvection        LOGICAL saltAdvection
336        LOGICAL saltForcing        LOGICAL saltForcing
337        LOGICAL useRealFreshWaterFlux        LOGICAL useRealFreshWaterFlux
338          LOGICAL useFullLeith
339        LOGICAL rigidLid        LOGICAL rigidLid
340        LOGICAL implicitFreeSurface        LOGICAL implicitFreeSurface
341        LOGICAL exactConserv        LOGICAL exactConserv
# Line 371  C     monitor_stdio      :: use stdio fo Line 389  C     monitor_stdio      :: use stdio fo
389        LOGICAL pickup_write_immed        LOGICAL pickup_write_immed
390        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
391        LOGICAL outputTypesInclusive        LOGICAL outputTypesInclusive
392          LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
393          LOGICAL calendarDumps
394    
395  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
396  C     cg2dTargetResidual  C     cg2dTargetResidual
# Line 426  C     viscAr    :: Eddy viscosity coeff. Line 446  C     viscAr    :: Eddy viscosity coeff.
446  C                 momentum vertically ( units of r^2/s )  C                 momentum vertically ( units of r^2/s )
447  C     viscA4    :: Biharmonic viscosity coeff. for mixing of  C     viscA4    :: Biharmonic viscosity coeff. for mixing of
448  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
449    C     viscA4W   :: Biharmonic viscosity coeff. for mixing of vertical
450    C                 momentum laterally, no effect for hydrostatic
451    C                 model, defaults to viscA4 if unset ( m^2/s )
452  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally
453  C                  (act on Divergence part) ( m^2/s )  C                  (act on Divergence part) ( m^2/s )
454  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally
# Line 434  C     viscA4D   :: Biharmonic viscosity Line 457  C     viscA4D   :: Biharmonic viscosity
457  C                  (act on Divergence part) ( m^4/s )  C                  (act on Divergence part) ( m^4/s )
458  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally
459  C                  (act on Vorticity  part) ( m^4/s )  C                  (act on Vorticity  part) ( m^4/s )
460  C     viscC2leith :: Leith non-dimensional viscosity factor  C     viscC2leith :: Leith non-dimensional viscosity factor (grad(vort))
461    C     viscC2leithD :: Modified Leith non-dimensional viscosity factor (grad(div))
462  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of
463  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
464    C     viscAhGridMax:: maximum and minimum harmonic viscosity coefficients ...
465    C     viscAhGridMin::  in terms of non-dimensional grid-size dependent viscosity
466  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of
467  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
468  C     viscAhGrid:: non-dimensional grid-size dependent viscosity  C     viscAhGrid:: non-dimensional grid-size dependent viscosity
469  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity
470  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...
471  C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity  C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity
472  C     viscC4leith :: Leith non-dimensional viscosity factor  C     viscC4leith :: Leith non-dimensional viscosity factor (grad(vort))
473    C     viscC4leithD :: Modified Leith non-dimensional viscosity factor (grad(div))
474  C     diffKhT   :: Laplacian diffusion coeff. for mixing of  C     diffKhT   :: Laplacian diffusion coeff. for mixing of
475  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
476  C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.  C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.
# Line 468  C                    it will be the deep Line 495  C                    it will be the deep
495  C                    Frequency of checkpointing and dumping of the model state  C                    Frequency of checkpointing and dumping of the model state
496  C                    are referenced to this clock. ( s )  C                    are referenced to this clock. ( s )
497  C     deltaTMom    :: Timestep for momemtum equations ( s )  C     deltaTMom    :: Timestep for momemtum equations ( s )
498  C     deltaTtracer :: Timestep for tracer equations ( s )  C     dTtracerLev  :: Timestep for tracer equations ( s ), function of level k
499  C     deltaTfreesurf :: Timestep for free-surface equation ( s )  C     deltaTfreesurf :: Timestep for free-surface equation ( s )
500  C     freesurfFac  :: Parameter to turn implicit free surface term on or off  C     freesurfFac  :: Parameter to turn implicit free surface term on or off
501  C                    freesurfac = 1. uses implicit free surface  C                    freesurfac = 1. uses implicit free surface
# Line 534  C      --"-"--  Quadratic  ( linear: 1/s Line 561  C      --"-"--  Quadratic  ( linear: 1/s
561        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
562       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
563       & delR, delRc, delX, delY,       & delR, delRc, delX, delY,
564       & deltaT, deltaTmom, deltaTtracer, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
565       & abeps, startTime,       & abeps, startTime,
566       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,
567       & fCori, fCoriG, fCoriCos,       & fCori, fCoriG, fCoriCos,
568       & viscAh, viscAhW, viscAhMax, viscAhGrid, viscC2leith,       & viscAh, viscAhW, viscAhMax,
569         & viscAhGrid, viscAhGridMax, viscAhGridMin,
570         & viscC2leith, viscC2leithD,
571       & viscAhD, viscAhZ, viscA4D, viscA4Z,       & viscAhD, viscAhZ, viscA4D, viscA4Z,
572       & viscA4,  viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,       & viscA4, viscA4W,
573         & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,
574       & viscC4leith, viscAr, viscAstrain, viscAtension,       & viscC4leith, viscAr, viscAstrain, viscAtension,
575       & diffKhT, diffK4T, diffKrNrT,       & diffKhT, diffK4T, diffKrNrT,
576       & diffKhS, diffK4S, diffKrNrS,       & diffKhS, diffK4S, diffKrNrS,
# Line 551  C      --"-"--  Quadratic  ( linear: 1/s Line 581  C      --"-"--  Quadratic  ( linear: 1/s
581       & recip_rhoConst, rhoConst,       & recip_rhoConst, rhoConst,
582       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,
583       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,
584       & diagFreq, taveFreq, tave_lastIter, monitorFreq,       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
585       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
586       & cosPower, cAdjFreq, omega, rotationPeriod,       & cosPower, cAdjFreq, omega, rotationPeriod,
587       & tauThetaClimRelax, lambdaThetaClimRelax,       & tauThetaClimRelax, lambdaThetaClimRelax,
# Line 563  C      --"-"--  Quadratic  ( linear: 1/s Line 593  C      --"-"--  Quadratic  ( linear: 1/s
593       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
594       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
595       & bottomDragLinear,bottomDragQuadratic,       & bottomDragLinear,bottomDragQuadratic,
596       & tCyl       & tCylIn, tCylOut
597    
598        _RL cg2dTargetResidual        _RL cg2dTargetResidual
599        _RL cg2dTargetResWunit        _RL cg2dTargetResWunit
# Line 576  C      --"-"--  Quadratic  ( linear: 1/s Line 606  C      --"-"--  Quadratic  ( linear: 1/s
606        _RL deltaT        _RL deltaT
607        _RL deltaTClock        _RL deltaTClock
608        _RL deltaTmom        _RL deltaTmom
609        _RL deltaTtracer        _RL dTtracerLev(Nr)
610        _RL deltaTfreesurf        _RL deltaTfreesurf
611        _RL abeps        _RL abeps
612        _RL phiMin        _RL phiMin
# Line 600  C      --"-"--  Quadratic  ( linear: 1/s Line 630  C      --"-"--  Quadratic  ( linear: 1/s
630        _RL viscAhZ        _RL viscAhZ
631        _RL viscAhMax        _RL viscAhMax
632        _RL viscAhGrid        _RL viscAhGrid
633          _RL viscAhGridMax
634          _RL viscAhGridMin
635        _RL viscC2leith        _RL viscC2leith
636          _RL viscC2leithD
637        _RL viscAstrain        _RL viscAstrain
638        _RL viscAtension        _RL viscAtension
639        _RL viscAr        _RL viscAr
640        _RL viscA4        _RL viscA4
641          _RL viscA4W
642        _RL viscA4D        _RL viscA4D
643        _RL viscA4Z        _RL viscA4Z
644        _RL viscA4Max        _RL viscA4Max
645        _RL viscA4Grid, viscA4GridMax, viscA4GridMin        _RL viscA4Grid, viscA4GridMax, viscA4GridMin
646        _RL viscC4leith        _RL viscC4leith
647          _RL viscC4leithD
648        _RL diffKhT        _RL diffKhT
649        _RL diffKrNrT(Nr)        _RL diffKrNrT(Nr)
650        _RL diffK4T        _RL diffK4T
# Line 647  C      --"-"--  Quadratic  ( linear: 1/s Line 682  C      --"-"--  Quadratic  ( linear: 1/s
682        _RL taveFreq        _RL taveFreq
683        _RL tave_lastIter        _RL tave_lastIter
684        _RL monitorFreq        _RL monitorFreq
685          _RL adjMonitorFreq
686        _RL afFacMom        _RL afFacMom
687        _RL vfFacMom        _RL vfFacMom
688        _RL pfFacMom        _RL pfFacMom
# Line 675  C      --"-"--  Quadratic  ( linear: 1/s Line 711  C      --"-"--  Quadratic  ( linear: 1/s
711        _RL Ro_SeaLevel        _RL Ro_SeaLevel
712        _RL bottomDragLinear        _RL bottomDragLinear
713        _RL bottomDragQuadratic        _RL bottomDragQuadratic
714        _RL tCyl        _RL tCylIn
715          _RL tCylOut
716    
717  C--   COMMON /PARM_A/ Thermodynamics constants ?  C--   COMMON /PARM_A/ Thermodynamics constants ?
718        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp

Legend:
Removed from v.1.138  
changed lines
  Added in v.1.146

  ViewVC Help
Powered by ViewVC 1.1.22