/[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.144 by dimitri, Sun Feb 20 11:46:24 2005 UTC revision 1.153 by dimitri, Mon Apr 11 14:47:24 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     useAnisotropicViscAGridMax :: Set to true to use Alistair's latest
224    C              anisotropic length scale.  It is used only for maximum viscosity
225    C              calculations.  Alistair recommends a value of viscA*GridMax=.25
226  C     rigidLid            :: Set to true to use rigid lid  C     rigidLid            :: Set to true to use rigid lid
227  C     implicitFreeSurface :: Set to true to use implcit free surface  C     implicitFreeSurface :: Set to true to use implcit free surface
228  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 281  C     pickup_read_mdsio  :: use mdsio to
281  C     pickup_write_immed :: echo the pickup immediately (for conversion)  C     pickup_write_immed :: echo the pickup immediately (for conversion)
282  C     timeave_mdsio      :: use mdsio for timeave output  C     timeave_mdsio      :: use mdsio for timeave output
283  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output
284    C     seaice_mdsio       :: use mdsio for seaice output
285  C     monitor_stdio      :: use stdio for monitor output  C     monitor_stdio      :: use stdio for monitor output
286  C     calendarDumps :: When set, approximate months (30-31 days) and years (360-372 days)  C     calendarDumps :: When set, approximate months (30-31 days) and years (360-372 days)
287  C                      for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq,  C                      for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq,
# Line 282  C                      calendar months a Line 296  C                      calendar months a
296       & tempAdvection, tempForcing,       & tempAdvection, tempForcing,
297       & saltAdvection, saltForcing,       & saltAdvection, saltForcing,
298       & useRealFreshWaterFlux,       & useRealFreshWaterFlux,
299         & useFullLeith, useAnisotropicViscAGridMax,
300       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,
301       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
302       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,
# Line 302  C                      calendar months a Line 317  C                      calendar months a
317       & usePickupBeforeC35, usePickupBeforeC54, debugMode,       & usePickupBeforeC35, usePickupBeforeC54, debugMode,
318       & readPickupWithTracer, writePickupWithTracer,       & readPickupWithTracer, writePickupWithTracer,
319       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,
320       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio, seaice_mdsio,
321       & outputTypesInclusive,       & outputTypesInclusive,
322       & inAdMode, inAdTrue, inAdFalse, inAdExact,       & inAdMode, inAdTrue, inAdFalse, inAdExact,
323       & calendarDumps       & calendarDumps
# Line 327  C                      calendar months a Line 342  C                      calendar months a
342        LOGICAL saltAdvection        LOGICAL saltAdvection
343        LOGICAL saltForcing        LOGICAL saltForcing
344        LOGICAL useRealFreshWaterFlux        LOGICAL useRealFreshWaterFlux
345          LOGICAL useFullLeith, useAnisotropicViscAGridMax
346        LOGICAL rigidLid        LOGICAL rigidLid
347        LOGICAL implicitFreeSurface        LOGICAL implicitFreeSurface
348        LOGICAL exactConserv        LOGICAL exactConserv
# Line 379  C                      calendar months a Line 395  C                      calendar months a
395        LOGICAL pickup_read_mdsio, pickup_write_mdsio        LOGICAL pickup_read_mdsio, pickup_write_mdsio
396        LOGICAL pickup_write_immed        LOGICAL pickup_write_immed
397        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
398          LOGICAL seaice_mdsio
399        LOGICAL outputTypesInclusive        LOGICAL outputTypesInclusive
400        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
401        LOGICAL calendarDumps        LOGICAL calendarDumps
# Line 416  C     rhoConst  :: Vertically constant r Line 433  C     rhoConst  :: Vertically constant r
433  C     rhoConstFresh :: Constant reference density for fresh water (rain)  C     rhoConstFresh :: Constant reference density for fresh water (rain)
434  C     tRef      :: reference vertical profile for potential temperature  C     tRef      :: reference vertical profile for potential temperature
435  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 )  
436  C     phiMin    :: Latitude of southern most cell face.  C     phiMin    :: Latitude of southern most cell face.
437  C     thetaMin  :: Longitude of western most cell face (this  C     thetaMin  :: Longitude of western most cell face (this
438  C                 is an "inert" parameter but it is included  C                 is an "inert" parameter but it is included
# Line 448  C     viscA4D   :: Biharmonic viscosity Line 464  C     viscA4D   :: Biharmonic viscosity
464  C                  (act on Divergence part) ( m^4/s )  C                  (act on Divergence part) ( m^4/s )
465  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally
466  C                  (act on Vorticity  part) ( m^4/s )  C                  (act on Vorticity  part) ( m^4/s )
467  C     viscC2leith :: Leith non-dimensional viscosity factor  C     viscC2leith :: Leith non-dimensional viscosity factor (grad(vort))
468    C     viscC2leithD :: Modified Leith non-dimensional viscosity factor (grad(div))
469    C     viscC2smag  :: Smagorinsky non-dimensional viscosity factor
470  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of
471  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
472    C     viscAhGridMax:: maximum and minimum harmonic viscosity coefficients ...
473    C     viscAhGridMin::  in terms of non-dimensional grid-size dependent viscosity
474  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of
475  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
476  C     viscAhGrid:: non-dimensional grid-size dependent viscosity  C     viscAhGrid:: non-dimensional grid-size dependent viscosity
477  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity
478  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...
479  C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity  C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity
480  C     viscC4leith :: Leith non-dimensional viscosity factor  C     viscC4leith :: Leith non-dimensional viscosity factor (grad(vort))
481    C     viscC4leithD :: Modified Leith non-dimensional viscosity factor (grad(div))
482  C     diffKhT   :: Laplacian diffusion coeff. for mixing of  C     diffKhT   :: Laplacian diffusion coeff. for mixing of
483  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
484  C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.  C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.
# Line 499  C     hFacInf      :: Threshold (inf and Line 520  C     hFacInf      :: Threshold (inf and
520  C     hFacSup        that control vanishing and creating levels  C     hFacSup        that control vanishing and creating levels
521  C     tauCD        :: CD scheme coupling timescale ( 1/s )  C     tauCD        :: CD scheme coupling timescale ( 1/s )
522  C     rCD          :: CD scheme normalised coupling parameter ( 0-1 )  C     rCD          :: CD scheme normalised coupling parameter ( 0-1 )
523    C     baseTime      :: model base time (time origin) = time @ iteration zero
524  C     startTime     :: Starting time for this integration ( s ).  C     startTime     :: Starting time for this integration ( s ).
525  C     endTime       :: Ending time for this integration ( s ).  C     endTime       :: Ending time for this integration ( s ).
526  C     chkPtFreq     :: Frequency of rolling check pointing ( s ).  C     chkPtFreq     :: Frequency of rolling check pointing ( s ).
# Line 522  C     tave_lastIter :: (for state variab Line 544  C     tave_lastIter :: (for state variab
544  C                      step (of each taveFreq period) put in the time average.  C                      step (of each taveFreq period) put in the time average.
545  C                      (fraction for 1rst iter = 1 - tave_lastIter)  C                      (fraction for 1rst iter = 1 - tave_lastIter)
546  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 ).  
547  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 ).  
548  C     latBandClimRelax :: latitude band where Relaxation to Clim. is applied,  C     latBandClimRelax :: latitude band where Relaxation to Clim. is applied,
549  C                         i.e. where |yC| <= latBandClimRelax  C                         i.e. where |yC| <= latBandClimRelax
550  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 549  C      --"-"--  Quadratic  ( linear: 1/s Line 569  C      --"-"--  Quadratic  ( linear: 1/s
569       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
570       & delR, delRc, delX, delY,       & delR, delRc, delX, delY,
571       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
572       & abeps, startTime,       & abeps,
573       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,
574       & fCori, fCoriG, fCoriCos,       & viscAh, viscAhW, viscAhMax,
575       & viscAh, viscAhW, viscAhMax, viscAhGrid, viscC2leith,       & viscAhGrid, viscAhGridMax, viscAhGridMin,
576         & viscC2leith, viscC2leithD,
577         & viscC2smag,
578       & viscAhD, viscAhZ, viscA4D, viscA4Z,       & viscAhD, viscAhZ, viscA4D, viscA4Z,
579       & viscA4, viscA4W,       & viscA4, viscA4W,
580       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,
581       & viscC4leith, viscAr, viscAstrain, viscAtension,       & viscC4leith, viscC4leithD, viscAr, viscAstrain, viscAtension,
582       & diffKhT, diffK4T, diffKrNrT,       & diffKhT, diffK4T, diffKrNrT,
583       & diffKhS, diffK4S, diffKrNrS,       & diffKhS, diffK4S, diffKrNrS,
584       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
# Line 565  C      --"-"--  Quadratic  ( linear: 1/s Line 587  C      --"-"--  Quadratic  ( linear: 1/s
587       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
588       & recip_rhoConst, rhoConst,       & recip_rhoConst, rhoConst,
589       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,
590       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,       & baseTime, startTime, endTime,
591         & chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,
592       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
593       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
594       & cosPower, cAdjFreq, omega, rotationPeriod,       & cosPower, cAdjFreq, omega, rotationPeriod,
595       & tauThetaClimRelax, lambdaThetaClimRelax,       & tauThetaClimRelax,
596       & tauSaltClimRelax, lambdaSaltClimRelax,       & tauSaltClimRelax,
597       & tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax,       & tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax,
598       & externForcingCycle, externForcingPeriod,       & externForcingCycle, externForcingPeriod,
599       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn,       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn,
# Line 615  C      --"-"--  Quadratic  ( linear: 1/s Line 638  C      --"-"--  Quadratic  ( linear: 1/s
638        _RL viscAhZ        _RL viscAhZ
639        _RL viscAhMax        _RL viscAhMax
640        _RL viscAhGrid        _RL viscAhGrid
641          _RL viscAhGridMax
642          _RL viscAhGridMin
643        _RL viscC2leith        _RL viscC2leith
644          _RL viscC2leithD
645          _RL viscC2smag
646        _RL viscAstrain        _RL viscAstrain
647        _RL viscAtension        _RL viscAtension
648        _RL viscAr        _RL viscAr
# Line 626  C      --"-"--  Quadratic  ( linear: 1/s Line 653  C      --"-"--  Quadratic  ( linear: 1/s
653        _RL viscA4Max        _RL viscA4Max
654        _RL viscA4Grid, viscA4GridMax, viscA4GridMin        _RL viscA4Grid, viscA4GridMax, viscA4GridMin
655        _RL viscC4leith        _RL viscC4leith
656          _RL viscC4leithD
657        _RL diffKhT        _RL diffKhT
658        _RL diffKrNrT(Nr)        _RL diffKrNrT(Nr)
659        _RL diffK4T        _RL diffK4T
# Line 650  C      --"-"--  Quadratic  ( linear: 1/s Line 678  C      --"-"--  Quadratic  ( linear: 1/s
678        _RL convertEmP2rUnit        _RL convertEmP2rUnit
679        _RL tRef(Nr)        _RL tRef(Nr)
680        _RL sRef(Nr)        _RL sRef(Nr)
681        _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)  
682        _RL startTime        _RL startTime
683        _RL endTime        _RL endTime
684        _RL chkPtFreq        _RL chkPtFreq
# Line 675  C      --"-"--  Quadratic  ( linear: 1/s Line 701  C      --"-"--  Quadratic  ( linear: 1/s
701        _RL omega        _RL omega
702        _RL rotationPeriod        _RL rotationPeriod
703        _RL tauThetaClimRelax        _RL tauThetaClimRelax
       _RL lambdaThetaClimRelax  
704        _RL tauSaltClimRelax        _RL tauSaltClimRelax
       _RL lambdaSaltClimRelax  
705        _RL tauTr1ClimRelax        _RL tauTr1ClimRelax
706        _RL lambdaTr1ClimRelax        _RL lambdaTr1ClimRelax
707        _RL latBandClimRelax        _RL latBandClimRelax

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

  ViewVC Help
Powered by ViewVC 1.1.22