/[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.246 by jmc, Fri Dec 24 21:48:39 2010 UTC revision 1.253 by dimitri, Sun Aug 7 07:08:15 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 336  C                        climatology is Line 337  C                        climatology is
337  C     doSaltClimRelax  :: Set true if relaxation to salinity  C     doSaltClimRelax  :: Set true if relaxation to salinity
338  C                        climatology is required.  C                        climatology is required.
339  C     allowFreezing  :: Allows surface water to freeze and form ice  C     allowFreezing  :: Allows surface water to freeze and form ice
340    C     allowInteriorFreezing :: Allow water at depth to freeze and rise to the surface
341  C     useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12)  C     useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12)
342  C     periodicExternalForcing :: Set true if forcing is time-dependant  C     periodicExternalForcing :: Set true if forcing is time-dependant
343  C- I/O parameters -  C- I/O parameters -
# Line 356  C     snapshot_mdsio     :: use mdsio fo Line 358  C     snapshot_mdsio     :: use mdsio fo
358  C     monitor_stdio      :: use stdio for monitor output  C     monitor_stdio      :: use stdio for monitor output
359  C     dumpInitAndLast :: dumps model state to files at Initial (nIter0)  C     dumpInitAndLast :: dumps model state to files at Initial (nIter0)
360  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).  
361  C     printDomain     :: controls printing of domain fields (bathy, hFac ...).  C     printDomain     :: controls printing of domain fields (bathy, hFac ...).
362    
363        COMMON /PARM_L/        COMMON /PARM_L/
# Line 389  C     printDomain     :: controls printi Line 390  C     printDomain     :: controls printi
390       & momDissip_In_AB, doAB_onGtGs,       & momDissip_In_AB, doAB_onGtGs,
391       & balanceEmPmR, balanceQnet, balancePrintMean,       & balanceEmPmR, balanceQnet, balancePrintMean,
392       & doThetaClimRelax, doSaltClimRelax,       & doThetaClimRelax, doSaltClimRelax,
393       & allowFreezing, useOldFreezing,       & allowFreezing, allowInteriorFreezing, useOldFreezing,
394       & periodicExternalForcing,       & periodicExternalForcing,
395       & globalFiles,       & globalFiles,
396       & pickupStrictlyMatch, usePickupBeforeC54, startFromPickupAB2,       & pickupStrictlyMatch, usePickupBeforeC54, startFromPickupAB2,
# Line 397  C     printDomain     :: controls printi Line 398  C     printDomain     :: controls printi
398       & writePickupAtEnd,       & writePickupAtEnd,
399       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio,
400       & outputTypesInclusive, dumpInitAndLast,       & outputTypesInclusive, dumpInitAndLast,
401       & debugMode, printDomain,       & printDomain,
402       & inAdMode, inAdTrue, inAdFalse, inAdExact       & inAdMode, inAdTrue, inAdFalse, inAdExact
403    
404        LOGICAL fluidIsAir        LOGICAL fluidIsAir
# Line 474  C     printDomain     :: controls printi Line 475  C     printDomain     :: controls printi
475        LOGICAL doThetaClimRelax        LOGICAL doThetaClimRelax
476        LOGICAL doSaltClimRelax        LOGICAL doSaltClimRelax
477        LOGICAL allowFreezing        LOGICAL allowFreezing
478          LOGICAL allowInteriorFreezing
479        LOGICAL useOldFreezing        LOGICAL useOldFreezing
480        LOGICAL periodicExternalForcing        LOGICAL periodicExternalForcing
481        LOGICAL globalFiles        LOGICAL globalFiles
# Line 485  C     printDomain     :: controls printi Line 487  C     printDomain     :: controls printi
487        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
488        LOGICAL outputTypesInclusive        LOGICAL outputTypesInclusive
489        LOGICAL dumpInitAndLast        LOGICAL dumpInitAndLast
490        LOGICAL debugMode, printDomain        LOGICAL printDomain
491        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
492    
493  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
# Line 513  C     delR      :: Vertical grid spacing Line 515  C     delR      :: Vertical grid spacing
515  C     delRc     :: Vertical grid spacing between cell centers (r unit).  C     delRc     :: Vertical grid spacing between cell centers (r unit).
516  C     delX      :: Separation between cell faces (m) or (deg), depending  C     delX      :: Separation between cell faces (m) or (deg), depending
517  C     delY        on input flags.  C     delY        on input flags.
518    C     xgOrigin   :: Origin of the X-axis (Cartesian Grid) / Longitude of Western
519    C                :: most cell face (Lat-Lon grid) (Note: this is an "inert"
520    C                :: parameter but it makes geographical references simple.)
521    C     ygOrigin   :: Origin of the Y-axis (Cartesian Grid) / Latitude of Southern
522    C                :: most face (Lat-Lon grid).
523  C     gravity   :: Accel. due to gravity ( m/s^2 )  C     gravity   :: Accel. due to gravity ( m/s^2 )
524  C     recip_gravity and its inverse  C     recip_gravity and its inverse
525  C     gBaro     :: Accel. due to gravity used in barotropic equation ( m/s^2 )  C     gBaro     :: Accel. due to gravity used in barotropic equation ( m/s^2 )
# Line 525  C     rho1Ref   :: reference vertical pr Line 532  C     rho1Ref   :: reference vertical pr
532  C     tRef      :: reference vertical profile for potential temperature  C     tRef      :: reference vertical profile for potential temperature
533  C     sRef      :: reference vertical profile for salinity/specific humidity  C     sRef      :: reference vertical profile for salinity/specific humidity
534  C     phiRef    :: reference potential (pressure/rho, geopotential) profile  C     phiRef    :: reference potential (pressure/rho, geopotential) profile
535  C     dBdrRef   :: vertical gradient of reference boyancy  [(m/s/r)^2)]:  C     dBdrRef   :: vertical gradient of reference buoyancy  [(m/s/r)^2]:
536  C               :: z-coord: = N^2_ref = Brunt-Vaissala frequency [s^-2]  C               :: z-coord: = N^2_ref = Brunt-Vaissala frequency [s^-2]
537  C               :: p-coord: = -(d.alpha/dp)_ref          [(m^2.s/kg)^2]  C               :: p-coord: = -(d.alpha/dp)_ref          [(m^2.s/kg)^2]
538  C     rVel2wUnit :: units conversion factor (Non-Hydrostatic code),  C     rVel2wUnit :: units conversion factor (Non-Hydrostatic code),
# Line 542  C     rUnit2mass :: units conversion fac Line 549  C     rUnit2mass :: units conversion fac
549  C                :: from vertical r-coordinate unit to mass per unit area [kg/m2].  C                :: from vertical r-coordinate unit to mass per unit area [kg/m2].
550  C                :: z-coord: = rhoConst  ( [m] * rho = [kg/m2] ) ;  C                :: z-coord: = rhoConst  ( [m] * rho = [kg/m2] ) ;
551  C                :: p-coord: = 1/gravity ( [Pa] /  g = [kg/m2] ) ;  C                :: p-coord: = 1/gravity ( [Pa] /  g = [kg/m2] ) ;
 C     xgOrigin   :: Origin of the X-axis (Cartesian Grid) / Longitude of Western  
 C                :: most cell face (Lat-Lon grid) (Note: this is an "inert"  
 C                :: parameter but it makes geographical references simple.)  
 C     ygOrigin   :: Origin of the Y-axis (Cartesian Grid) / Latitude of Southern  
 C                :: most face (Lat-Lon grid).  
