/[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.44 by adcroft, Wed Jun 21 19:21:44 2000 UTC revision 1.47 by cnh, Sun Feb 4 14:38:45 2001 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2    C $Name$
3  C  C
4  C     /==========================================================\  C     /==========================================================\
5  C     | PARAMS.h                                                 |  C     | PARAMS.h                                                 |
# Line 56  C                       in relaxation te Line 57  C                       in relaxation te
57  C     saltClimFile    - File containing salt climataology used  C     saltClimFile    - File containing salt climataology used
58  C                       in relaxation term -lambda(salt-salt*)  C                       in relaxation term -lambda(salt-salt*)
59  C     surfQfile       - File containing surface heat flux  C     surfQfile       - File containing surface heat flux
60    C     surfQswfile     - File containing surface shortwave radiation
61  C     EmPmRfile       - File containing surface fresh water flux  C     EmPmRfile       - File containing surface fresh water flux
62  C     buoyancyRelation - Flag used to indicate which relation to use to  C     buoyancyRelation - Flag used to indicate which relation to use to
63  C                        get buoyancy.  C                        get buoyancy.
# Line 63  C                        get buoyancy. Line 65  C                        get buoyancy.
65       &                bathyFile, hydrogThetaFile, hydrogSaltFile,       &                bathyFile, hydrogThetaFile, hydrogSaltFile,
66       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
67       &                saltClimFile, buoyancyRelation,       &                saltClimFile, buoyancyRelation,
68       &                EmPmRfile, surfQfile,       &                EmPmRfile, surfQfile, surfQswfile,
69       &                uVelInitFile, vVelInitFile, pSurfInitFile       &                uVelInitFile, vVelInitFile, pSurfInitFile
70        CHARACTER*(5) checkPtSuff(maxNoChkptLev)        CHARACTER*(5) checkPtSuff(maxNoChkptLev)
71        CHARACTER*(MAX_LEN_FNAM) bathyFile        CHARACTER*(MAX_LEN_FNAM) bathyFile
# Line 74  C                        get buoyancy. Line 76  C                        get buoyancy.
76        CHARACTER*(MAX_LEN_FNAM) thetaClimFile        CHARACTER*(MAX_LEN_FNAM) thetaClimFile
77        CHARACTER*(MAX_LEN_FNAM) saltClimFile        CHARACTER*(MAX_LEN_FNAM) saltClimFile
78        CHARACTER*(MAX_LEN_FNAM) surfQfile        CHARACTER*(MAX_LEN_FNAM) surfQfile
79          CHARACTER*(MAX_LEN_FNAM) surfQswfile
80        CHARACTER*(MAX_LEN_FNAM) EmPmRfile        CHARACTER*(MAX_LEN_FNAM) EmPmRfile
81        CHARACTER*(MAX_LEN_FNAM) buoyancyRelation        CHARACTER*(MAX_LEN_FNAM) buoyancyRelation
82        CHARACTER*(MAX_LEN_FNAM) uVelInitFile        CHARACTER*(MAX_LEN_FNAM) uVelInitFile
# Line 113  C                           etc... Line 116  C                           etc...
116       &        numStepsPerPickup,       &        numStepsPerPickup,
117       &        writeStatePrec, nCheckLev,       &        writeStatePrec, nCheckLev,
118       &        writeBinaryPrec, readBinaryPrec,       &        writeBinaryPrec, readBinaryPrec,
119       &        nShap       &        nShap, zonal_filt_sinpow, zonal_filt_cospow
120        INTEGER cg2dMaxIters        INTEGER cg2dMaxIters
121        INTEGER cg2dChkResFreq        INTEGER cg2dChkResFreq
122        INTEGER cg3dMaxIters        INTEGER cg3dMaxIters
# Line 127  C                           etc... Line 130  C                           etc...
130        INTEGER readBinaryPrec        INTEGER readBinaryPrec
131        INTEGER nCheckLev        INTEGER nCheckLev
132        INTEGER nShap        INTEGER nShap
133          INTEGER zonal_filt_sinpow
134          INTEGER zonal_filt_cospow
135    
136  C--   COMMON /PARM_L/ Logical valued parameters used by the model.  C--   COMMON /PARM_L/ Logical valued parameters used by the model.
137  C     usingCartesianGrid - If TRUE grid generation will be in a cartesian  C     usingCartesianGrid - If TRUE grid generation will be in a cartesian
# Line 135  C     usingSphericalPolarGrid - If TRUE Line 140  C     usingSphericalPolarGrid - If TRUE
140  C                               spherical polar frame.  C                               spherical polar frame.
141  C     no_slip_sides - Impose "no-slip" at lateral boundaries.  C     no_slip_sides - Impose "no-slip" at lateral boundaries.
142  C     no_slip_bottom- Impose "no-slip" at bottom boundary.  C     no_slip_bottom- Impose "no-slip" at bottom boundary.
143    C     staggerTimeStep - enable a Stagger time stepping T,S Rho then U,V
144  C     momViscosity  - Flag which turns momentum friction terms on and off.  C     momViscosity  - Flag which turns momentum friction terms on and off.
145  C     momAdvection  - Flag which turns advection of momentum on and off.  C     momAdvection  - Flag which turns advection of momentum on and off.
146  C     momForcing    - Flag which turns external forcing of momentum on  C     momForcing    - Flag which turns external forcing of momentum on
# Line 175  C     usingPCoords     - Set to indicate Line 181  C     usingPCoords     - Set to indicate
181  C                        coords.  C                        coords.
182  C     usingZCoords     - Set to indicate that we are working in height  C     usingZCoords     - Set to indicate that we are working in height
183  C                        coords.  C                        coords.
 C     openBoundaries - Using open-boundaries  
184  C     nonHydrostatic - Using non-hydrostatic terms  C     nonHydrostatic - Using non-hydrostatic terms
185  C     globalFiles    - Selects between "global" and "tiled" files  C     globalFiles    - Selects between "global" and "tiled" files
186  C     allowFreezing  - Allows water to freeze and form ice  C     allowFreezing  - Allows water to freeze and form ice
187    C     groundAtK1  - put the surface(k=1) at the Lower Boundary (=ground)
188        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
189       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
190         & staggerTimeStep,
191       & momViscosity, momAdvection, momForcing, useCoriolis,       & momViscosity, momAdvection, momForcing, useCoriolis,
192       & momPressureForcing,tempDiffusion, tempAdvection, tempForcing,       & momPressureForcing,tempDiffusion, tempAdvection, tempForcing,
193       & saltDiffusion, saltAdvection, saltForcing,       & saltDiffusion, saltAdvection, saltForcing,
# Line 191  C     allowFreezing  - Allows water to f Line 198  C     allowFreezing  - Allows water to f
198       & implicitDiffusion, implicitViscosity,       & implicitDiffusion, implicitViscosity,
199       & doThetaClimRelax, doSaltClimRelax,       & doThetaClimRelax, doSaltClimRelax,
200       & periodicExternalForcing, usingPCoords, usingZCoords,       & periodicExternalForcing, usingPCoords, usingZCoords,
201       & openBoundaries, nonHydrostatic, globalFiles,       & nonHydrostatic, globalFiles,
202       & allowFreezing       & allowFreezing, groundAtK1
203        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
204        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
205        LOGICAL usingSphericalPolarMTerms        LOGICAL usingSphericalPolarMTerms
206        LOGICAL no_slip_sides        LOGICAL no_slip_sides
207        LOGICAL no_slip_bottom        LOGICAL no_slip_bottom
208          LOGICAL staggerTimeStep
209        LOGICAL momViscosity        LOGICAL momViscosity
210        LOGICAL momAdvection        LOGICAL momAdvection
211        LOGICAL momForcing        LOGICAL momForcing
# Line 225  C     allowFreezing  - Allows water to f Line 233  C     allowFreezing  - Allows water to f
233        LOGICAL periodicExternalForcing        LOGICAL periodicExternalForcing
234        LOGICAL usingPCoords        LOGICAL usingPCoords
235        LOGICAL usingZCoords        LOGICAL usingZCoords
       LOGICAL openBoundaries  
236        LOGICAL nonHydrostatic        LOGICAL nonHydrostatic
237        LOGICAL globalFiles        LOGICAL globalFiles
238        LOGICAL allowFreezing        LOGICAL allowFreezing
239          LOGICAL groundAtK1
240    
241  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
242  C     cg2dTargetResidual  C     cg2dTargetResidual
# Line 348  C     recip_horiVertRatio  ( 1 if horiz Line 356  C     recip_horiVertRatio  ( 1 if horiz
356  C                          ( g*rho if horiz in m and vertical in Pa ).  C                          ( g*rho if horiz in m and vertical in Pa ).
357  C     latFFTFiltLo       - Low latitude for FFT filtering of latitude  C     latFFTFiltLo       - Low latitude for FFT filtering of latitude
358  C                          circles ( see filter*.F )  C                          circles ( see filter*.F )
359    C     Ro_SeaLevel        - standard position of Sea-Level in "R" coordinate, used as
360    C                          starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)
361    C     bottomDragLinear   - Drag coefficient built in to core dynamics
362    C         "     Quadratic  ( linear: 1/s, quadratic: 1/m )
363        COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac,        COMMON /PARM_R/ cg2dTargetResidual, cg2dpcOffDFac,
364       & cg3dTargetResidual,       & cg3dTargetResidual,
365       & delP, delZ, delR, delX, delY,       & delP, delZ, delR, delX, delY,
# Line 367  C                          circles ( see Line 379  C                          circles ( see
379       & externForcingCycle, externForcingPeriod,       & externForcingCycle, externForcingPeriod,
380       & viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp,       & viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp,
381       & theta_S, specVol_S, horiVertRatio, recip_horiVertRatio,       & theta_S, specVol_S, horiVertRatio, recip_horiVertRatio,
382       & latFFTFiltLo, ivdc_kappa       & latFFTFiltLo, ivdc_kappa, Ro_SeaLevel, zonal_filt_lat,
383         & bottomDragLinear,bottomDragQuadratic
384    
385        _RL cg2dTargetResidual        _RL cg2dTargetResidual
386        _RL cg3dTargetResidual        _RL cg3dTargetResidual
# Line 448  C                          circles ( see Line 461  C                          circles ( see
461        _RL recip_horiVertRatio        _RL recip_horiVertRatio
462        _RL latFFTFiltLo        _RL latFFTFiltLo
463        _RL ivdc_kappa        _RL ivdc_kappa
464          _RL Ro_SeaLevel
465          _RL zonal_filt_lat
466          _RL bottomDragLinear
467          _RL bottomDragQuadratic
468    
469        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp,        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp,
470       &                Lamba_theta       &                Lamba_theta
# Line 466  C     sBeta     - Linear EOS haline cont Line 483  C     sBeta     - Linear EOS haline cont
483        _RL sBeta        _RL sBeta
484        character*(6) eosType        character*(6) eosType
485    
 C These are input arrays (of integers) that contain the *absolute*  
 C computational index of an open-boundary (OB) point.  
 C A zero (0) element means there is no corresponding OB in that column/row.  
 C The computational coordinate refers to "tracer" cells.  
 C For a northern/southern OB, the OB V point is to the south/north.  
 C For an eastern/western OB, the OB U point is to the west/east.  
 C eg.  
 C     OB_Jnorth(3)=34  means that:  
 C          T( 3 ,34) is a an OB point  
 C          U(3:4,34) is a an OB point  
 C          V( 4 ,34) is a an OB point  
 C while  
 C     OB_Jsouth(3)=1  means that:  
 C          T( 3 ,1) is a an OB point  
 C          U(3:4,1) is a an OB point  
 C          V( 4 ,2) is a an OB point  
 C  
 C For convenience, negative values for Jnorth/Ieast refer to  
 C points relative to the Northern/Eastern edges of the model  
 C eg. OB_Jnorth(3)=-1  means that the point (3,Ny-1) is a northern O-B.  
 C  
       COMMON /PARM_OB/  
      & OB_Jnorth,OB_Jsouth,OB_Ieast,OB_Iwest  
       INTEGER OB_Jnorth(Nx)  
       INTEGER OB_Jsouth(Nx)  
       INTEGER OB_Ieast(Ny)  
       INTEGER OB_Iwest(Ny)  
   
486  C Logical flags for selecting packages  C Logical flags for selecting packages
487        LOGICAL use_KPPmixing        LOGICAL useKPP
488        LOGICAL use_GMRedi        LOGICAL useGMRedi
489          LOGICAL useOBCS
490          LOGICAL useECCO
491        COMMON /PARM_PACKAGES/        COMMON /PARM_PACKAGES/
492       &        use_KPPmixing,use_GMRedi       &        useKPP, useGMRedi, useOBCS, useECCO

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.47

  ViewVC Help
Powered by ViewVC 1.1.22