/[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.181 by jmc, Thu Mar 16 23:17:40 2006 UTC revision 1.186 by baylor, Tue Jun 20 20:57:37 2006 UTC
# Line 96  C     the_run_name    :: string identify Line 96  C     the_run_name    :: string identify
96       &                dQdTfile, ploadFile,       &                dQdTfile, ploadFile,
97       &                eddyTauxFile, eddyTauyFile,       &                eddyTauxFile, eddyTauyFile,
98       &                eosType, pickupSuff,       &                eosType, pickupSuff,
99       &                mdsioLocalDir,       &                mdsioLocalDir,
100       &                the_run_name       &                the_run_name
101        CHARACTER*(5) checkPtSuff(maxNoChkptLev)        CHARACTER*(5) checkPtSuff(maxNoChkptLev)
102        CHARACTER*(MAX_LEN_FNAM) delXFile        CHARACTER*(MAX_LEN_FNAM) delXFile
# Line 196  C     debugLevel          :: debug level Line 196  C     debugLevel          :: debug level
196        INTEGER momForcingOutAB, tracForcingOutAB        INTEGER momForcingOutAB, tracForcingOutAB
197        INTEGER tempAdvScheme, tempVertAdvScheme        INTEGER tempAdvScheme, tempVertAdvScheme
198        INTEGER saltAdvScheme, saltVertAdvScheme        INTEGER saltAdvScheme, saltVertAdvScheme
199        INTEGER selectKEscheme        INTEGER selectKEscheme
200        INTEGER debugLevel        INTEGER debugLevel
201    
202  C  C
# Line 222  C                     and off. Line 222  C                     and off.
222  C     momPressureForcing :: Flag which turns pressure term in momentum equation  C     momPressureForcing :: Flag which turns pressure term in momentum equation
223  C                          on and off.  C                          on and off.
224  C     metricTerms   :: Flag which turns metric terms on or off.  C     metricTerms   :: Flag which turns metric terms on or off.
225  C     usingSphericalPolarMTerms :: If TRUE use spherical polar metric terms.  C     useNHMTerms   :: If TRUE use non-hydrostatic metric terms.
 C     useNHMTerms :: If TRUE use non-hydrostatic metric terms.  
226  C     useCoriolis   :: Flag which turns the coriolis terms on and off.  C     useCoriolis   :: Flag which turns the coriolis terms on and off.
227  C     tempAdvection :: Flag which turns advection of temperature on  C     tempAdvection :: Flag which turns advection of temperature on
228  C                     and off.  C                     and off.
# Line 306  C     pickup_write_immed :: echo the pic Line 305  C     pickup_write_immed :: echo the pic
305  C     timeave_mdsio      :: use mdsio for timeave output  C     timeave_mdsio      :: use mdsio for timeave output
306  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output
307  C     monitor_stdio      :: use stdio for monitor output  C     monitor_stdio      :: use stdio for monitor output
 C     calendarDumps :: When set, approximate months (30-31 days) and years (360-372 days)  
 C                      for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq,  
 C                      KPP_taveFreq, and freq in pkg/diagnostics are converted to exact  
 C                      calendar months and years.  Requires pkg/cal.  
308  C     dumpInitAndLast :: dumps model state to files at Initial (nIter0)  C     dumpInitAndLast :: dumps model state to files at Initial (nIter0)
309  C                        & Last iteration, in addition multiple of dumpFreq iter.  C                        & Last iteration, in addition multiple of dumpFreq iter.
310  C     balanceEmPmR    :: substract global mean of EmPmR at every time step  C     balanceEmPmR    :: substract global mean of EmPmR at every time step
# Line 319  C     balancePrintMean:: print substract Line 314  C     balancePrintMean:: print substract
314        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
315       & usingCurvilinearGrid, usingCylindricalGrid,       & usingCurvilinearGrid, usingCylindricalGrid,
316       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
317       & momViscosity, momAdvection, momForcing, useCoriolis,       & momViscosity, momAdvection, momForcing, useCoriolis,
318       & momPressureForcing, vectorInvariantMomentum,       & momPressureForcing, vectorInvariantMomentum,
319       & tempAdvection, tempForcing,       & tempAdvection, tempForcing,
320       & saltAdvection, saltForcing,       & saltAdvection, saltForcing,
# Line 329  C     balancePrintMean:: print substract Line 324  C     balancePrintMean:: print substract
324       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,
325       & use3Dsolver, implicitIntGravWave, staggerTimeStep,       & use3Dsolver, implicitIntGravWave, staggerTimeStep,
326       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
327       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,       & metricTerms, useNHMTerms,
328       & useConstantF, useBetaPlaneF, useSphereF,       & useConstantF, useBetaPlaneF, useSphereF,
329       & useCDscheme,       & useCDscheme,
330       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,
# Line 337  C     balancePrintMean:: print substract Line 332  C     balancePrintMean:: print substract
332       & useAbsVorticity, upwindShear,       & useAbsVorticity, upwindShear,
333       & implicitDiffusion, implicitViscosity,       & implicitDiffusion, implicitViscosity,
334       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,
335       & multiDimAdvection, useMultiDimAdvec,       & multiDimAdvection, useMultiDimAdvec,
336       & momDissip_In_AB, doAB_onGtGs,       & momDissip_In_AB, doAB_onGtGs,
337       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,
338       & periodicExternalForcing,       & periodicExternalForcing,
339       & fluidIsAir, fluidIsWater,       & fluidIsAir, fluidIsWater,
340       & usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr,       & usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr,
341       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,
# Line 350  C     balancePrintMean:: print substract Line 345  C     balancePrintMean:: print substract
345       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio,
346       & outputTypesInclusive, dumpInitAndLast, debugMode,       & outputTypesInclusive, dumpInitAndLast, debugMode,
347       & inAdMode, inAdTrue, inAdFalse, inAdExact,       & inAdMode, inAdTrue, inAdFalse, inAdExact,
      & calendarDumps,  
348       & balanceEmPmR, balanceQnet, balancePrintMean       & balanceEmPmR, balanceQnet, balancePrintMean
349    
350        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
351        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
352        LOGICAL usingCylindricalGrid        LOGICAL usingCylindricalGrid
353        LOGICAL usingCurvilinearGrid        LOGICAL usingCurvilinearGrid
       LOGICAL usingSphericalPolarMTerms  
354        LOGICAL useNHMTerms        LOGICAL useNHMTerms
355        LOGICAL no_slip_sides        LOGICAL no_slip_sides
356        LOGICAL no_slip_bottom        LOGICAL no_slip_bottom
# Line 400  C     balancePrintMean:: print substract Line 393  C     balancePrintMean:: print substract
393        LOGICAL upwindShear        LOGICAL upwindShear
394        LOGICAL implicitDiffusion        LOGICAL implicitDiffusion
395        LOGICAL implicitViscosity        LOGICAL implicitViscosity
396        LOGICAL tempImplVertAdv        LOGICAL tempImplVertAdv
397        LOGICAL saltImplVertAdv        LOGICAL saltImplVertAdv
398        LOGICAL momImplVertAdv        LOGICAL momImplVertAdv
399        LOGICAL multiDimAdvection        LOGICAL multiDimAdvection
400        LOGICAL useMultiDimAdvec        LOGICAL useMultiDimAdvec
# Line 433  C     balancePrintMean:: print substract Line 426  C     balancePrintMean:: print substract
426        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
427        LOGICAL outputTypesInclusive        LOGICAL outputTypesInclusive
428        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
       LOGICAL calendarDumps  
429    
430        LOGICAL balanceEmPmR        LOGICAL balanceEmPmR
431        LOGICAL balanceQnet        LOGICAL balanceQnet
# Line 492  C                 momentum laterally ( m Line 484  C                 momentum laterally ( m
484  C     viscAhW   :: Eddy viscosity coeff. for mixing of vertical  C     viscAhW   :: Eddy viscosity coeff. for mixing of vertical
485  C                 momentum laterally, no effect for hydrostatic  C                 momentum laterally, no effect for hydrostatic
486  C                 model, defaults to viscAh if unset ( m^2/s )  C                 model, defaults to viscAh if unset ( m^2/s )
487    C                 Not used if variable horiz. viscosity is used.
488  C     viscAr    :: Eddy viscosity coeff. for mixing of  C     viscAr    :: Eddy viscosity coeff. for mixing of
489  C                 momentum vertically ( units of r^2/s )  C                 momentum vertically ( units of r^2/s )
490  C     viscA4    :: Biharmonic viscosity coeff. for mixing of  C     viscA4    :: Biharmonic viscosity coeff. for mixing of
# Line 499  C                 momentum laterally ( m Line 492  C                 momentum laterally ( m
492  C     viscA4W   :: Biharmonic viscosity coeff. for mixing of vertical  C     viscA4W   :: Biharmonic viscosity coeff. for mixing of vertical
493  C                 momentum laterally, no effect for hydrostatic  C                 momentum laterally, no effect for hydrostatic
494  C                 model, defaults to viscA4 if unset ( m^2/s )  C                 model, defaults to viscA4 if unset ( m^2/s )
495    C                 Not used if variable horiz. viscosity is used.
496  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally
497  C                  (act on Divergence part) ( m^2/s )  C                  (act on Divergence part) ( m^2/s )
498  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally
# Line 616  C     Ro_SeaLevel        :: standard pos Line 610  C     Ro_SeaLevel        :: standard pos
610  C                          starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)  C                          starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)
611  C     sideDragFactor     :: side-drag scaling factor (used only if no_slip_sides)  C     sideDragFactor     :: side-drag scaling factor (used only if no_slip_sides)
612  C                           (default=2: full drag ; =1: gives half-slip BC)  C                           (default=2: full drag ; =1: gives half-slip BC)
613  C     bottomDragLinear   :: Drag coefficient built in to core dynamics  C     bottomDragLinear    :: Linear    bottom-drag coefficient (units of [r]/s)
614  C     bottomDragQuadratic   ( linear: 1/s, quadratic: 1/m )  C     bottomDragQuadratic :: Quadratic bottom-drag coefficient (units of [r]/m)
615    C               (if using zcoordinate, units becomes linear: m/s, quadratic: [-])
616    C     smoothAbsFuncRange :: 1/2 of interval around zero, for which FORTRAN ABS
617    C                           is to be replace by a smoother function
618    C                           (affects myabs, mymin, mymax)
619  C     nh_Am2        :: scales the non-hydrostatic terms and changes internal scales  C     nh_Am2        :: scales the non-hydrostatic terms and changes internal scales
620  C                      (i.e. allows convection at different Rayleigh numbers)  C                      (i.e. allows convection at different Rayleigh numbers)
621        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
622       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
623       & delR, delRc, delX, delY,       & delR, delRc, delX, delY,
624       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
# Line 631  C                      (i.e. allows conv Line 629  C                      (i.e. allows conv
629       & viscC2leith, viscC2leithD,       & viscC2leith, viscC2leithD,
630       & viscC2smag, viscC4smag,       & viscC2smag, viscC4smag,
631       & viscAhD, viscAhZ, viscA4D, viscA4Z,       & viscAhD, viscAhZ, viscA4D, viscA4Z,
632       & viscA4, viscA4W,       & viscA4, viscA4W,
633       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,
634       & viscAhRemax, viscA4Remax,       & viscAhRemax, viscA4Remax,
635       & viscC4leith, viscC4leithD, viscAr,       & viscC4leith, viscC4leithD, viscAr,
# Line 640  C                      (i.e. allows conv Line 638  C                      (i.e. allows conv
638       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
639       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,
640       & hFacMin, hFacMinDz, hFacInf, hFacSup,       & hFacMin, hFacMinDz, hFacInf, hFacSup,
641       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
642       & recip_rhoConst, rhoConst,       & recip_rhoConst, rhoConst,
643       & rhoConstFresh, convertEmP2rUnit, tRef, sRef, phiRef, dBdrRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef, phiRef, dBdrRef,
644       & baseTime, startTime, endTime,       & baseTime, startTime, endTime,
645       & chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,       & chkPtFreq, pChkPtFreq, dumpFreq, adjDumpFreq,
646       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
647       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
648       & cosPower, cAdjFreq, omega, rotationPeriod,       & cosPower, cAdjFreq, omega, rotationPeriod,
# Line 656  C                      (i.e. allows conv Line 654  C                      (i.e. allows conv
654       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
655       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
656       & sideDragFactor, bottomDragLinear, bottomDragQuadratic, nh_Am2,       & sideDragFactor, bottomDragLinear, bottomDragQuadratic, nh_Am2,
657         & smoothAbsFuncRange,
658       & tCylIn, tCylOut       & tCylIn, tCylOut
659    
660        _RL cg2dTargetResidual        _RL cg2dTargetResidual
# Line 701  C                      (i.e. allows conv Line 700  C                      (i.e. allows conv
700        _RL viscC2smag        _RL viscC2smag
701        _RL viscC4smag        _RL viscC4smag
702        _RL viscAr        _RL viscAr
703        _RL viscA4        _RL viscA4
704        _RL viscA4W        _RL viscA4W
705        _RL viscA4D        _RL viscA4D
706        _RL viscA4Z        _RL viscA4Z
# Line 710  C                      (i.e. allows conv Line 709  C                      (i.e. allows conv
709        _RL viscA4Grid, viscA4GridMax, viscA4GridMin        _RL viscA4Grid, viscA4GridMax, viscA4GridMin
710        _RL viscC4leith        _RL viscC4leith
711        _RL viscC4leithD        _RL viscC4leithD
712        _RL diffKhT        _RL diffKhT
713        _RL diffKrNrT(Nr)        _RL diffKrNrT(Nr)
714        _RL diffK4T        _RL diffK4T
715        _RL diffKhS        _RL diffKhS
716        _RL diffKrNrS(Nr)        _RL diffKrNrS(Nr)
717        _RL diffK4S        _RL diffK4S
718        _RL diffKrBL79surf        _RL diffKrBL79surf
719        _RL diffKrBL79deep        _RL diffKrBL79deep
720        _RL diffKrBL79scl        _RL diffKrBL79scl
# Line 753  C                      (i.e. allows conv Line 752  C                      (i.e. allows conv
752        _RL pfFacMom        _RL pfFacMom
753        _RL cfFacMom        _RL cfFacMom
754        _RL foFacMom        _RL foFacMom
755        _RL mTFacMom        _RL mtFacMom
756        _RL cosPower        _RL cosPower
757        _RL cAdjFreq        _RL cAdjFreq
758        _RL omega        _RL omega
# Line 775  C                      (i.e. allows conv Line 774  C                      (i.e. allows conv
774        _RL sideDragFactor        _RL sideDragFactor
775        _RL bottomDragLinear        _RL bottomDragLinear
776        _RL bottomDragQuadratic        _RL bottomDragQuadratic
777          _RL smoothAbsFuncRange
778        _RL nh_Am2        _RL nh_Am2
779        _RL tCylIn        _RL tCylIn
780        _RL tCylOut        _RL tCylOut
# Line 796  C     integr_GeoPot :: option to select Line 796  C     integr_GeoPot :: option to select
796  C                     (still a subject of discussions ...)  C                     (still a subject of discussions ...)
797  C     selectFindRoSurf :: select the way surf. ref. pressure (=Ro_surf) is  C     selectFindRoSurf :: select the way surf. ref. pressure (=Ro_surf) is
798  C             derived from the orography. Implemented: 0,1 (see INI_P_GROUND)  C             derived from the orography. Implemented: 0,1 (see INI_P_GROUND)
799        COMMON /PARM_ATM/        COMMON /PARM_ATM/
800       &            celsius2K,       &            celsius2K,
801       &            atm_Cp, atm_Rd, atm_kappa, atm_Rq, atm_Po,       &            atm_Cp, atm_Rd, atm_kappa, atm_Rq, atm_Po,
802       &            integr_GeoPot, selectFindRoSurf       &            integr_GeoPot, selectFindRoSurf
# Line 814  C Logical flags for selecting packages Line 814  C Logical flags for selecting packages
814        LOGICAL useOBCS        LOGICAL useOBCS
815        LOGICAL useAIM        LOGICAL useAIM
816        LOGICAL useLand        LOGICAL useLand
817          LOGICAL useCAL
818          LOGICAL useEXF
819          LOGICAL useEBM
820        LOGICAL useGrdchk        LOGICAL useGrdchk
821        LOGICAL useECCO        LOGICAL useECCO
822        LOGICAL useSHAP_FILT        LOGICAL useSHAP_FILT
# Line 823  C Logical flags for selecting packages Line 826  C Logical flags for selecting packages
826        LOGICAL useGCHEM        LOGICAL useGCHEM
827        LOGICAL useRBCS        LOGICAL useRBCS
828        LOGICAL useOffLine        LOGICAL useOffLine
829          LOGICAL useMATRIX
830        LOGICAL useSBO        LOGICAL useSBO
831        LOGICAL useSEAICE        LOGICAL useSEAICE
832        LOGICAL useShelfIce        LOGICAL useShelfIce
       LOGICAL useBulkForce  
