/[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.140 by mlosch, Thu Dec 9 09:01:07 2004 UTC revision 1.150 by jmc, Wed Apr 6 18:23:21 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 265  C     pickup_read_mdsio  :: use mdsio to Line 275  C     pickup_read_mdsio  :: use mdsio to
275  C     pickup_write_immed :: echo the pickup immediately (for conversion)  C     pickup_write_immed :: echo the pickup immediately (for conversion)
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     seaice_mdsio       :: use mdsio for seaice output
279  C     monitor_stdio      :: use stdio for monitor output  C     monitor_stdio      :: use stdio for monitor output
280    C     calendarDumps :: When set, approximate months (30-31 days) and years (360-372 days)
281    C                      for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq,
282    C                      KPP_taveFreq, and freq in pkg/diagnostics are converted to exact
283    C                      calendar months and years.  Requires pkg/cal.
284        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
285       & usingCurvilinearGrid, usingCylindricalGrid,       & usingCurvilinearGrid, usingCylindricalGrid,
286       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
# Line 275  C     monitor_stdio      :: use stdio fo Line 290  C     monitor_stdio      :: use stdio fo
290       & tempAdvection, tempForcing,       & tempAdvection, tempForcing,
291       & saltAdvection, saltForcing,       & saltAdvection, saltForcing,
292       & useRealFreshWaterFlux,       & useRealFreshWaterFlux,
293         & useFullLeith,
294       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,
295       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
296       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,
# Line 295  C     monitor_stdio      :: use stdio fo Line 311  C     monitor_stdio      :: use stdio fo
311       & usePickupBeforeC35, usePickupBeforeC54, debugMode,       & usePickupBeforeC35, usePickupBeforeC54, debugMode,
312       & readPickupWithTracer, writePickupWithTracer,       & readPickupWithTracer, writePickupWithTracer,
313       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,
314       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio, seaice_mdsio,
315       & outputTypesInclusive       & outputTypesInclusive,
316         & inAdMode, inAdTrue, inAdFalse, inAdExact,
317         & calendarDumps
318    
319        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
320        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
# Line 318  C     monitor_stdio      :: use stdio fo Line 336  C     monitor_stdio      :: use stdio fo
336        LOGICAL saltAdvection        LOGICAL saltAdvection
337        LOGICAL saltForcing        LOGICAL saltForcing
338        LOGICAL useRealFreshWaterFlux        LOGICAL useRealFreshWaterFlux
339          LOGICAL useFullLeith
340        LOGICAL rigidLid        LOGICAL rigidLid
341        LOGICAL implicitFreeSurface        LOGICAL implicitFreeSurface
342        LOGICAL exactConserv        LOGICAL exactConserv
# Line 370  C     monitor_stdio      :: use stdio fo Line 389  C     monitor_stdio      :: use stdio fo
389        LOGICAL pickup_read_mdsio, pickup_write_mdsio        LOGICAL pickup_read_mdsio, pickup_write_mdsio
390        LOGICAL pickup_write_immed        LOGICAL pickup_write_immed
391        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
392          LOGICAL seaice_mdsio
393        LOGICAL outputTypesInclusive        LOGICAL outputTypesInclusive
394          LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
395          LOGICAL calendarDumps
396    
397  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
398  C     cg2dTargetResidual  C     cg2dTargetResidual
# Line 405  C     rhoConst  :: Vertically constant r Line 427  C     rhoConst  :: Vertically constant r
427  C     rhoConstFresh :: Constant reference density for fresh water (rain)  C     rhoConstFresh :: Constant reference density for fresh water (rain)
428  C     tRef      :: reference vertical profile for potential temperature  C     tRef      :: reference vertical profile for potential temperature
429  C     sRef      :: reference vertical profile for salinity/specific humidity  C     sRef      :: reference vertical profile for salinity/specific humidity
 C     startTime :: Start time for model ( s )  
430  C     phiMin    :: Latitude of southern most cell face.  C     phiMin    :: Latitude of southern most cell face.
431  C     thetaMin  :: Longitude of western most cell face (this  C     thetaMin  :: Longitude of western most cell face (this
432  C                 is an "inert" parameter but it is included  C                 is an "inert" parameter but it is included
# Line 437  C     viscA4D   :: Biharmonic viscosity Line 458  C     viscA4D   :: Biharmonic viscosity
458  C                  (act on Divergence part) ( m^4/s )  C                  (act on Divergence part) ( m^4/s )
459  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally
460  C                  (act on Vorticity  part) ( m^4/s )  C                  (act on Vorticity  part) ( m^4/s )
461  C     viscC2leith :: Leith non-dimensional viscosity factor  C     viscC2leith :: Leith non-dimensional viscosity factor (grad(vort))
462    C     viscC2leithD :: Modified Leith non-dimensional viscosity factor (grad(div))
463    C     viscC2smag  :: Smagorinsky non-dimensional viscosity factor
464  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of
465  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
466    C     viscAhGridMax:: maximum and minimum harmonic viscosity coefficients ...
467    C     viscAhGridMin::  in terms of non-dimensional grid-size dependent viscosity
468  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of
469  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
470  C     viscAhGrid:: non-dimensional grid-size dependent viscosity  C     viscAhGrid:: non-dimensional grid-size dependent viscosity
471  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity
472  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...
473  C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity  C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity
474  C     viscC4leith :: Leith non-dimensional viscosity factor  C     viscC4leith :: Leith non-dimensional viscosity factor (grad(vort))
475    C     viscC4leithD :: Modified Leith non-dimensional viscosity factor (grad(div))
476  C     diffKhT   :: Laplacian diffusion coeff. for mixing of  C     diffKhT   :: Laplacian diffusion coeff. for mixing of
477  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
478  C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.  C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.
# Line 488  C     hFacInf      :: Threshold (inf and Line 514  C     hFacInf      :: Threshold (inf and
514  C     hFacSup        that control vanishing and creating levels  C     hFacSup        that control vanishing and creating levels
515  C     tauCD        :: CD scheme coupling timescale ( 1/s )  C     tauCD        :: CD scheme coupling timescale ( 1/s )
516  C     rCD          :: CD scheme normalised coupling parameter ( 0-1 )  C     rCD          :: CD scheme normalised coupling parameter ( 0-1 )
517    C     baseTime      :: model base time (time origin) = time @ iteration zero
518  C     startTime     :: Starting time for this integration ( s ).  C     startTime     :: Starting time for this integration ( s ).
519  C     endTime       :: Ending time for this integration ( s ).  C     endTime       :: Ending time for this integration ( s ).
520  C     chkPtFreq     :: Frequency of rolling check pointing ( s ).  C     chkPtFreq     :: Frequency of rolling check pointing ( s ).
# Line 538  C      --"-"--  Quadratic  ( linear: 1/s Line 565  C      --"-"--  Quadratic  ( linear: 1/s
565       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
566       & delR, delRc, delX, delY,       & delR, delRc, delX, delY,
567       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
568       & abeps, startTime,       & abeps,
569       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,
570       & fCori, fCoriG, fCoriCos,       & viscAh, viscAhW, viscAhMax,
571       & viscAh, viscAhW, viscAhMax, viscAhGrid, viscC2leith,       & viscAhGrid, viscAhGridMax, viscAhGridMin,
572         & viscC2leith, viscC2leithD,
573         & viscC2smag,
574       & viscAhD, viscAhZ, viscA4D, viscA4Z,       & viscAhD, viscAhZ, viscA4D, viscA4Z,
575       & viscA4, viscA4W,       & viscA4, viscA4W,
576       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,
577       & viscC4leith, viscAr, viscAstrain, viscAtension,       & viscC4leith, viscC4leithD, viscAr, viscAstrain, viscAtension,
578       & diffKhT, diffK4T, diffKrNrT,       & diffKhT, diffK4T, diffKrNrT,
579       & diffKhS, diffK4S, diffKrNrS,       & diffKhS, diffK4S, diffKrNrS,
580       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
# Line 554  C      --"-"--  Quadratic  ( linear: 1/s Line 583  C      --"-"--  Quadratic  ( linear: 1/s
583       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
584       & recip_rhoConst, rhoConst,       & recip_rhoConst, rhoConst,
585       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,
586       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,       & baseTime, startTime, endTime,
587       & diagFreq, taveFreq, tave_lastIter, monitorFreq,       & chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,
588         & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
589       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
590       & cosPower, cAdjFreq, omega, rotationPeriod,       & cosPower, cAdjFreq, omega, rotationPeriod,
591       & tauThetaClimRelax, lambdaThetaClimRelax,       & tauThetaClimRelax, lambdaThetaClimRelax,
# Line 567  C      --"-"--  Quadratic  ( linear: 1/s Line 597  C      --"-"--  Quadratic  ( linear: 1/s
597       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
598       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
599       & bottomDragLinear,bottomDragQuadratic,       & bottomDragLinear,bottomDragQuadratic,
600       & tCyl       & tCylIn, tCylOut
601    
602        _RL cg2dTargetResidual        _RL cg2dTargetResidual
603        _RL cg2dTargetResWunit        _RL cg2dTargetResWunit
# Line 604  C      --"-"--  Quadratic  ( linear: 1/s Line 634  C      --"-"--  Quadratic  ( linear: 1/s
634        _RL viscAhZ        _RL viscAhZ
635        _RL viscAhMax        _RL viscAhMax
636        _RL viscAhGrid        _RL viscAhGrid
637          _RL viscAhGridMax
638          _RL viscAhGridMin
639        _RL viscC2leith        _RL viscC2leith
640          _RL viscC2leithD
641          _RL viscC2smag
642        _RL viscAstrain        _RL viscAstrain
643        _RL viscAtension        _RL viscAtension
644        _RL viscAr        _RL viscAr
# Line 615  C      --"-"--  Quadratic  ( linear: 1/s Line 649  C      --"-"--  Quadratic  ( linear: 1/s
649        _RL viscA4Max        _RL viscA4Max
650        _RL viscA4Grid, viscA4GridMax, viscA4GridMin        _RL viscA4Grid, viscA4GridMax, viscA4GridMin
651        _RL viscC4leith        _RL viscC4leith
652          _RL viscC4leithD
653        _RL diffKhT        _RL diffKhT
654        _RL diffKrNrT(Nr)        _RL diffKrNrT(Nr)
655        _RL diffK4T        _RL diffK4T
# Line 639  C      --"-"--  Quadratic  ( linear: 1/s Line 674  C      --"-"--  Quadratic  ( linear: 1/s
674        _RL convertEmP2rUnit        _RL convertEmP2rUnit
675        _RL tRef(Nr)        _RL tRef(Nr)
676        _RL sRef(Nr)        _RL sRef(Nr)
677        _RS fCori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RL baseTime
       _RS fCoriG(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  
       _RS fCoriCos(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)  
678        _RL startTime        _RL startTime
679        _RL endTime        _RL endTime
680        _RL chkPtFreq        _RL chkPtFreq
# Line 652  C      --"-"--  Quadratic  ( linear: 1/s Line 685  C      --"-"--  Quadratic  ( linear: 1/s
685        _RL taveFreq        _RL taveFreq
686        _RL tave_lastIter        _RL tave_lastIter
687        _RL monitorFreq        _RL monitorFreq
688          _RL adjMonitorFreq
689        _RL afFacMom        _RL afFacMom
690        _RL vfFacMom        _RL vfFacMom
691        _RL pfFacMom        _RL pfFacMom
# Line 680  C      --"-"--  Quadratic  ( linear: 1/s Line 714  C      --"-"--  Quadratic  ( linear: 1/s
714        _RL Ro_SeaLevel        _RL Ro_SeaLevel
715        _RL bottomDragLinear        _RL bottomDragLinear
716        _RL bottomDragQuadratic        _RL bottomDragQuadratic
717        _RL tCyl        _RL tCylIn
718          _RL tCylOut
719    
720  C--   COMMON /PARM_A/ Thermodynamics constants ?  C--   COMMON /PARM_A/ Thermodynamics constants ?
721        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp

Legend:
Removed from v.1.140  
changed lines
  Added in v.1.150

  ViewVC Help
Powered by ViewVC 1.1.22