552  C     rSphere    :: Radius of sphere for a spherical polar grid ( m ).  C     rSphere    :: Radius of sphere for a spherical polar grid ( m ).
553  C     recip_rSphere  :: Reciprocal radius of sphere ( m ).  C     recip_rSphere  :: Reciprocal radius of sphere ( m ).
554    C     radius_fromHorizGrid :: sphere Radius of input horiz. grid (Curvilinear Grid)
555  C     f0         :: Reference coriolis parameter ( 1/s )  C     f0         :: Reference coriolis parameter ( 1/s )
556  C                   ( Southern edge f for beta plane )  C                   ( Southern edge f for beta plane )
557  C     beta       :: df/dy ( s^-1.m^-1 )  C     beta       :: df/dy ( s^-1.m^-1 )
# Line 713  C     thetaEuler    :: Euler angle, rota Line 716  C     thetaEuler    :: Euler angle, rota
716  C     psiEuler      :: Euler angle, rotation about new z-axis  C     psiEuler      :: Euler angle, rotation about new z-axis
717        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
718       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
719       & delR, delRc, delX, delY,       & delR, delRc, delX, delY, xgOrigin, ygOrigin,
720       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
721       & abEps, alph_AB, beta_AB,       & abEps, alph_AB, beta_AB,
722       & xgOrigin, ygOrigin, rSphere, recip_rSphere,       & rSphere, recip_rSphere, radius_fromHorizGrid,
723       & f0, beta, fPrime, omega, rotationPeriod,       & f0, beta, fPrime, omega, rotationPeriod,
724       & viscFacAdj, viscAh, viscAhW, viscAhMax,       & viscFacAdj, viscAh, viscAhW, viscAhMax,
725       & viscAhGrid, viscAhGridMax, viscAhGridMin,       & viscAhGrid, viscAhGridMax, viscAhGridMin,
# Line 764  C     psiEuler      :: Euler angle, rota Line 767  C     psiEuler      :: Euler angle, rota
767        _RL delRc(Nr+1)        _RL delRc(Nr+1)
768        _RL delX(Nx)        _RL delX(Nx)
769        _RL delY(Ny)        _RL delY(Ny)
770          _RL xgOrigin
771          _RL ygOrigin
772        _RL deltaT        _RL deltaT
773        _RL deltaTClock        _RL deltaTClock
774        _RL deltaTmom        _RL deltaTmom
775        _RL dTtracerLev(Nr)        _RL dTtracerLev(Nr)
776        _RL deltaTfreesurf        _RL deltaTfreesurf
777        _RL abEps, alph_AB, beta_AB        _RL abEps, alph_AB, beta_AB
       _RL xgOrigin  
       _RL ygOrigin  