833        LOGICAL useThSIce        LOGICAL useThSIce
834          LOGICAL useBulkForce
835        LOGICAL usefizhi        LOGICAL usefizhi
836        LOGICAL usegridalt        LOGICAL usegridalt
837        LOGICAL useDiagnostics        LOGICAL useDiagnostics
       LOGICAL useEBM  
838        LOGICAL useMNC        LOGICAL useMNC
       LOGICAL useMATRIX  
839        LOGICAL useRunClock        LOGICAL useRunClock
840        LOGICAL useEMBED_FILES        LOGICAL useEMBED_FILES
841        COMMON /PARM_PACKAGES/        COMMON /PARM_PACKAGES/
842       &        useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO,       &        useOPPS, usePP81, useMY82, useGGL90, useKPP,
843       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,       &        useGMRedi, useOBCS, useAIM, useLand,
844       &        usePTRACERS, useGCHEM, useRBCS, useOffLine,       &        useCAL, useEXF, useEBM, useGrdchk, useECCO,
845       &        useSBO, useSEAICE, useShelfIce, useThSIce, useBulkForce,       &        useSHAP_FILT, useZONAL_FILT, useFLT,
846       &        usefizhi, usegridalt, useDiagnostics, useEBM, useMNC,       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,
847       &        usePP81, useMY82, useOPPS, useGGL90, useMATRIX,       &        useSBO, useSEAICE, useShelfIce, useThSIce, useBulkForce,
848         &        usefizhi, usegridalt, useDiagnostics, useMNC,
849       &        useRunClock, useEMBED_FILES       &        useRunClock, useEMBED_FILES
850    
851  CEH3 ;;; Local Variables: ***  CEH3 ;;; Local Variables: ***

Legend:
Removed from v.1.181  
changed lines
  Added in v.1.186

  ViewVC Help
Powered by ViewVC 1.1.22