/[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.243 by jmc, Fri Nov 12 03:15:54 2010 UTC revision 1.247 by jmc, Tue Feb 22 18:35:30 2011 UTC
# Line 33  C     pickupSuff      :: force to start Line 33  C     pickupSuff      :: force to start
33  C                        and read pickup files with this suffix (max 10 Char.)  C                        and read pickup files with this suffix (max 10 Char.)
34  C     mdsioLocalDir   :: read-write tiled file from/to this directory name  C     mdsioLocalDir   :: read-write tiled file from/to this directory name
35  C                        (+ 4 digits Processor-Rank) instead of current dir.  C                        (+ 4 digits Processor-Rank) instead of current dir.
36    C     adTapeDir       :: read-write checkpointing tape files from/to this
37    C                        directory name instead of current dir. Conflicts
38    C                        mdsioLocalDir, so only one of the two can be set.
39    C                        In contrast to mdsioLocalDir, if specified adTapeDir
40    C                        must exist before the model starts.
41  C     tRefFile      :: File containing reference Potential Temperat.  tRef (1.D)  C     tRefFile      :: File containing reference Potential Temperat.  tRef (1.D)
42  C     sRefFile      :: File containing reference salinity/spec.humid. sRef (1.D)  C     sRefFile      :: File containing reference salinity/spec.humid. sRef (1.D)
43  C     rhoRefFile    :: File containing reference density profile rhoRef (1.D)  C     rhoRefFile    :: File containing reference density profile rhoRef (1.D)
# Line 78  C     eddyPsiYFile    :: File containing Line 83  C     eddyPsiYFile    :: File containing
83  C     the_run_name    :: string identifying the name of the model "run"  C     the_run_name    :: string identifying the name of the model "run"
84        COMMON /PARM_C/        COMMON /PARM_C/
85       &                buoyancyRelation, eosType,       &                buoyancyRelation, eosType,
86       &                pickupSuff, mdsioLocalDir,       &                pickupSuff, mdsioLocalDir, adTapeDir,
87       &                tRefFile, sRefFile, rhoRefFile,       &                tRefFile, sRefFile, rhoRefFile,
88       &                delRFile, delRcFile, hybSigmFile,       &                delRFile, delRcFile, hybSigmFile,
89       &                delXFile, delYFile, horizGridFile,       &                delXFile, delYFile, horizGridFile,
# Line 99  C     the_run_name    :: string identify Line 104  C     the_run_name    :: string identify
104        CHARACTER*(6)  eosType        CHARACTER*(6)  eosType
105        CHARACTER*(10) pickupSuff        CHARACTER*(10) pickupSuff
106        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir
107          CHARACTER*(MAX_LEN_FNAM) adTapeDir
108        CHARACTER*(MAX_LEN_FNAM) tRefFile        CHARACTER*(MAX_LEN_FNAM) tRefFile
109        CHARACTER*(MAX_LEN_FNAM) sRefFile        CHARACTER*(MAX_LEN_FNAM) sRefFile
110        CHARACTER*(MAX_LEN_FNAM) rhoRefFile        CHARACTER*(MAX_LEN_FNAM) rhoRefFile
# Line 178  C     selectKEscheme      :: Kinetic Ene Line 184  C     selectKEscheme      :: Kinetic Ene
184  C     selectVortScheme    :: Scheme selector for Vorticity term (Vector Inv.)  C     selectVortScheme    :: Scheme selector for Vorticity term (Vector Inv.)
185  C     monitorSelect       :: select group of variables to monitor  C     monitorSelect       :: select group of variables to monitor
186  C                            =1 : dynvars ; =2 : + vort ; =3 : + surface  C                            =1 : dynvars ; =2 : + vort ; =3 : + surface
187  C     debugLevel          :: debug level selector: higher -> more writing  C-    debugLevel          :: controls printing of algorithm intermediate results
188    C                            and statistics ; higher -> more writing
189    
190        COMMON /PARM_I/        COMMON /PARM_I/
191       &        cg2dMaxIters,       &        cg2dMaxIters,
# Line 349  C     snapshot_mdsio     :: use mdsio fo Line 356  C     snapshot_mdsio     :: use mdsio fo
356  C     monitor_stdio      :: use stdio for monitor output  C     monitor_stdio      :: use stdio for monitor output
357  C     dumpInitAndLast :: dumps model state to files at Initial (nIter0)  C     dumpInitAndLast :: dumps model state to files at Initial (nIter0)
358  C                        & Last iteration, in addition multiple of dumpFreq iter.  C                        & Last iteration, in addition multiple of dumpFreq iter.
359    C     debugMode       :: controls printing of debug msg (sequence of S/R calls).
360    C     printDomain     :: controls printing of domain fields (bathy, hFac ...).
361    
362        COMMON /PARM_L/        COMMON /PARM_L/
363       & fluidIsAir, fluidIsWater,       & fluidIsAir, fluidIsWater,
# Line 369  C                        & Last iteratio Line 378  C                        & Last iteratio
378       & tempAdvection, tempIsActiveTr, tempForcing,       & tempAdvection, tempIsActiveTr, tempForcing,
379       & saltAdvection, saltIsActiveTr, saltForcing,       & saltAdvection, saltIsActiveTr, saltForcing,
380       & maskIniTemp, maskIniSalt, checkIniTemp, checkIniSalt,       & maskIniTemp, maskIniSalt, checkIniTemp, checkIniSalt,
381       & useRealFreshWaterFlux,       & useRealFreshWaterFlux, useSRCGSolver,
382       & rigidLid, implicitFreeSurface, exactConserv, linFSConserveTr,       & rigidLid, implicitFreeSurface, exactConserv, linFSConserveTr,
383       & uniformLin_PhiSurf,       & uniformLin_PhiSurf,
384       & quasiHydrostatic, nonHydrostatic,       & quasiHydrostatic, nonHydrostatic,
# Line 387  C                        & Last iteratio Line 396  C                        & Last iteratio
396       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,
397       & writePickupAtEnd,       & writePickupAtEnd,
398       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio,
399       & outputTypesInclusive, dumpInitAndLast, debugMode,       & outputTypesInclusive, dumpInitAndLast,
400       & inAdMode, inAdTrue, inAdFalse, inAdExact,       & debugMode, printDomain,
401       & useSRCGSolver       & inAdMode, inAdTrue, inAdFalse, inAdExact
402    
403        LOGICAL fluidIsAir        LOGICAL fluidIsAir
404        LOGICAL fluidIsWater        LOGICAL fluidIsWater
# Line 406  C                        & Last iteratio Line 415  C                        & Last iteratio
415        LOGICAL useNHMTerms        LOGICAL useNHMTerms
416        LOGICAL no_slip_sides        LOGICAL no_slip_sides
417        LOGICAL no_slip_bottom        LOGICAL no_slip_bottom
418          LOGICAL useFullLeith
419          LOGICAL useStrainTensionVisc
420          LOGICAL useAreaViscLength
421        LOGICAL momViscosity        LOGICAL momViscosity
422        LOGICAL momAdvection        LOGICAL momAdvection
423        LOGICAL momForcing        LOGICAL momForcing
# Line 423  C                        & Last iteratio Line 435  C                        & Last iteratio
435        LOGICAL checkIniTemp        LOGICAL checkIniTemp
436        LOGICAL checkIniSalt        LOGICAL checkIniSalt
437        LOGICAL useRealFreshWaterFlux        LOGICAL useRealFreshWaterFlux
438        LOGICAL useFullLeith        LOGICAL useSRCGSolver
       LOGICAL useStrainTensionVisc  
       LOGICAL useAreaViscLength  
439        LOGICAL rigidLid        LOGICAL rigidLid
440        LOGICAL implicitFreeSurface        LOGICAL implicitFreeSurface
441        LOGICAL exactConserv        LOGICAL exactConserv
# Line 475  C                        & Last iteratio Line 485  C                        & Last iteratio
485        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
486        LOGICAL outputTypesInclusive        LOGICAL outputTypesInclusive
487        LOGICAL dumpInitAndLast        LOGICAL dumpInitAndLast
488        LOGICAL debugMode        LOGICAL debugMode, printDomain
489        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
       LOGICAL useSRCGSolver  
490    
491  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
492  C     cg2dTargetResidual  C     cg2dTargetResidual
# Line 504  C     delR      :: Vertical grid spacing Line 513  C     delR      :: Vertical grid spacing
513  C     delRc     :: Vertical grid spacing between cell centers (r unit).  C     delRc     :: Vertical grid spacing between cell centers (r unit).
514  C     delX      :: Separation between cell faces (m) or (deg), depending  C     delX      :: Separation between cell faces (m) or (deg), depending
515  C     delY        on input flags.  C     delY        on input flags.
516    C     xgOrigin   :: Origin of the X-axis (Cartesian Grid) / Longitude of Western
517    C                :: most cell face (Lat-Lon grid) (Note: this is an "inert"
518    C                :: parameter but it makes geographical references simple.)
519    C     ygOrigin   :: Origin of the Y-axis (Cartesian Grid) / Latitude of Southern
520    C                :: most face (Lat-Lon grid).
521  C     gravity   :: Accel. due to gravity ( m/s^2 )  C     gravity   :: Accel. due to gravity ( m/s^2 )
522  C     recip_gravity and its inverse  C     recip_gravity and its inverse
523  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 533  C     rUnit2mass :: units conversion fac Line 547  C     rUnit2mass :: units conversion fac
547  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].
548  C                :: z-coord: = rhoConst  ( [m] * rho = [kg/m2] ) ;  C                :: z-coord: = rhoConst  ( [m] * rho = [kg/m2] ) ;
549  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).  
550  C     rSphere    :: Radius of sphere for a spherical polar grid ( m ).  C     rSphere    :: Radius of sphere for a spherical polar grid ( m ).
551  C     recip_rSphere  :: Reciprocal radius of sphere ( m ).  C     recip_rSphere  :: Reciprocal radius of sphere ( m ).
552    C     radius_fromHorizGrid :: sphere Radius of input horiz. grid (Curvilinear Grid)
553  C     f0         :: Reference coriolis parameter ( 1/s )  C     f0         :: Reference coriolis parameter ( 1/s )
554  C                   ( Southern edge f for beta plane )  C                   ( Southern edge f for beta plane )
555  C     beta       :: df/dy ( s^-1.m^-1 )  C     beta       :: df/dy ( s^-1.m^-1 )
# Line 704  C     thetaEuler    :: Euler angle, rota Line 714  C     thetaEuler    :: Euler angle, rota
714  C     psiEuler      :: Euler angle, rotation about new z-axis  C     psiEuler      :: Euler angle, rotation about new z-axis
715        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
716       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
717       & delR, delRc, delX, delY,       & delR, delRc, delX, delY, xgOrigin, ygOrigin,
718       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
719       & abEps, alph_AB, beta_AB,       & abEps, alph_AB, beta_AB,
720       & xgOrigin, ygOrigin, rSphere, recip_rSphere,       & rSphere, recip_rSphere, radius_fromHorizGrid,
721       & f0, beta, fPrime, omega, rotationPeriod,       & f0, beta, fPrime, omega, rotationPeriod,
722       & viscFacAdj, viscAh, viscAhW, viscAhMax,       & viscFacAdj, viscAh, viscAhW, viscAhMax,
723       & viscAhGrid, viscAhGridMax, viscAhGridMin,       & viscAhGrid, viscAhGridMax, viscAhGridMin,
# Line 755  C     psiEuler      :: Euler angle, rota Line 765  C     psiEuler      :: Euler angle, rota
765        _RL delRc(Nr+1)        _RL delRc(Nr+1)
766        _RL delX(Nx)        _RL delX(Nx)
767        _RL delY(Ny)        _RL delY(Ny)
768          _RL xgOrigin
769          _RL ygOrigin
770        _RL deltaT        _RL deltaT
771        _RL deltaTClock        _RL deltaTClock
772        _RL deltaTmom        _RL deltaTmom
773        _RL dTtracerLev(Nr)        _RL dTtracerLev(Nr)
774        _RL deltaTfreesurf        _RL deltaTfreesurf
775        _RL abEps, alph_AB, beta_AB        _RL abEps, alph_AB, beta_AB
       _RL xgOrigin  
       _RL ygOrigin  
776        _RL rSphere        _RL rSphere
777        _RL recip_rSphere        _RL recip_rSphere
778          _RL radius_fromHorizGrid
779        _RL f0        _RL f0
780        _RL beta        _RL beta
781        _RL fPrime        _RL fPrime
# Line 960  C Logical flags for selecting packages Line 971  C Logical flags for selecting packages
971       &        useDiagnostics, useREGRID, useLayers, useMNC,       &        useDiagnostics, useREGRID, useLayers, useMNC,
972       &        useRunClock, useEMBED_FILES,       &        useRunClock, useEMBED_FILES,
973       &        useMYPACKAGE       &        useMYPACKAGE
974    
975  CEH3 ;;; Local Variables: ***  CEH3 ;;; Local Variables: ***
976  CEH3 ;;; mode:fortran ***  CEH3 ;;; mode:fortran ***
977  CEH3 ;;; End: ***  CEH3 ;;; End: ***

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

  ViewVC Help
Powered by ViewVC 1.1.22