778        _RL rSphere        _RL rSphere
779        _RL recip_rSphere        _RL recip_rSphere
780          _RL radius_fromHorizGrid
781        _RL f0        _RL f0
782        _RL beta        _RL beta
783        _RL fPrime        _RL fPrime
# Line 924  C Logical flags for selecting packages Line 928  C Logical flags for selecting packages
928        LOGICAL useKPP        LOGICAL useKPP
929        LOGICAL useGMRedi        LOGICAL useGMRedi
930        LOGICAL useDOWN_SLOPE        LOGICAL useDOWN_SLOPE
931          LOGICAL useBBL
932        LOGICAL useCAL        LOGICAL useCAL
933        LOGICAL useEXF        LOGICAL useEXF
934        LOGICAL useBulkForce        LOGICAL useBulkForce
# Line 959  C Logical flags for selecting packages Line 964  C Logical flags for selecting packages
964        COMMON /PARM_PACKAGES/        COMMON /PARM_PACKAGES/
965       &        useGAD, useOBCS, useSHAP_FILT, useZONAL_FILT,       &        useGAD, useOBCS, useSHAP_FILT, useZONAL_FILT,
966       &        useOPPS, usePP81, useMY82, useGGL90, useKPP,       &        useOPPS, usePP81, useMY82, useGGL90, useKPP,
967       &        useGMRedi, useDOWN_SLOPE,       &        useGMRedi, useBBL, useDOWN_SLOPE,
968       &        useCAL, useEXF, useBulkForce, useEBM, useCheapAML,       &        useCAL, useEXF, useBulkForce, useEBM, useCheapAML,
969       &        useGrdchk, useSMOOTH, useECCO, useSBO, useFLT,       &        useGrdchk, useSMOOTH, useECCO, useSBO, useFLT,
970       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,
# Line 970  C Logical flags for selecting packages Line 975  C Logical flags for selecting packages
975       &        useRunClock, useEMBED_FILES,       &        useRunClock, useEMBED_FILES,
976       &        useMYPACKAGE       &        useMYPACKAGE
977    
978    C     Logical flags for turning off parts of the code in adjoint mode
979          LOGICAL useKPPinAdMode, useKPPinFwdMode
980          LOGICAL useGMrediInAdMode, useGMrediInFwdMode
981          LOGICAL useSEAICEinAdMode, useSEAICEinFwdMode
982          COMMON /PARM_PACKAGES_ADJ/
983         &       useKPPinAdMode, useKPPinFwdMode,
984         &       useGMrediInAdMode, useGMrediInFwdMode,
985         &       useSEAICEinAdMode, useSEAICEinFwdMode
986    
987  CEH3 ;;; Local Variables: ***  CEH3 ;;; Local Variables: ***
988  CEH3 ;;; mode:fortran ***  CEH3 ;;; mode:fortran ***
989  CEH3 ;;; End: ***  CEH3 ;;; End: ***

Legend:
Removed from v.1.246  
changed lines
  Added in v.1.253

  ViewVC Help
Powered by ViewVC 1.1.22