/[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.152 by heimbach, Wed Apr 6 22:02:56 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 514  C     tave_lastIter :: (for state variab Line 541  C     tave_lastIter :: (for state variab
541  C                      step (of each taveFreq period) put in the time average.  C                      step (of each taveFreq period) put in the time average.
542  C                      (fraction for 1rst iter = 1 - tave_lastIter)  C                      (fraction for 1rst iter = 1 - tave_lastIter)
543  C     tauThetaClimRelax :: Relaxation to climatology time scale ( s ).  C     tauThetaClimRelax :: Relaxation to climatology time scale ( s ).
 C     lambdaThetaClimRelax :: Inverse time scale for relaxation ( 1/s ).  
544  C     tauSaltClimRelax :: Relaxation to climatology time scale ( s ).  C     tauSaltClimRelax :: Relaxation to climatology time scale ( s ).
 C     lambdaSaltClimRelax :: Inverse time scale for relaxation ( 1/s ).  
545  C     latBandClimRelax :: latitude band where Relaxation to Clim. is applied,  C     latBandClimRelax :: latitude band where Relaxation to Clim. is applied,
546  C                         i.e. where |yC| <= latBandClimRelax  C                         i.e. where |yC| <= latBandClimRelax
547  C     externForcingPeriod :: Is the period of which forcing varies (eg. 1 month)  C     externForcingPeriod :: Is the period of which forcing varies (eg. 1 month)
# Line 541  C      --"-"--  Quadratic  ( linear: 1/s Line 566  C      --"-"--  Quadratic  ( linear: 1/s
566       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
567       & delR, delRc, delX, delY,       & delR, delRc, delX, delY,
568       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
569       & abeps, startTime,       & abeps,
570       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,
571       & fCori, fCoriG, fCoriCos,       & viscAh, viscAhW, viscAhMax,
572       & viscAh, viscAhW, viscAhMax, viscAhGrid, viscC2leith,       & viscAhGrid, viscAhGridMax, viscAhGridMin,
573         & viscC2leith, viscC2leithD,
574         & viscC2smag,
575       & viscAhD, viscAhZ, viscA4D, viscA4Z,       & viscAhD, viscAhZ, viscA4D, viscA4Z,
576       & viscA4, viscA4W,       & viscA4, viscA4W,
577       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,
578       & viscC4leith, viscAr, viscAstrain, viscAtension,       & viscC4leith, viscC4leithD, viscAr, viscAstrain, viscAtension,
579       & diffKhT, diffK4T, diffKrNrT,       & diffKhT, diffK4T, diffKrNrT,
580       & diffKhS, diffK4S, diffKrNrS,       & diffKhS, diffK4S, diffKrNrS,
581       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
# Line 557  C      --"-"--  Quadratic  ( linear: 1/s Line 584  C      --"-"--  Quadratic  ( linear: 1/s
584       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
585       & recip_rhoConst, rhoConst,       & recip_rhoConst, rhoConst,
586       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,
587       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,       & baseTime, startTime, endTime,
588       & diagFreq, taveFreq, tave_lastIter, monitorFreq,       & chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,
589         & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
590       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
591       & cosPower, cAdjFreq, omega, rotationPeriod,       & cosPower, cAdjFreq, omega, rotationPeriod,
592       & tauThetaClimRelax, lambdaThetaClimRelax,       & tauThetaClimRelax,
593       & tauSaltClimRelax, lambdaSaltClimRelax,       & tauSaltClimRelax,
594       & tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax,       & tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax,
595       & externForcingCycle, externForcingPeriod,       & externForcingCycle, externForcingPeriod,
596       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn,       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn,
# Line 570  C      --"-"--  Quadratic  ( linear: 1/s Line 598  C      --"-"--  Quadratic  ( linear: 1/s
598       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
599       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
600       & bottomDragLinear,bottomDragQuadratic,       & bottomDragLinear,bottomDragQuadratic,
601       & tCyl       & tCylIn, tCylOut
602    
603        _RL cg2dTargetResidual        _RL cg2dTargetResidual
604        _RL cg2dTargetResWunit        _RL cg2dTargetResWunit
# Line 607  C      --"-"--  Quadratic  ( linear: 1/s Line 635  C      --"-"--  Quadratic  ( linear: 1/s
635        _RL viscAhZ        _RL viscAhZ
636        _RL viscAhMax        _RL viscAhMax
637        _RL viscAhGrid        _RL viscAhGrid
638          _RL viscAhGridMax
639          _RL viscAhGridMin
640        _RL viscC2leith        _RL viscC2leith
641          _RL viscC2leithD
642          _RL viscC2smag
643        _RL viscAstrain        _RL viscAstrain
644        _RL viscAtension        _RL viscAtension
645        _RL viscAr        _RL viscAr
# Line 618  C      --"-"--  Quadratic  ( linear: 1/s Line 650  C      --"-"--  Quadratic  ( linear: 1/s
650        _RL viscA4Max        _RL viscA4Max
651        _RL viscA4Grid, viscA4GridMax, viscA4GridMin        _RL viscA4Grid, viscA4GridMax, viscA4GridMin
652        _RL viscC4leith        _RL viscC4leith
653          _RL viscC4leithD
654        _RL diffKhT        _RL diffKhT
655        _RL diffKrNrT(Nr)        _RL diffKrNrT(Nr)
656        _RL diffK4T        _RL diffK4T
# Line 642  C      --"-"--  Quadratic  ( linear: 1/s Line 675  C      --"-"--  Quadratic  ( linear: 1/s
675        _RL convertEmP2rUnit        _RL convertEmP2rUnit
676        _RL tRef(Nr)        _RL tRef(Nr)
677        _RL sRef(Nr)        _RL sRef(Nr)
678        _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)  
679        _RL startTime        _RL startTime
680        _RL endTime        _RL endTime
681        _RL chkPtFreq        _RL chkPtFreq
# Line 655  C      --"-"--  Quadratic  ( linear: 1/s Line 686  C      --"-"--  Quadratic  ( linear: 1/s
686        _RL taveFreq        _RL taveFreq
687        _RL tave_lastIter        _RL tave_lastIter
688        _RL monitorFreq        _RL monitorFreq
689          _RL adjMonitorFreq
690        _RL afFacMom        _RL afFacMom
691        _RL vfFacMom        _RL vfFacMom
692        _RL pfFacMom        _RL pfFacMom
# Line 666  C      --"-"--  Quadratic  ( linear: 1/s Line 698  C      --"-"--  Quadratic  ( linear: 1/s
698        _RL omega        _RL omega
699        _RL rotationPeriod        _RL rotationPeriod
700        _RL tauThetaClimRelax        _RL tauThetaClimRelax
       _RL lambdaThetaClimRelax  
701        _RL tauSaltClimRelax        _RL tauSaltClimRelax
       _RL lambdaSaltClimRelax  
702        _RL tauTr1ClimRelax        _RL tauTr1ClimRelax
703        _RL lambdaTr1ClimRelax        _RL lambdaTr1ClimRelax
704        _RL latBandClimRelax        _RL latBandClimRelax
# Line 683  C      --"-"--  Quadratic  ( linear: 1/s Line 713  C      --"-"--  Quadratic  ( linear: 1/s
713        _RL Ro_SeaLevel        _RL Ro_SeaLevel
714        _RL bottomDragLinear        _RL bottomDragLinear
715        _RL bottomDragQuadratic        _RL bottomDragQuadratic
716        _RL tCyl        _RL tCylIn
717          _RL tCylOut
718    
719  C--   COMMON /PARM_A/ Thermodynamics constants ?  C--   COMMON /PARM_A/ Thermodynamics constants ?
720        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.152

  ViewVC Help
Powered by ViewVC 1.1.22