/[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.141 by jmc, Tue Jan 4 15:56:38 2005 UTC revision 1.151 by heimbach, Wed Apr 6 20:18:19 2005 UTC
# Line 70  C     dQdTfile        :: File containing Line 70  C     dQdTfile        :: File containing
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  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 82  C     the_run_name    :: string identify Line 84  C     the_run_name    :: string identify
84       &                saltClimFile, buoyancyRelation,       &                saltClimFile, buoyancyRelation,
85       &                EmPmRfile, saltFluxFile,       &                EmPmRfile, saltFluxFile,
86       &                surfQfile, surfQnetFile, surfQswFile,       &                surfQfile, surfQnetFile, surfQswFile,
87         &                lambdaThetaFile, lambdaSaltFile,
88       &                uVelInitFile, vVelInitFile, pSurfInitFile,       &                uVelInitFile, vVelInitFile, pSurfInitFile,
89       &                dQdTfile, ploadFile,       &                dQdTfile, ploadFile,
90         &                eddyTauxFile, eddyTauyFile,
91       &                eosType, pickupSuff,       &                eosType, pickupSuff,
92       &                mdsioLocalDir,       &                mdsioLocalDir,
93       &                the_run_name       &                the_run_name
# Line 106  C     the_run_name    :: string identify Line 110  C     the_run_name    :: string identify
110        CHARACTER*(MAX_LEN_FNAM) pSurfInitFile        CHARACTER*(MAX_LEN_FNAM) pSurfInitFile
111        CHARACTER*(MAX_LEN_FNAM) dQdTfile        CHARACTER*(MAX_LEN_FNAM) dQdTfile
112        CHARACTER*(MAX_LEN_FNAM) ploadFile        CHARACTER*(MAX_LEN_FNAM) ploadFile
113          CHARACTER*(MAX_LEN_FNAM) eddyTauxFile
114          CHARACTER*(MAX_LEN_FNAM) eddyTauyFile
115          CHARACTER*(MAX_LEN_FNAM) lambdaThetaFile
116          CHARACTER*(MAX_LEN_FNAM) lambdaSaltFile
117        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir
118        CHARACTER*(MAX_LEN_FNAM) the_run_name        CHARACTER*(MAX_LEN_FNAM) the_run_name
119        CHARACTER*(6) eosType        CHARACTER*(6) eosType
# Line 210  C                     and off. Line 218  C                     and off.
218  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux
219  C                         as a real Fresh Water (=> changes the Sea Level)  C                         as a real Fresh Water (=> changes the Sea Level)
220  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)
221    C     useFullLeith   :: Set to true to use full Leith viscosity (may be unstable
222    C                       on irregular grids)
223  C     rigidLid            :: Set to true to use rigid lid  C     rigidLid            :: Set to true to use rigid lid
224  C     implicitFreeSurface :: Set to true to use implcit free surface  C     implicitFreeSurface :: Set to true to use implcit free surface
225  C     exactConserv        :: Set to true to conserve exactly the total Volume  C     exactConserv        :: Set to true to conserve exactly the total Volume
# Line 268  C     pickup_read_mdsio  :: use mdsio to Line 278  C     pickup_read_mdsio  :: use mdsio to
278  C     pickup_write_immed :: echo the pickup immediately (for conversion)  C     pickup_write_immed :: echo the pickup immediately (for conversion)
279  C     timeave_mdsio      :: use mdsio for timeave output  C     timeave_mdsio      :: use mdsio for timeave output
280  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output
281    C     seaice_mdsio       :: use mdsio for seaice output
282  C     monitor_stdio      :: use stdio for monitor output  C     monitor_stdio      :: use stdio for monitor output
283    C     calendarDumps :: When set, approximate months (30-31 days) and years (360-372 days)
284    C                      for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq,
285    C                      KPP_taveFreq, and freq in pkg/diagnostics are converted to exact
286    C                      calendar months and years.  Requires pkg/cal.
287        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
288       & usingCurvilinearGrid, usingCylindricalGrid,       & usingCurvilinearGrid, usingCylindricalGrid,
289       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
# Line 278  C     monitor_stdio      :: use stdio fo Line 293  C     monitor_stdio      :: use stdio fo
293       & tempAdvection, tempForcing,       & tempAdvection, tempForcing,
294       & saltAdvection, saltForcing,       & saltAdvection, saltForcing,
295       & useRealFreshWaterFlux,       & useRealFreshWaterFlux,
296         & useFullLeith,
297       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,
298       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
299       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,
# Line 298  C     monitor_stdio      :: use stdio fo Line 314  C     monitor_stdio      :: use stdio fo
314       & usePickupBeforeC35, usePickupBeforeC54, debugMode,       & usePickupBeforeC35, usePickupBeforeC54, debugMode,
315       & readPickupWithTracer, writePickupWithTracer,       & readPickupWithTracer, writePickupWithTracer,
316       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,
317       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio, seaice_mdsio,
318       & outputTypesInclusive       & outputTypesInclusive,
319         & inAdMode, inAdTrue, inAdFalse, inAdExact,
320         & calendarDumps
321    
322        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
323        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
# Line 321  C     monitor_stdio      :: use stdio fo Line 339  C     monitor_stdio      :: use stdio fo
339        LOGICAL saltAdvection        LOGICAL saltAdvection
340        LOGICAL saltForcing        LOGICAL saltForcing
341        LOGICAL useRealFreshWaterFlux        LOGICAL useRealFreshWaterFlux
342          LOGICAL useFullLeith
343        LOGICAL rigidLid        LOGICAL rigidLid
344        LOGICAL implicitFreeSurface        LOGICAL implicitFreeSurface
345        LOGICAL exactConserv        LOGICAL exactConserv
# Line 373  C     monitor_stdio      :: use stdio fo Line 392  C     monitor_stdio      :: use stdio fo
392        LOGICAL pickup_read_mdsio, pickup_write_mdsio        LOGICAL pickup_read_mdsio, pickup_write_mdsio
393        LOGICAL pickup_write_immed        LOGICAL pickup_write_immed
394        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
395          LOGICAL seaice_mdsio
396        LOGICAL outputTypesInclusive        LOGICAL outputTypesInclusive
397          LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
398          LOGICAL calendarDumps
399    
400  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
401  C     cg2dTargetResidual  C     cg2dTargetResidual
# Line 408  C     rhoConst  :: Vertically constant r Line 430  C     rhoConst  :: Vertically constant r
430  C     rhoConstFresh :: Constant reference density for fresh water (rain)  C     rhoConstFresh :: Constant reference density for fresh water (rain)
431  C     tRef      :: reference vertical profile for potential temperature  C     tRef      :: reference vertical profile for potential temperature
432  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 )  
433  C     phiMin    :: Latitude of southern most cell face.  C     phiMin    :: Latitude of southern most cell face.
434  C     thetaMin  :: Longitude of western most cell face (this  C     thetaMin  :: Longitude of western most cell face (this
435  C                 is an "inert" parameter but it is included  C                 is an "inert" parameter but it is included
# Line 440  C     viscA4D   :: Biharmonic viscosity Line 461  C     viscA4D   :: Biharmonic viscosity
461  C                  (act on Divergence part) ( m^4/s )  C                  (act on Divergence part) ( m^4/s )
462  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally
463  C                  (act on Vorticity  part) ( m^4/s )  C                  (act on Vorticity  part) ( m^4/s )
464  C     viscC2leith :: Leith non-dimensional viscosity factor  C     viscC2leith :: Leith non-dimensional viscosity factor (grad(vort))
465    C     viscC2leithD :: Modified Leith non-dimensional viscosity factor (grad(div))
466    C     viscC2smag  :: Smagorinsky non-dimensional viscosity factor
467  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of
468  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
469    C     viscAhGridMax:: maximum and minimum harmonic viscosity coefficients ...
470    C     viscAhGridMin::  in terms of non-dimensional grid-size dependent viscosity
471  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of
472  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
473  C     viscAhGrid:: non-dimensional grid-size dependent viscosity  C     viscAhGrid:: non-dimensional grid-size dependent viscosity
474  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity
475  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...
476  C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity  C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity
477  C     viscC4leith :: Leith non-dimensional viscosity factor  C     viscC4leith :: Leith non-dimensional viscosity factor (grad(vort))
478    C     viscC4leithD :: Modified Leith non-dimensional viscosity factor (grad(div))
479  C     diffKhT   :: Laplacian diffusion coeff. for mixing of  C     diffKhT   :: Laplacian diffusion coeff. for mixing of
480  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
481  C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.  C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.
# Line 491  C     hFacInf      :: Threshold (inf and Line 517  C     hFacInf      :: Threshold (inf and
517  C     hFacSup        that control vanishing and creating levels  C     hFacSup        that control vanishing and creating levels
518  C     tauCD        :: CD scheme coupling timescale ( 1/s )  C     tauCD        :: CD scheme coupling timescale ( 1/s )
519  C     rCD          :: CD scheme normalised coupling parameter ( 0-1 )  C     rCD          :: CD scheme normalised coupling parameter ( 0-1 )
520    C     baseTime      :: model base time (time origin) = time @ iteration zero
521  C     startTime     :: Starting time for this integration ( s ).  C     startTime     :: Starting time for this integration ( s ).
522  C     endTime       :: Ending time for this integration ( s ).  C     endTime       :: Ending time for this integration ( s ).
523  C     chkPtFreq     :: Frequency of rolling check pointing ( s ).  C     chkPtFreq     :: Frequency of rolling check pointing ( s ).
# Line 541  C      --"-"--  Quadratic  ( linear: 1/s Line 568  C      --"-"--  Quadratic  ( linear: 1/s
568       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
569       & delR, delRc, delX, delY,       & delR, delRc, delX, delY,
570       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
571       & abeps, startTime,       & abeps,
572       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,
573       & fCori, fCoriG, fCoriCos,       & viscAh, viscAhW, viscAhMax,
574       & viscAh, viscAhW, viscAhMax, viscAhGrid, viscC2leith,       & viscAhGrid, viscAhGridMax, viscAhGridMin,
575         & viscC2leith, viscC2leithD,
576         & viscC2smag,
577       & viscAhD, viscAhZ, viscA4D, viscA4Z,       & viscAhD, viscAhZ, viscA4D, viscA4Z,
578       & viscA4, viscA4W,       & viscA4, viscA4W,
579       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,
580       & viscC4leith, viscAr, viscAstrain, viscAtension,       & viscC4leith, viscC4leithD, viscAr, viscAstrain, viscAtension,
581       & diffKhT, diffK4T, diffKrNrT,       & diffKhT, diffK4T, diffKrNrT,
582       & diffKhS, diffK4S, diffKrNrS,       & diffKhS, diffK4S, diffKrNrS,
583       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
# Line 557  C      --"-"--  Quadratic  ( linear: 1/s Line 586  C      --"-"--  Quadratic  ( linear: 1/s
586       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
587       & recip_rhoConst, rhoConst,       & recip_rhoConst, rhoConst,
588       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,
589       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,       & baseTime, startTime, endTime,
590       & diagFreq, taveFreq, tave_lastIter, monitorFreq,       & chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,
591         & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
592       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
593       & cosPower, cAdjFreq, omega, rotationPeriod,       & cosPower, cAdjFreq, omega, rotationPeriod,
594       & tauThetaClimRelax, lambdaThetaClimRelax,       & tauThetaClimRelax, lambdaThetaClimRelax,
# Line 570  C      --"-"--  Quadratic  ( linear: 1/s Line 600  C      --"-"--  Quadratic  ( linear: 1/s
600       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
601       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
602       & bottomDragLinear,bottomDragQuadratic,       & bottomDragLinear,bottomDragQuadratic,
603       & tCyl       & tCylIn, tCylOut
604    
605        _RL cg2dTargetResidual        _RL cg2dTargetResidual
606        _RL cg2dTargetResWunit        _RL cg2dTargetResWunit
# Line 607  C      --"-"--  Quadratic  ( linear: 1/s Line 637  C      --"-"--  Quadratic  ( linear: 1/s
637        _RL viscAhZ        _RL viscAhZ
638        _RL viscAhMax        _RL viscAhMax
639        _RL viscAhGrid        _RL viscAhGrid
640          _RL viscAhGridMax
641          _RL viscAhGridMin
642        _RL viscC2leith        _RL viscC2leith
643          _RL viscC2leithD
644          _RL viscC2smag
645        _RL viscAstrain        _RL viscAstrain
646        _RL viscAtension        _RL viscAtension
647        _RL viscAr        _RL viscAr
# Line 618  C      --"-"--  Quadratic  ( linear: 1/s Line 652  C      --"-"--  Quadratic  ( linear: 1/s
652        _RL viscA4Max        _RL viscA4Max
653        _RL viscA4Grid, viscA4GridMax, viscA4GridMin        _RL viscA4Grid, viscA4GridMax, viscA4GridMin
654        _RL viscC4leith        _RL viscC4leith
655          _RL viscC4leithD
656        _RL diffKhT        _RL diffKhT
657        _RL diffKrNrT(Nr)        _RL diffKrNrT(Nr)
658        _RL diffK4T        _RL diffK4T
# Line 645  C      --"-"--  Quadratic  ( linear: 1/s Line 680  C      --"-"--  Quadratic  ( linear: 1/s
680        _RS fCori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RS fCori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
681        _RS fCoriG(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RS fCoriG(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
682        _RS fCoriCos(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RS fCoriCos(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
683          _RS lambdaThetaClimRelax(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
684          _RS lambdaSaltClimRelax(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
685          _RL baseTime
686        _RL startTime        _RL startTime
687        _RL endTime        _RL endTime
688        _RL chkPtFreq        _RL chkPtFreq
# Line 655  C      --"-"--  Quadratic  ( linear: 1/s Line 693  C      --"-"--  Quadratic  ( linear: 1/s
693        _RL taveFreq        _RL taveFreq
694        _RL tave_lastIter        _RL tave_lastIter
695        _RL monitorFreq        _RL monitorFreq
696          _RL adjMonitorFreq
697        _RL afFacMom        _RL afFacMom
698        _RL vfFacMom        _RL vfFacMom
699        _RL pfFacMom        _RL pfFacMom
# Line 666  C      --"-"--  Quadratic  ( linear: 1/s Line 705  C      --"-"--  Quadratic  ( linear: 1/s
705        _RL omega        _RL omega
706        _RL rotationPeriod        _RL rotationPeriod
707        _RL tauThetaClimRelax        _RL tauThetaClimRelax
       _RL lambdaThetaClimRelax  
708        _RL tauSaltClimRelax        _RL tauSaltClimRelax
       _RL lambdaSaltClimRelax  
709        _RL tauTr1ClimRelax        _RL tauTr1ClimRelax
710        _RL lambdaTr1ClimRelax        _RL lambdaTr1ClimRelax
711        _RL latBandClimRelax        _RL latBandClimRelax
# Line 683  C      --"-"--  Quadratic  ( linear: 1/s Line 720  C      --"-"--  Quadratic  ( linear: 1/s
720        _RL Ro_SeaLevel        _RL Ro_SeaLevel
721        _RL bottomDragLinear        _RL bottomDragLinear
722        _RL bottomDragQuadratic        _RL bottomDragQuadratic
723        _RL tCyl        _RL tCylIn
724          _RL tCylOut
725    
726  C--   COMMON /PARM_A/ Thermodynamics constants ?  C--   COMMON /PARM_A/ Thermodynamics constants ?
727        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp

Legend:
Removed from v.1.141  
changed lines
  Added in v.1.151

  ViewVC Help
Powered by ViewVC 1.1.22