/[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.190 by jscott, Wed Sep 6 15:01:55 2006 UTC revision 1.191 by jmc, Tue Nov 28 22:44:44 2006 UTC
# Line 49  C     Checkpoint data Line 49  C     Checkpoint data
49    
50  C--   COMMON /PARM_C/ Character valued parameters used by the model.  C--   COMMON /PARM_C/ Character valued parameters used by the model.
51  C     checkPtSuff :: List of checkpoint file suffices  C     checkPtSuff :: List of checkpoint file suffices
52    C     tRefFile      :: File containing reference Potential Temperat.  tRef (1.D)
53    C     sRefFile      :: File containing reference salinity/spec.humid. sRef (1.D)
54    C     rhoRefFile    :: File containing reference density profile rhoRef (1.D)
55    C     delRFile      :: File containing vertical grid spacing delR  (1.D array)
56    C     delRcFile     :: File containing vertical grid spacing delRc (1.D array)
57  C     delXFile      :: File containing X-spacing grid definition (1.D array)  C     delXFile      :: File containing X-spacing grid definition (1.D array)
58  C     delYFile      :: File containing Y-spacing grid definition (1.D array)  C     delYFile      :: File containing Y-spacing grid definition (1.D array)
59  C     horizGridFile :: File containing horizontal-grid definition  C     horizGridFile :: File containing horizontal-grid definition
60  C                        (only when using curvilinear_grid)  C                        (only when using curvilinear_grid)
61  C     bathyFile   :: File containing bathymetry. If not defined bathymetry  C     bathyFile   :: File containing bathymetry. If not defined bathymetry
62  C                   is taken from inline function.  C                   is taken from inline function.
# Line 84  C     eosType         :: choose the equa Line 89  C     eosType         :: choose the equa
89  C                        LINEAR, POLY3, UNESCO, JMD95Z, JMD95P, MDJWF, IDEALGAS  C                        LINEAR, POLY3, UNESCO, JMD95Z, JMD95P, MDJWF, IDEALGAS
90  C     the_run_name    :: string identifying the name of the model "run"  C     the_run_name    :: string identifying the name of the model "run"
91        COMMON /PARM_C/ checkPtSuff,        COMMON /PARM_C/ checkPtSuff,
92         &                tRefFile, sRefFile, rhoRefFile,
93         &                delRFile, delRcFile,
94       &                delXFile, delYFile, horizGridFile,       &                delXFile, delYFile, horizGridFile,
95       &                bathyFile, topoFile, shelfIceFile,       &                bathyFile, topoFile, shelfIceFile,
96       &                hydrogThetaFile, hydrogSaltFile,       &                hydrogThetaFile, hydrogSaltFile,
# Line 99  C     the_run_name    :: string identify Line 106  C     the_run_name    :: string identify
106       &                mdsioLocalDir,       &                mdsioLocalDir,
107       &                the_run_name       &                the_run_name
108        CHARACTER*(5) checkPtSuff(maxNoChkptLev)        CHARACTER*(5) checkPtSuff(maxNoChkptLev)
109          CHARACTER*(MAX_LEN_FNAM) tRefFile
110          CHARACTER*(MAX_LEN_FNAM) sRefFile
111          CHARACTER*(MAX_LEN_FNAM) rhoRefFile
112          CHARACTER*(MAX_LEN_FNAM) delRFile
113          CHARACTER*(MAX_LEN_FNAM) delRcFile
114        CHARACTER*(MAX_LEN_FNAM) delXFile        CHARACTER*(MAX_LEN_FNAM) delXFile
115        CHARACTER*(MAX_LEN_FNAM) delYFile        CHARACTER*(MAX_LEN_FNAM) delYFile
116        CHARACTER*(MAX_LEN_FNAM) horizGridFile        CHARACTER*(MAX_LEN_FNAM) horizGridFile
# Line 290  C     fluidIsWater     :: Set to indicat Line 302  C     fluidIsWater     :: Set to indicat
302  C                        is water  C                        is water
303  C     useDynP_inEos_Zc :: use the dynamical pressure in EOS (with Z-coord.)  C     useDynP_inEos_Zc :: use the dynamical pressure in EOS (with Z-coord.)
304  C                         this requires specific code for restart & exchange  C                         this requires specific code for restart & exchange
305  C     setCenterDr    :: set cell Center depth and put Interface at the middle  C     setInterFDr    :: set Interface depth (put cell-Center at the middle)
306    C     setCenterDr    :: set cell-Center depth (put Interface at the middle)
307  C     nonHydrostatic :: Using non-hydrostatic terms  C     nonHydrostatic :: Using non-hydrostatic terms
308  C     quasiHydrostatic :: Using non-hydrostatic terms in hydrostatic algorithm  C     quasiHydrostatic :: Using non-hydrostatic terms in hydrostatic algorithm
309  C     globalFiles    :: Selects between "global" and "tiled" files  C     globalFiles    :: Selects between "global" and "tiled" files
# Line 314  C     balancePrintMean:: print substract Line 327  C     balancePrintMean:: print substract
327    
328        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
329       & usingCurvilinearGrid, usingCylindricalGrid,       & usingCurvilinearGrid, usingCylindricalGrid,
330         & setInterFDr, setCenterDr,
331       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
332       & momViscosity, momAdvection, momForcing, useCoriolis,       & momViscosity, momAdvection, momForcing, useCoriolis,
333       & momPressureForcing, vectorInvariantMomentum,       & momPressureForcing, vectorInvariantMomentum,
# Line 338  C     balancePrintMean:: print substract Line 352  C     balancePrintMean:: print substract
352       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,
353       & periodicExternalForcing,       & periodicExternalForcing,
354       & fluidIsAir, fluidIsWater,       & fluidIsAir, fluidIsWater,
355       & usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr,       & usingPCoords, usingZCoords, useDynP_inEos_Zc,
356       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,
357       & allowFreezing, useOldFreezing,       & allowFreezing, useOldFreezing,
358       & usePickupBeforeC35, usePickupBeforeC54, startFromPickupAB2,       & usePickupBeforeC35, usePickupBeforeC54, startFromPickupAB2,
# Line 352  C     balancePrintMean:: print substract Line 366  C     balancePrintMean:: print substract
366        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
367        LOGICAL usingCylindricalGrid        LOGICAL usingCylindricalGrid
368        LOGICAL usingCurvilinearGrid        LOGICAL usingCurvilinearGrid
369          LOGICAL setInterFDr
370          LOGICAL setCenterDr
371        LOGICAL useNHMTerms        LOGICAL useNHMTerms
372        LOGICAL no_slip_sides        LOGICAL no_slip_sides
373        LOGICAL no_slip_bottom        LOGICAL no_slip_bottom
# Line 411  C     balancePrintMean:: print substract Line 427  C     balancePrintMean:: print substract
427        LOGICAL usingPCoords        LOGICAL usingPCoords
428        LOGICAL usingZCoords        LOGICAL usingZCoords
429        LOGICAL useDynP_inEos_Zc        LOGICAL useDynP_inEos_Zc
       LOGICAL setCenterDr  
430        LOGICAL nonHydrostatic        LOGICAL nonHydrostatic
431        LOGICAL quasiHydrostatic        LOGICAL quasiHydrostatic
432        LOGICAL globalFiles        LOGICAL globalFiles
# Line 462  C     gravity   :: Accel. due to gravity Line 477  C     gravity   :: Accel. due to gravity
477  C     recip_gravity and its inverse  C     recip_gravity and its inverse
478  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 )
479  C     rhoNil    :: Reference density for the linear equation of state  C     rhoNil    :: Reference density for the linear equation of state
480  C     rhoConst  :: Vertically constant reference density  C     rhoConst  :: Vertically constant reference density
481    C     rhoFacC   :: normalized (by rhoConst) reference density at cell-Center
482    C     rhoFacF   :: normalized (by rhoConst) reference density at cell-interFace
483  C     rhoConstFresh :: Constant reference density for fresh water (rain)  C     rhoConstFresh :: Constant reference density for fresh water (rain)
484  C     tRef      :: reference vertical profile for potential temperature  C     tRef      :: reference vertical profile for potential temperature
485  C     sRef      :: reference vertical profile for salinity/specific humidity  C     sRef      :: reference vertical profile for salinity/specific humidity
486  C     phiRef    :: reference potential (pressure/rho, geopotential) profile  C     phiRef    :: reference potential (pressure/rho, geopotential) profile
487  C     dBdrRef   :: vertical gradient of reference boyancy  [(m/s/r)^2)]:  C     dBdrRef   :: vertical gradient of reference boyancy  [(m/s/r)^2)]:
488  C               :: z-coord: = N^2_ref = Brunt-Vaissala frequency [s^-2]  C               :: z-coord: = N^2_ref = Brunt-Vaissala frequency [s^-2]
489  C               :: p-coord: = -(d.alpha/dp)_ref          [(m^2.s/kg)^2]  C               :: p-coord: = -(d.alpha/dp)_ref          [(m^2.s/kg)^2]
# Line 475  C     thetaMin  :: Longitude of western Line 492  C     thetaMin  :: Longitude of western
492  C                 is an "inert" parameter but it is included  C                 is an "inert" parameter but it is included
493  C                 to make geographical references simple.)  C                 to make geographical references simple.)
494  C     rSphere   :: Radius of sphere for a spherical polar grid ( m ).  C     rSphere   :: Radius of sphere for a spherical polar grid ( m ).
495  C     recip_RSphere  :: Reciprocal radius of sphere ( m ).  C     recip_rSphere  :: Reciprocal radius of sphere ( m ).
496  C     f0        :: Reference coriolis parameter ( 1/s )  C     f0        :: Reference coriolis parameter ( 1/s )
497  C                 ( Southern edge f for beta plane )  C                 ( Southern edge f for beta plane )
498  C     beta      :: df/dy ( s^-1.m^-1 )  C     beta      :: df/dy ( s^-1.m^-1 )
# Line 640  C                      (i.e. allows conv Line 657  C                      (i.e. allows conv
657       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
658       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,
659       & hFacMin, hFacMinDz, hFacInf, hFacSup,       & hFacMin, hFacMinDz, hFacInf, hFacSup,
660       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,       & gravity, recip_Gravity, gBaro,
661       & recip_rhoConst, rhoConst,       & rhonil, recip_rhonil, rhoConst, recip_rhoConst,
662         & rhoFacC, recip_rhoFacC, rhoFacF, recip_rhoFacF,
663       & rhoConstFresh, convertEmP2rUnit, tRef, sRef, phiRef, dBdrRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef, phiRef, dBdrRef,
664       & baseTime, startTime, endTime,       & baseTime, startTime, endTime,
665       & chkPtFreq, pChkPtFreq, dumpFreq, adjDumpFreq,       & chkPtFreq, pChkPtFreq, dumpFreq, adjDumpFreq,
# Line 656  C                      (i.e. allows conv Line 674  C                      (i.e. allows conv
674       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
675       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
676       & sideDragFactor, bottomDragLinear, bottomDragQuadratic, nh_Am2,       & sideDragFactor, bottomDragLinear, bottomDragQuadratic, nh_Am2,
677       & smoothAbsFuncRange,       & smoothAbsFuncRange,
678       & tCylIn, tCylOut       & tCylIn, tCylOut
679    
680        _RL cg2dTargetResidual        _RL cg2dTargetResidual
# Line 676  C                      (i.e. allows conv Line 694  C                      (i.e. allows conv
694        _RL phiMin        _RL phiMin
695        _RL thetaMin        _RL thetaMin
696        _RL rSphere        _RL rSphere
697        _RL recip_RSphere        _RL recip_rSphere
698        _RL f0        _RL f0
699        _RL freeSurfFac        _RL freeSurfFac
700        _RL implicSurfPress        _RL implicSurfPress
# Line 727  C                      (i.e. allows conv Line 745  C                      (i.e. allows conv
745        _RL gravity        _RL gravity
746        _RL recip_gravity        _RL recip_gravity
747        _RL gBaro        _RL gBaro
748        _RL rhonil        _RL rhonil,        recip_rhonil
749        _RL recip_rhonil        _RL rhoConst,      recip_rhoConst
750        _RL rhoConst        _RL rhoFacC(Nr),   recip_rhoFacC(Nr)
751        _RL recip_rhoConst        _RL rhoFacF(Nr+1), recip_rhoFacF(Nr+1)
752        _RL rhoConstFresh        _RL rhoConstFresh
753        _RL convertEmP2rUnit        _RL convertEmP2rUnit
754        _RL tRef(Nr)        _RL tRef(Nr)
# Line 849  C Logical flags for selecting packages Line 867  C Logical flags for selecting packages
867       &        useCAL, useEXF, useEBM, useGrdchk, useECCO,       &        useCAL, useEXF, useEBM, useGrdchk, useECCO,
868       &        useSHAP_FILT, useZONAL_FILT, useFLT,       &        useSHAP_FILT, useZONAL_FILT, useFLT,
869       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,
870       &        useSBO, useSEAICE, useShelfIce,       &        useSBO, useSEAICE, useShelfIce,
871       &        useThSIce, useATM2D, useBulkForce,       &        useThSIce, useATM2D, useBulkForce,
872       &        usefizhi, usegridalt, useDiagnostics, useMNC, useREGRID,       &        usefizhi, usegridalt, useDiagnostics, useMNC, useREGRID,
873       &        useRunClock, useEMBED_FILES, useMYPACKAGE       &        useRunClock, useEMBED_FILES, useMYPACKAGE

Legend:
Removed from v.1.190  
changed lines
  Added in v.1.191

  ViewVC Help
Powered by ViewVC 1.1.22