/[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.247 by jmc, Tue Feb 22 18:35:30 2011 UTC revision 1.255 by jmc, Wed Dec 7 22:08:12 2011 UTC
# Line 152  C     cg3dMaxIters        :: Maximum num Line 152  C     cg3dMaxIters        :: Maximum num
152  C                           three-dimensional con. grad solver.  C                           three-dimensional con. grad solver.
153  C     cg3dChkResFreq      :: Frequency with which to check residual  C     cg3dChkResFreq      :: Frequency with which to check residual
154  C                           in con. grad solver.  C                           in con. grad solver.
155    C     printResidualFreq   :: Frequency for printing residual in CG iterations
156  C     nIter0              :: Start time-step number of for this run  C     nIter0              :: Start time-step number of for this run
157  C     nTimeSteps          :: Number of timesteps to execute  C     nTimeSteps          :: Number of timesteps to execute
158  C     writeStatePrec      :: Precision used for writing model state.  C     writeStatePrec      :: Precision used for writing model state.
# Line 188  C-    debugLevel          :: controls pr Line 189  C-    debugLevel          :: controls pr
189  C                            and statistics ; higher -> more writing  C                            and statistics ; higher -> more writing
190    
191        COMMON /PARM_I/        COMMON /PARM_I/
192       &        cg2dMaxIters,       &        cg2dMaxIters, cg2dChkResFreq, cg2dPreCondFreq,
193       &        cg2dChkResFreq, cg2dPreCondFreq,       &        cg3dMaxIters, cg3dChkResFreq,
194       &        cg3dMaxIters,       &        printResidualFreq,
      &        cg3dChkResFreq,  
195       &        nIter0, nTimeSteps, nEndIter,       &        nIter0, nTimeSteps, nEndIter,
196       &        writeStatePrec,       &        writeStatePrec,
197       &        writeBinaryPrec, readBinaryPrec,       &        writeBinaryPrec, readBinaryPrec,
# Line 210  C                            and statist Line 210  C                            and statist
210        INTEGER cg2dPreCondFreq        INTEGER cg2dPreCondFreq
211        INTEGER cg3dMaxIters        INTEGER cg3dMaxIters
212        INTEGER cg3dChkResFreq        INTEGER cg3dChkResFreq
213          INTEGER printResidualFreq
214        INTEGER nIter0        INTEGER nIter0
215        INTEGER nTimeSteps        INTEGER nTimeSteps
216        INTEGER nEndIter        INTEGER nEndIter
# Line 281  C     highOrderVorticity :: use 3rd/4th Line 282  C     highOrderVorticity :: use 3rd/4th
282  C     useAbsVorticity :: work with f+zeta in Coriolis terms  C     useAbsVorticity :: work with f+zeta in Coriolis terms
283  C     upwindShear        :: use 1rst order upwind interp. (V.I., vertical advection)  C     upwindShear        :: use 1rst order upwind interp. (V.I., vertical advection)
284  C     momStepping    :: Turns momentum equation time-stepping off  C     momStepping    :: Turns momentum equation time-stepping off
285    C     calc_wVelocity :: Turns of vertical velocity calculation off
286  C- Temp. & Salt params:  C- Temp. & Salt params:
287  C     tempStepping   :: Turns temperature equation time-stepping off  C     tempStepping   :: Turns temperature equation time-stepping off
288  C     saltStepping   :: Turns salinity equation time-stepping off  C     saltStepping   :: Turns salinity equation time-stepping off
# Line 316  C     nonHydrostatic   :: Using non-hydr Line 318  C     nonHydrostatic   :: Using non-hydr
318  C     use3Dsolver      :: set to true to use 3-D pressure solver  C     use3Dsolver      :: set to true to use 3-D pressure solver
319  C     implicitIntGravWave :: treat Internal Gravity Wave implicitly  C     implicitIntGravWave :: treat Internal Gravity Wave implicitly
320  C     staggerTimeStep   :: enable a Stagger time stepping U,V (& W) then T,S  C     staggerTimeStep   :: enable a Stagger time stepping U,V (& W) then T,S
321    C     doResetHFactors   :: Do reset thickness factors @ beginning of each time-step
322  C     implicitDiffusion :: Turns implicit vertical diffusion on  C     implicitDiffusion :: Turns implicit vertical diffusion on
323  C     implicitViscosity :: Turns implicit vertical viscosity on  C     implicitViscosity :: Turns implicit vertical viscosity on
324  C     tempImplVertAdv :: Turns on implicit vertical advection for Temperature  C     tempImplVertAdv :: Turns on implicit vertical advection for Temperature
# Line 336  C                        climatology is Line 339  C                        climatology is
339  C     doSaltClimRelax  :: Set true if relaxation to salinity  C     doSaltClimRelax  :: Set true if relaxation to salinity
340  C                        climatology is required.  C                        climatology is required.
341  C     allowFreezing  :: Allows surface water to freeze and form ice  C     allowFreezing  :: Allows surface water to freeze and form ice
342    C     allowInteriorFreezing :: Allow water at depth to freeze and rise to the surface
343  C     useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12)  C     useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12)
344  C     periodicExternalForcing :: Set true if forcing is time-dependant  C     periodicExternalForcing :: Set true if forcing is time-dependant
345  C- I/O parameters -  C- I/O parameters -
# Line 356  C     snapshot_mdsio     :: use mdsio fo Line 360  C     snapshot_mdsio     :: use mdsio fo
360  C     monitor_stdio      :: use stdio for monitor output  C     monitor_stdio      :: use stdio for monitor output
361  C     dumpInitAndLast :: dumps model state to files at Initial (nIter0)  C     dumpInitAndLast :: dumps model state to files at Initial (nIter0)
362  C                        & Last iteration, in addition multiple of dumpFreq iter.  C                        & Last iteration, in addition multiple of dumpFreq iter.
 C     debugMode       :: controls printing of debug msg (sequence of S/R calls).  
363  C     printDomain     :: controls printing of domain fields (bathy, hFac ...).  C     printDomain     :: controls printing of domain fields (bathy, hFac ...).
364    
365        COMMON /PARM_L/        COMMON /PARM_L/
# Line 374  C     printDomain     :: controls printi Line 377  C     printDomain     :: controls printi
377       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,
378       & upwindVorticity, highOrderVorticity,       & upwindVorticity, highOrderVorticity,
379       & useAbsVorticity, upwindShear,       & useAbsVorticity, upwindShear,
380       & momStepping, tempStepping, saltStepping,       & momStepping, calc_wVelocity, tempStepping, saltStepping,
381       & tempAdvection, tempIsActiveTr, tempForcing,       & tempAdvection, tempIsActiveTr, tempForcing,
382       & saltAdvection, saltIsActiveTr, saltForcing,       & saltAdvection, saltIsActiveTr, saltForcing,
383       & maskIniTemp, maskIniSalt, checkIniTemp, checkIniSalt,       & maskIniTemp, maskIniSalt, checkIniTemp, checkIniSalt,
384       & useRealFreshWaterFlux, useSRCGSolver,       & useRealFreshWaterFlux, useSRCGSolver,
385       & rigidLid, implicitFreeSurface, exactConserv, linFSConserveTr,       & rigidLid, implicitFreeSurface, exactConserv, linFSConserveTr,
386       & uniformLin_PhiSurf,       & uniformLin_PhiSurf,
387       & quasiHydrostatic, nonHydrostatic,       & quasiHydrostatic, nonHydrostatic, use3Dsolver,
388       & use3Dsolver, implicitIntGravWave, staggerTimeStep,       & implicitIntGravWave, staggerTimeStep, doResetHFactors,
389       & implicitDiffusion, implicitViscosity,       & implicitDiffusion, implicitViscosity,
390       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,
391       & multiDimAdvection, useMultiDimAdvec,       & multiDimAdvection, useMultiDimAdvec,
392       & momDissip_In_AB, doAB_onGtGs,       & momDissip_In_AB, doAB_onGtGs,
393       & balanceEmPmR, balanceQnet, balancePrintMean,       & balanceEmPmR, balanceQnet, balancePrintMean,
394       & doThetaClimRelax, doSaltClimRelax,       & doThetaClimRelax, doSaltClimRelax,
395       & allowFreezing, useOldFreezing,       & allowFreezing, allowInteriorFreezing, useOldFreezing,
396       & periodicExternalForcing,       & periodicExternalForcing,
397       & globalFiles,       & globalFiles,
398       & pickupStrictlyMatch, usePickupBeforeC54, startFromPickupAB2,       & pickupStrictlyMatch, usePickupBeforeC54, startFromPickupAB2,
# Line 397  C     printDomain     :: controls printi Line 400  C     printDomain     :: controls printi
400       & writePickupAtEnd,       & writePickupAtEnd,
401       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio,
402       & outputTypesInclusive, dumpInitAndLast,       & outputTypesInclusive, dumpInitAndLast,
403       & debugMode, printDomain,       & printDomain,
404       & inAdMode, inAdTrue, inAdFalse, inAdExact       & inAdMode, inAdTrue, inAdFalse, inAdExact
405    
406        LOGICAL fluidIsAir        LOGICAL fluidIsAir
# Line 446  C     printDomain     :: controls printi Line 449  C     printDomain     :: controls printi
449        LOGICAL use3Dsolver        LOGICAL use3Dsolver
450        LOGICAL implicitIntGravWave        LOGICAL implicitIntGravWave
451        LOGICAL staggerTimeStep        LOGICAL staggerTimeStep
452          LOGICAL doResetHFactors
453        LOGICAL momStepping        LOGICAL momStepping
454          LOGICAL calc_wVelocity
455        LOGICAL tempStepping        LOGICAL tempStepping
456        LOGICAL saltStepping        LOGICAL saltStepping
457        LOGICAL metricTerms        LOGICAL metricTerms
# Line 474  C     printDomain     :: controls printi Line 479  C     printDomain     :: controls printi
479        LOGICAL doThetaClimRelax        LOGICAL doThetaClimRelax
480        LOGICAL doSaltClimRelax        LOGICAL doSaltClimRelax
481        LOGICAL allowFreezing        LOGICAL allowFreezing
482          LOGICAL allowInteriorFreezing
483        LOGICAL useOldFreezing        LOGICAL useOldFreezing
484        LOGICAL periodicExternalForcing        LOGICAL periodicExternalForcing
485        LOGICAL globalFiles        LOGICAL globalFiles
# Line 485  C     printDomain     :: controls printi Line 491  C     printDomain     :: controls printi
491        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
492        LOGICAL outputTypesInclusive        LOGICAL outputTypesInclusive
493        LOGICAL dumpInitAndLast        LOGICAL dumpInitAndLast
494        LOGICAL debugMode, printDomain        LOGICAL printDomain
495        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
496    
497  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
# Line 530  C     rho1Ref   :: reference vertical pr Line 536  C     rho1Ref   :: reference vertical pr
536  C     tRef      :: reference vertical profile for potential temperature  C     tRef      :: reference vertical profile for potential temperature
537  C     sRef      :: reference vertical profile for salinity/specific humidity  C     sRef      :: reference vertical profile for salinity/specific humidity
538  C     phiRef    :: reference potential (pressure/rho, geopotential) profile  C     phiRef    :: reference potential (pressure/rho, geopotential) profile
539  C     dBdrRef   :: vertical gradient of reference boyancy  [(m/s/r)^2)]:  C     dBdrRef   :: vertical gradient of reference buoyancy  [(m/s/r)^2]:
540  C               :: z-coord: = N^2_ref = Brunt-Vaissala frequency [s^-2]  C               :: z-coord: = N^2_ref = Brunt-Vaissala frequency [s^-2]
541  C               :: p-coord: = -(d.alpha/dp)_ref          [(m^2.s/kg)^2]  C               :: p-coord: = -(d.alpha/dp)_ref          [(m^2.s/kg)^2]
542  C     rVel2wUnit :: units conversion factor (Non-Hydrostatic code),  C     rVel2wUnit :: units conversion factor (Non-Hydrostatic code),
# Line 926  C Logical flags for selecting packages Line 932  C Logical flags for selecting packages
932        LOGICAL useKPP        LOGICAL useKPP
933        LOGICAL useGMRedi        LOGICAL useGMRedi
934        LOGICAL useDOWN_SLOPE        LOGICAL useDOWN_SLOPE
935          LOGICAL useBBL
936        LOGICAL useCAL        LOGICAL useCAL
937        LOGICAL useEXF        LOGICAL useEXF
938        LOGICAL useBulkForce        LOGICAL useBulkForce
# Line 961  C Logical flags for selecting packages Line 968  C Logical flags for selecting packages
968        COMMON /PARM_PACKAGES/        COMMON /PARM_PACKAGES/
969       &        useGAD, useOBCS, useSHAP_FILT, useZONAL_FILT,       &        useGAD, useOBCS, useSHAP_FILT, useZONAL_FILT,
970       &        useOPPS, usePP81, useMY82, useGGL90, useKPP,       &        useOPPS, usePP81, useMY82, useGGL90, useKPP,
971       &        useGMRedi, useDOWN_SLOPE,       &        useGMRedi, useBBL, useDOWN_SLOPE,
972       &        useCAL, useEXF, useBulkForce, useEBM, useCheapAML,       &        useCAL, useEXF, useBulkForce, useEBM, useCheapAML,
973       &        useGrdchk, useSMOOTH, useECCO, useSBO, useFLT,       &        useGrdchk, useSMOOTH, useECCO, useSBO, useFLT,
974       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,
# Line 972  C Logical flags for selecting packages Line 979  C Logical flags for selecting packages
979       &        useRunClock, useEMBED_FILES,       &        useRunClock, useEMBED_FILES,
980       &        useMYPACKAGE       &        useMYPACKAGE
981    
982    C     Logical flags for turning off parts of the code in adjoint mode
983          LOGICAL useKPPinAdMode, useKPPinFwdMode
984          LOGICAL useGMrediInAdMode, useGMrediInFwdMode
985          LOGICAL useSEAICEinAdMode, useSEAICEinFwdMode
986          COMMON /PARM_PACKAGES_ADJ/
987         &       useKPPinAdMode, useKPPinFwdMode,
988         &       useGMrediInAdMode, useGMrediInFwdMode,
989         &       useSEAICEinAdMode, useSEAICEinFwdMode
990    
991  CEH3 ;;; Local Variables: ***  CEH3 ;;; Local Variables: ***
992  CEH3 ;;; mode:fortran ***  CEH3 ;;; mode:fortran ***
993  CEH3 ;;; End: ***  CEH3 ;;; End: ***

Legend:
Removed from v.1.247  
changed lines
  Added in v.1.255

  ViewVC Help
Powered by ViewVC 1.1.22