/[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.175 by edhill, Thu Jan 12 03:24:09 2006 UTC revision 1.194 by dfer, Tue Jan 2 20:52:07 2007 UTC
# Line 36  C     UNSET_xxx :: Used to indicate vari Line 36  C     UNSET_xxx :: Used to indicate vari
36        PARAMETER ( UNSET_FLOAT8 = 1.234567D5 )        PARAMETER ( UNSET_FLOAT8 = 1.234567D5 )
37        Real*4 UNSET_FLOAT4        Real*4 UNSET_FLOAT4
38        PARAMETER ( UNSET_FLOAT4 = 1.234567E5 )        PARAMETER ( UNSET_FLOAT4 = 1.234567E5 )
39        _RL    UNSET_RL            _RL    UNSET_RL
40        PARAMETER ( UNSET_RL     = 1.234567D5 )        PARAMETER ( UNSET_RL     = 1.234567D5 )
41        _RS    UNSET_RS            _RS    UNSET_RS
42        PARAMETER ( UNSET_RS     = 1.234567E5 )        PARAMETER ( UNSET_RS     = 1.234567E5 )
43        INTEGER UNSET_I        INTEGER UNSET_I
44        PARAMETER ( UNSET_I      = 123456789  )        PARAMETER ( UNSET_I      = 123456789  )
# 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.
63  C     topoFile    :: File containing the topography of the surface (unit=m)  C     topoFile    :: File containing the topography of the surface (unit=m)
64  C                   (mainly used for the atmosphere = ground height).  C                   (mainly used for the atmosphere = ground height).
65    C     shelfIceFile:: File containing the topography of the shelfice draught
66    C                    (unit=m)
67  C     hydrogThetaFile :: File containing initial hydrographic data for potential  C     hydrogThetaFile :: File containing initial hydrographic data for potential
68  C                       temperature.  C                       temperature.
69  C     hydrogSaltFile  :: File containing initial hydrographic data for salinity.  C     hydrogSaltFile  :: File containing initial hydrographic data for salinity.
# Line 82  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,       &                bathyFile, topoFile, shelfIceFile,
96       &                hydrogThetaFile, hydrogSaltFile,       &                hydrogThetaFile, hydrogSaltFile,
97       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
98       &                saltClimFile, buoyancyRelation,       &                saltClimFile, buoyancyRelation,
# Line 94  C     the_run_name    :: string identify Line 103  C     the_run_name    :: string identify
103       &                dQdTfile, ploadFile,       &                dQdTfile, ploadFile,
104       &                eddyTauxFile, eddyTauyFile,       &                eddyTauxFile, eddyTauyFile,
105       &                eosType, pickupSuff,       &                eosType, pickupSuff,
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
117        CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile        CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile, shelfIceFile
118        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile
119        CHARACTER*(MAX_LEN_FNAM) hydrogSaltFile        CHARACTER*(MAX_LEN_FNAM) hydrogSaltFile
120        CHARACTER*(MAX_LEN_FNAM) zonalWindFile        CHARACTER*(MAX_LEN_FNAM) zonalWindFile
# Line 123  C     the_run_name    :: string identify Line 137  C     the_run_name    :: string identify
137        CHARACTER*(MAX_LEN_FNAM) lambdaThetaFile        CHARACTER*(MAX_LEN_FNAM) lambdaThetaFile
138        CHARACTER*(MAX_LEN_FNAM) lambdaSaltFile        CHARACTER*(MAX_LEN_FNAM) lambdaSaltFile
139        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir
140        CHARACTER*(MAX_LEN_FNAM) the_run_name        CHARACTER*(MAX_LEN_PREC/2) the_run_name
141        CHARACTER*(6) eosType        CHARACTER*(6) eosType
142        CHARACTER*(10) pickupSuff        CHARACTER*(10) pickupSuff
143    
# Line 150  C     nonlinFreeSurf      :: option rela Line 164  C     nonlinFreeSurf      :: option rela
164  C                           =0 Linear free surface ; >0 Non-linear  C                           =0 Linear free surface ; >0 Non-linear
165  C     select_rStar        :: option related to r* vertical coordinate  C     select_rStar        :: option related to r* vertical coordinate
166  C                           =0 (default) use r coord. ; > 0 use r*  C                           =0 (default) use r coord. ; > 0 use r*
167    C     momForcingOutAB     :: =1: take momentum forcing contribution
168    C                           out of (=0: in) Adams-Bashforth time stepping.
169    C     tracForcingOutAB    :: =1: take tracer (Temp,Salt,pTracers) forcing contribution
170    C                           out of (=0: in) Adams-Bashforth time stepping.
171  C     tempAdvScheme       :: Temp. Horiz.Advection scheme selector  C     tempAdvScheme       :: Temp. Horiz.Advection scheme selector
172  C     tempVertAdvScheme   :: Temp. Vert. Advection scheme selector  C     tempVertAdvScheme   :: Temp. Vert. Advection scheme selector
173  C     saltAdvScheme       :: Salt. Horiz.advection scheme selector  C     saltAdvScheme       :: Salt. Horiz.advection scheme selector
# Line 167  C     debugLevel          :: debug level Line 185  C     debugLevel          :: debug level
185       &        writeStatePrec, nCheckLev,       &        writeStatePrec, nCheckLev,
186       &        writeBinaryPrec, readBinaryPrec,       &        writeBinaryPrec, readBinaryPrec,
187       &        nonlinFreeSurf, select_rStar,       &        nonlinFreeSurf, select_rStar,
188         &        momForcingOutAB, tracForcingOutAB,
189       &        tempAdvScheme, tempVertAdvScheme,       &        tempAdvScheme, tempVertAdvScheme,
190       &        saltAdvScheme, saltVertAdvScheme,       &        saltAdvScheme, saltVertAdvScheme,
191       &        selectKEscheme,       &        selectKEscheme,
# Line 186  C     debugLevel          :: debug level Line 205  C     debugLevel          :: debug level
205        INTEGER nCheckLev        INTEGER nCheckLev
206        INTEGER nonlinFreeSurf        INTEGER nonlinFreeSurf
207        INTEGER select_rStar        INTEGER select_rStar
208          INTEGER momForcingOutAB, tracForcingOutAB
209        INTEGER tempAdvScheme, tempVertAdvScheme        INTEGER tempAdvScheme, tempVertAdvScheme
210        INTEGER saltAdvScheme, saltVertAdvScheme        INTEGER saltAdvScheme, saltVertAdvScheme
211        INTEGER selectKEscheme        INTEGER selectKEscheme
212        INTEGER debugLevel        INTEGER debugLevel
213    
214  C  C
# Line 205  C                          coordinate fr Line 225  C                          coordinate fr
225  C     usingSphericalPolarGrid :: If TRUE grid generation will be in a  C     usingSphericalPolarGrid :: If TRUE grid generation will be in a
226  C                               spherical polar frame.  C                               spherical polar frame.
227  C     usingCylindricalGrid :: If TRUE grid generation will be Cylindrical  C     usingCylindricalGrid :: If TRUE grid generation will be Cylindrical
228    C     usingCurvilinearGrid :: If TRUE, use a curvilinear grid (to be provided)
229    C     deepAtmosphere :: deep model (drop the shallow-atmosphere approximation)
230  C     no_slip_sides :: Impose "no-slip" at lateral boundaries.  C     no_slip_sides :: Impose "no-slip" at lateral boundaries.
231  C     no_slip_bottom :: Impose "no-slip" at bottom boundary.  C     no_slip_bottom :: Impose "no-slip" at bottom boundary.
232  C     momViscosity  :: Flag which turns momentum friction terms on and off.  C     momViscosity  :: Flag which turns momentum friction terms on and off.
# Line 214  C                     and off. Line 236  C                     and off.
236  C     momPressureForcing :: Flag which turns pressure term in momentum equation  C     momPressureForcing :: Flag which turns pressure term in momentum equation
237  C                          on and off.  C                          on and off.
238  C     metricTerms   :: Flag which turns metric terms on or off.  C     metricTerms   :: Flag which turns metric terms on or off.
239  C     usingSphericalPolarMTerms :: If TRUE use spherical polar metric terms.  C     useNHMTerms   :: If TRUE use non-hydrostatic metric terms.
 C     useNHMTerms :: If TRUE use non-hydrostatic metric terms.  
240  C     useCoriolis   :: Flag which turns the coriolis terms on and off.  C     useCoriolis   :: Flag which turns the coriolis terms on and off.
241  C     tempAdvection :: Flag which turns advection of temperature on  C     tempAdvection :: Flag which turns advection of temperature on
242  C                     and off.  C                     and off.
# Line 236  C     useStrainTensionVisc:: Set to true Line 257  C     useStrainTensionVisc:: Set to true
257  C     rigidLid            :: Set to true to use rigid lid  C     rigidLid            :: Set to true to use rigid lid
258  C     implicitFreeSurface :: Set to true to use implicit free surface  C     implicitFreeSurface :: Set to true to use implicit free surface
259  C     exactConserv        :: Set to true to conserve exactly the total Volume  C     exactConserv        :: Set to true to conserve exactly the total Volume
260    C     linFSConserveTr     :: Set to true to correct source/sink of tracer
261    C                            at the surface due to Linear Free Surface
262  C     uniformLin_PhiSurf  :: Set to true to use a uniform Bo_surf in the  C     uniformLin_PhiSurf  :: Set to true to use a uniform Bo_surf in the
263  C                           linear relation Phi_surf = Bo_surf*eta  C                           linear relation Phi_surf = Bo_surf*eta
264    C     use3Dsolver   :: set to true to use 3-D pressure solver
265  C     implicitIntGravWave :: treat Internal Gravity Wave implicitly  C     implicitIntGravWave :: treat Internal Gravity Wave implicitly
266  C     staggerTimeStep :: enable a Stagger time stepping T,S Rho then U,V  C     staggerTimeStep :: enable a Stagger time stepping T,S Rho then U,V
267  C     momStepping   :: Turns momentum equation time-stepping off  C     momStepping   :: Turns momentum equation time-stepping off
# Line 246  C     saltStepping  :: Turns salinity eq Line 270  C     saltStepping  :: Turns salinity eq
270  C     useConstantF  :: Coriolis parameter set to f0  C     useConstantF  :: Coriolis parameter set to f0
271  C     useBetaPlaneF :: Coriolis parameter set to f0 + beta.y  C     useBetaPlaneF :: Coriolis parameter set to f0 + beta.y
272  C     useSphereF    :: Coriolis parameter set to 2.omega.sin(phi)  C     useSphereF    :: Coriolis parameter set to 2.omega.sin(phi)
273    C     use3dCoriolis :: Turns the 3-D coriolis terms (in Omega.cos Phi) on - off
274  C     useCDscheme   :: use CD-scheme to calculate Coriolis terms.  C     useCDscheme   :: use CD-scheme to calculate Coriolis terms.
275  C     useJamartWetPoints :: Use wet-point method for Coriolis (Jamart and Ozer, 1986)  C     useJamartWetPoints :: Use wet-point method for Coriolis (Jamart and Ozer, 1986)
276  C     useJamartMomAdv :: Use wet-point method for V.I. non-linear term  C     useJamartMomAdv :: Use wet-point method for V.I. non-linear term
# Line 261  C     saltImplVertAdv :: Turns on implic Line 286  C     saltImplVertAdv :: Turns on implic
286  C     momImplVertAdv  :: Turns on implicit vertical advection for Momentum  C     momImplVertAdv  :: Turns on implicit vertical advection for Momentum
287  C     multiDimAdvection :: Flag that enable multi-dimension advection  C     multiDimAdvection :: Flag that enable multi-dimension advection
288  C     useMultiDimAdvec  :: True if multi-dim advection is used at least once  C     useMultiDimAdvec  :: True if multi-dim advection is used at least once
289  C     forcing_In_AB     :: if False, put forcing (Temp,Salt,Tracers) contribution  C     momDissip_In_AB   :: if False, put Dissipation tendency contribution
290  C                          out off Adams-Bashforth time stepping.  C                          out off Adams-Bashforth time stepping.
291  C     doAB_onGtGs       :: if the Adams-Bashforth time stepping is used, always  C     doAB_onGtGs       :: if the Adams-Bashforth time stepping is used, always
292  C                          apply AB on tracer tendencies (rather than on Tracer)  C                          apply AB on tracer tendencies (rather than on Tracer)
# Line 281  C     fluidIsWater     :: Set to indicat Line 306  C     fluidIsWater     :: Set to indicat
306  C                        is water  C                        is water
307  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.)
308  C                         this requires specific code for restart & exchange  C                         this requires specific code for restart & exchange
309  C     setCenterDr    :: set cell Center depth and put Interface at the middle  C     setInterFDr    :: set Interface depth (put cell-Center at the middle)
310    C     setCenterDr    :: set cell-Center depth (put Interface at the middle)
311  C     nonHydrostatic :: Using non-hydrostatic terms  C     nonHydrostatic :: Using non-hydrostatic terms
312  C     quasiHydrostatic :: Using non-hydrostatic terms in hydrostatic algorithm  C     quasiHydrostatic :: Using non-hydrostatic terms in hydrostatic algorithm
313  C     globalFiles    :: Selects between "global" and "tiled" files  C     globalFiles    :: Selects between "global" and "tiled" files
# Line 297  C     pickup_write_immed :: echo the pic Line 323  C     pickup_write_immed :: echo the pic
323  C     timeave_mdsio      :: use mdsio for timeave output  C     timeave_mdsio      :: use mdsio for timeave output
324  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output  C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output
325  C     monitor_stdio      :: use stdio for monitor output  C     monitor_stdio      :: use stdio for monitor output
 C     calendarDumps :: When set, approximate months (30-31 days) and years (360-372 days)  
 C                      for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq,  
 C                      KPP_taveFreq, and freq in pkg/diagnostics are converted to exact  
 C                      calendar months and years.  Requires pkg/cal.  
326  C     dumpInitAndLast :: dumps model state to files at Initial (nIter0)  C     dumpInitAndLast :: dumps model state to files at Initial (nIter0)
327  C                        & Last iteration, in addition multiple of dumpFreq iter.  C                        & Last iteration, in addition multiple of dumpFreq iter.
328    C     balanceEmPmR    :: substract global mean of EmPmR at every time step
329    C     balanceQnet     :: substract global mean of Qnet at every time step
330    C     balancePrintMean:: print substracted global means to STDOUT
331    
332        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
333       & usingCurvilinearGrid, usingCylindricalGrid,       & usingCurvilinearGrid, usingCylindricalGrid,
334         & deepAtmosphere, setInterFDr, setCenterDr,
335       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
336       & momViscosity, momAdvection, momForcing, useCoriolis,       & momViscosity, momAdvection, momForcing, useCoriolis,
337       & momPressureForcing, vectorInvariantMomentum,       & momPressureForcing, vectorInvariantMomentum,
338       & tempAdvection, tempForcing,       & tempAdvection, tempForcing,
339       & saltAdvection, saltForcing,       & saltAdvection, saltForcing,
340       & useRealFreshWaterFlux,       & useRealFreshWaterFlux,
341       & useFullLeith, useStrainTensionVisc,       & useFullLeith, useStrainTensionVisc,
342       & useAreaViscLength,       & useAreaViscLength,
343       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,       & rigidLid, implicitFreeSurface, exactConserv, linFSConserveTr,
344       & implicitIntGravWave, staggerTimeStep,       & uniformLin_PhiSurf,
345         & use3Dsolver, implicitIntGravWave, staggerTimeStep,
346       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
347       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,       & metricTerms, useNHMTerms,
348       & useConstantF, useBetaPlaneF, useSphereF,       & useConstantF, useBetaPlaneF, useSphereF, use3dCoriolis,
349       & useCDscheme,       & useCDscheme,
350       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,
351       & SadournyCoriolis, upwindVorticity, highOrderVorticity,       & SadournyCoriolis, upwindVorticity, highOrderVorticity,
352       & useAbsVorticity, upwindShear,       & useAbsVorticity, upwindShear,
353       & implicitDiffusion, implicitViscosity,       & implicitDiffusion, implicitViscosity,
354       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,
355       & multiDimAdvection, useMultiDimAdvec,       & multiDimAdvection, useMultiDimAdvec,
356       & forcing_In_AB, doAB_onGtGs,       & momDissip_In_AB, doAB_onGtGs,
357       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,
358       & periodicExternalForcing,       & periodicExternalForcing,
359       & fluidIsAir, fluidIsWater,       & fluidIsAir, fluidIsWater,
360       & usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr,       & usingPCoords, usingZCoords, useDynP_inEos_Zc,
361       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,
362       & allowFreezing, useOldFreezing,       & allowFreezing, useOldFreezing,
363       & usePickupBeforeC35, usePickupBeforeC54, startFromPickupAB2,       & usePickupBeforeC35, usePickupBeforeC54, startFromPickupAB2,
# Line 337  C                        & Last iteratio Line 365  C                        & Last iteratio
365       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio,
366       & outputTypesInclusive, dumpInitAndLast, debugMode,       & outputTypesInclusive, dumpInitAndLast, debugMode,
367       & inAdMode, inAdTrue, inAdFalse, inAdExact,       & inAdMode, inAdTrue, inAdFalse, inAdExact,
368       & calendarDumps       & balanceEmPmR, balanceQnet, balancePrintMean
369    
370        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
371        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
372        LOGICAL usingCylindricalGrid        LOGICAL usingCylindricalGrid
373        LOGICAL usingCurvilinearGrid        LOGICAL usingCurvilinearGrid
374        LOGICAL usingSphericalPolarMTerms        LOGICAL deepAtmosphere
375          LOGICAL setInterFDr
376          LOGICAL setCenterDr
377        LOGICAL useNHMTerms        LOGICAL useNHMTerms
378        LOGICAL no_slip_sides        LOGICAL no_slip_sides
379        LOGICAL no_slip_bottom        LOGICAL no_slip_bottom
# Line 364  C                        & Last iteratio Line 394  C                        & Last iteratio
394        LOGICAL rigidLid        LOGICAL rigidLid
395        LOGICAL implicitFreeSurface        LOGICAL implicitFreeSurface
396        LOGICAL exactConserv        LOGICAL exactConserv
397          LOGICAL linFSConserveTr
398        LOGICAL uniformLin_PhiSurf        LOGICAL uniformLin_PhiSurf
399          LOGICAL use3Dsolver
400        LOGICAL implicitIntGravWave        LOGICAL implicitIntGravWave
401        LOGICAL staggerTimeStep        LOGICAL staggerTimeStep
402        LOGICAL momStepping        LOGICAL momStepping
# Line 374  C                        & Last iteratio Line 406  C                        & Last iteratio
406        LOGICAL useConstantF        LOGICAL useConstantF
407        LOGICAL useBetaPlaneF        LOGICAL useBetaPlaneF
408        LOGICAL useSphereF        LOGICAL useSphereF
409          LOGICAL use3dCoriolis
410        LOGICAL useCDscheme        LOGICAL useCDscheme
411        LOGICAL useEnergyConservingCoriolis        LOGICAL useEnergyConservingCoriolis
412        LOGICAL useJamartWetPoints        LOGICAL useJamartWetPoints
# Line 385  C                        & Last iteratio Line 418  C                        & Last iteratio
418        LOGICAL upwindShear        LOGICAL upwindShear
419        LOGICAL implicitDiffusion        LOGICAL implicitDiffusion
420        LOGICAL implicitViscosity        LOGICAL implicitViscosity
421        LOGICAL tempImplVertAdv        LOGICAL tempImplVertAdv
422        LOGICAL saltImplVertAdv        LOGICAL saltImplVertAdv
423        LOGICAL momImplVertAdv        LOGICAL momImplVertAdv
424        LOGICAL multiDimAdvection        LOGICAL multiDimAdvection
425        LOGICAL useMultiDimAdvec        LOGICAL useMultiDimAdvec
426        LOGICAL forcing_In_AB        LOGICAL momDissip_In_AB
427        LOGICAL doAB_onGtGs        LOGICAL doAB_onGtGs
428        LOGICAL doThetaClimRelax        LOGICAL doThetaClimRelax
429        LOGICAL doSaltClimRelax        LOGICAL doSaltClimRelax
# Line 401  C                        & Last iteratio Line 434  C                        & Last iteratio
434        LOGICAL usingPCoords        LOGICAL usingPCoords
435        LOGICAL usingZCoords        LOGICAL usingZCoords
436        LOGICAL useDynP_inEos_Zc        LOGICAL useDynP_inEos_Zc
       LOGICAL setCenterDr  
437        LOGICAL nonHydrostatic        LOGICAL nonHydrostatic
438        LOGICAL quasiHydrostatic        LOGICAL quasiHydrostatic
439        LOGICAL globalFiles        LOGICAL globalFiles
# Line 418  C                        & Last iteratio Line 450  C                        & Last iteratio
450        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio        LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
451        LOGICAL outputTypesInclusive        LOGICAL outputTypesInclusive
452        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
453        LOGICAL calendarDumps  
454          LOGICAL balanceEmPmR
455          LOGICAL balanceQnet
456          LOGICAL balancePrintMean
457    
458  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
459  C     cg2dTargetResidual  C     cg2dTargetResidual
# Line 449  C     gravity   :: Accel. due to gravity Line 484  C     gravity   :: Accel. due to gravity
484  C     recip_gravity and its inverse  C     recip_gravity and its inverse
485  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 )
486  C     rhoNil    :: Reference density for the linear equation of state  C     rhoNil    :: Reference density for the linear equation of state
487  C     rhoConst  :: Vertically constant reference density  C     rhoConst  :: Vertically constant reference density
488    C     rhoFacC   :: normalized (by rhoConst) reference density at cell-Center
489    C     rhoFacF   :: normalized (by rhoConst) reference density at cell-interFace
490  C     rhoConstFresh :: Constant reference density for fresh water (rain)  C     rhoConstFresh :: Constant reference density for fresh water (rain)
491  C     tRef      :: reference vertical profile for potential temperature  C     tRef      :: reference vertical profile for potential temperature
492  C     sRef      :: reference vertical profile for salinity/specific humidity  C     sRef      :: reference vertical profile for salinity/specific humidity
493  C     phiRef    :: reference potential (pressure/rho, geopotential) profile  C     phiRef    :: reference potential (pressure/rho, geopotential) profile
494  C     dBdrRef   :: vertical gradient of reference boyancy  [(m/s/r)^2)]:  C     dBdrRef   :: vertical gradient of reference boyancy  [(m/s/r)^2)]:
495  C               :: z-coord: = N^2_ref = Brunt-Vaissala frequency [s^-2]  C               :: z-coord: = N^2_ref = Brunt-Vaissala frequency [s^-2]
496  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 462  C     thetaMin  :: Longitude of western Line 499  C     thetaMin  :: Longitude of western
499  C                 is an "inert" parameter but it is included  C                 is an "inert" parameter but it is included
500  C                 to make geographical references simple.)  C                 to make geographical references simple.)
501  C     rSphere   :: Radius of sphere for a spherical polar grid ( m ).  C     rSphere   :: Radius of sphere for a spherical polar grid ( m ).
502  C     recip_RSphere  :: Reciprocal radius of sphere ( m ).  C     recip_rSphere  :: Reciprocal radius of sphere ( m ).
503  C     f0        :: Reference coriolis parameter ( 1/s )  C     f0        :: Reference coriolis parameter ( 1/s )
504  C                 ( Southern edge f for beta plane )  C                 ( Southern edge f for beta plane )
505  C     beta      :: df/dy ( s^-1.m^-1 )  C     beta      :: df/dy ( s^-1.m^-1 )
# Line 473  C                 momentum laterally ( m Line 510  C                 momentum laterally ( m
510  C     viscAhW   :: Eddy viscosity coeff. for mixing of vertical  C     viscAhW   :: Eddy viscosity coeff. for mixing of vertical
511  C                 momentum laterally, no effect for hydrostatic  C                 momentum laterally, no effect for hydrostatic
512  C                 model, defaults to viscAh if unset ( m^2/s )  C                 model, defaults to viscAh if unset ( m^2/s )
513    C                 Not used if variable horiz. viscosity is used.
514  C     viscAr    :: Eddy viscosity coeff. for mixing of  C     viscAr    :: Eddy viscosity coeff. for mixing of
515  C                 momentum vertically ( units of r^2/s )  C                 momentum vertically ( units of r^2/s )
516  C     viscA4    :: Biharmonic viscosity coeff. for mixing of  C     viscA4    :: Biharmonic viscosity coeff. for mixing of
# Line 480  C                 momentum laterally ( m Line 518  C                 momentum laterally ( m
518  C     viscA4W   :: Biharmonic viscosity coeff. for mixing of vertical  C     viscA4W   :: Biharmonic viscosity coeff. for mixing of vertical
519  C                 momentum laterally, no effect for hydrostatic  C                 momentum laterally, no effect for hydrostatic
520  C                 model, defaults to viscA4 if unset ( m^2/s )  C                 model, defaults to viscA4 if unset ( m^2/s )
521    C                 Not used if variable horiz. viscosity is used.
522  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally
523  C                  (act on Divergence part) ( m^2/s )  C                  (act on Divergence part) ( m^2/s )
524  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally
# Line 597  C     Ro_SeaLevel        :: standard pos Line 636  C     Ro_SeaLevel        :: standard pos
636  C                          starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)  C                          starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)
637  C     sideDragFactor     :: side-drag scaling factor (used only if no_slip_sides)  C     sideDragFactor     :: side-drag scaling factor (used only if no_slip_sides)
638  C                           (default=2: full drag ; =1: gives half-slip BC)  C                           (default=2: full drag ; =1: gives half-slip BC)
639  C     bottomDragLinear   :: Drag coefficient built in to core dynamics  C     bottomDragLinear    :: Linear    bottom-drag coefficient (units of [r]/s)
640  C     bottomDragQuadratic   ( linear: 1/s, quadratic: 1/m )  C     bottomDragQuadratic :: Quadratic bottom-drag coefficient (units of [r]/m)
641    C               (if using zcoordinate, units becomes linear: m/s, quadratic: [-])
642    C     smoothAbsFuncRange :: 1/2 of interval around zero, for which FORTRAN ABS
643    C                           is to be replace by a smoother function
644    C                           (affects myabs, mymin, mymax)
645  C     nh_Am2        :: scales the non-hydrostatic terms and changes internal scales  C     nh_Am2        :: scales the non-hydrostatic terms and changes internal scales
646  C                      (i.e. allows convection at different Rayleigh numbers)  C                      (i.e. allows convection at different Rayleigh numbers)
647        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
648       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
649       & delR, delRc, delX, delY,       & delR, delRc, delX, delY,
650       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
# Line 612  C                      (i.e. allows conv Line 655  C                      (i.e. allows conv
655       & viscC2leith, viscC2leithD,       & viscC2leith, viscC2leithD,
656       & viscC2smag, viscC4smag,       & viscC2smag, viscC4smag,
657       & viscAhD, viscAhZ, viscA4D, viscA4Z,       & viscAhD, viscAhZ, viscA4D, viscA4Z,
658       & viscA4, viscA4W,       & viscA4, viscA4W,
659       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,       & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,
660       & viscAhRemax, viscA4Remax,       & viscAhRemax, viscA4Remax,
661       & viscC4leith, viscC4leithD, viscAr,       & viscC4leith, viscC4leithD, viscAr,
# Line 621  C                      (i.e. allows conv Line 664  C                      (i.e. allows conv
664       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
665       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,
666       & hFacMin, hFacMinDz, hFacInf, hFacSup,       & hFacMin, hFacMinDz, hFacInf, hFacSup,
667       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,       & gravity, recip_Gravity, gBaro,
668       & recip_rhoConst, rhoConst,       & rhonil, recip_rhonil, rhoConst, recip_rhoConst,
669         & rhoFacC, recip_rhoFacC, rhoFacF, recip_rhoFacF,
670       & rhoConstFresh, convertEmP2rUnit, tRef, sRef, phiRef, dBdrRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef, phiRef, dBdrRef,
671       & baseTime, startTime, endTime,       & baseTime, startTime, endTime,
672       & chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,       & chkPtFreq, pChkPtFreq, dumpFreq, adjDumpFreq,
673       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
674       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
675       & cosPower, cAdjFreq, omega, rotationPeriod,       & cosPower, cAdjFreq, omega, rotationPeriod,
676       & tauThetaClimRelax, tauThetaClimRelax3Dim,       & tauThetaClimRelax, tauSaltClimRelax,
      & tauSaltClimRelax, tauSaltClimRelax3Dim,  
677       & tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax,       & tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax,
678       & externForcingCycle, externForcingPeriod,       & externForcingCycle, externForcingPeriod,
679       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn,       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn,
# Line 638  C                      (i.e. allows conv Line 681  C                      (i.e. allows conv
681       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
682       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
683       & sideDragFactor, bottomDragLinear, bottomDragQuadratic, nh_Am2,       & sideDragFactor, bottomDragLinear, bottomDragQuadratic, nh_Am2,
684         & smoothAbsFuncRange,
685       & tCylIn, tCylOut       & tCylIn, tCylOut
686    
687        _RL cg2dTargetResidual        _RL cg2dTargetResidual
# Line 657  C                      (i.e. allows conv Line 701  C                      (i.e. allows conv
701        _RL phiMin        _RL phiMin
702        _RL thetaMin        _RL thetaMin
703        _RL rSphere        _RL rSphere
704        _RL recip_RSphere        _RL recip_rSphere
705        _RL f0        _RL f0
706        _RL freeSurfFac        _RL freeSurfFac
707        _RL implicSurfPress        _RL implicSurfPress
# Line 683  C                      (i.e. allows conv Line 727  C                      (i.e. allows conv
727        _RL viscC2smag        _RL viscC2smag
728        _RL viscC4smag        _RL viscC4smag
729        _RL viscAr        _RL viscAr
730        _RL viscA4        _RL viscA4
731        _RL viscA4W        _RL viscA4W
732        _RL viscA4D        _RL viscA4D
733        _RL viscA4Z        _RL viscA4Z
# Line 692  C                      (i.e. allows conv Line 736  C                      (i.e. allows conv
736        _RL viscA4Grid, viscA4GridMax, viscA4GridMin        _RL viscA4Grid, viscA4GridMax, viscA4GridMin
737        _RL viscC4leith        _RL viscC4leith
738        _RL viscC4leithD        _RL viscC4leithD
739        _RL diffKhT        _RL diffKhT
740        _RL diffKrNrT(Nr)        _RL diffKrNrT(Nr)
741        _RL diffK4T        _RL diffK4T
742        _RL diffKhS        _RL diffKhS
743        _RL diffKrNrS(Nr)        _RL diffKrNrS(Nr)
744        _RL diffK4S        _RL diffK4S
745        _RL diffKrBL79surf        _RL diffKrBL79surf
746        _RL diffKrBL79deep        _RL diffKrBL79deep
747        _RL diffKrBL79scl        _RL diffKrBL79scl
# Line 708  C                      (i.e. allows conv Line 752  C                      (i.e. allows conv
752        _RL gravity        _RL gravity
753        _RL recip_gravity        _RL recip_gravity
754        _RL gBaro        _RL gBaro
755        _RL rhonil        _RL rhonil,        recip_rhonil
756        _RL recip_rhonil        _RL rhoConst,      recip_rhoConst
757        _RL rhoConst        _RL rhoFacC(Nr),   recip_rhoFacC(Nr)
758        _RL recip_rhoConst        _RL rhoFacF(Nr+1), recip_rhoFacF(Nr+1)
759        _RL rhoConstFresh        _RL rhoConstFresh
760        _RL convertEmP2rUnit        _RL convertEmP2rUnit
761        _RL tRef(Nr)        _RL tRef(Nr)
# Line 735  C                      (i.e. allows conv Line 779  C                      (i.e. allows conv
779        _RL pfFacMom        _RL pfFacMom
780        _RL cfFacMom        _RL cfFacMom
781        _RL foFacMom        _RL foFacMom
782        _RL mTFacMom        _RL mtFacMom
783        _RL cosPower        _RL cosPower
784        _RL cAdjFreq        _RL cAdjFreq
785        _RL omega        _RL omega
786        _RL rotationPeriod        _RL rotationPeriod
787        _RL tauThetaClimRelax        _RL tauThetaClimRelax
788        _RL tauSaltClimRelax        _RL tauSaltClimRelax
       _RL tauThetaClimRelax3Dim  
       _RL tauSaltClimRelax3Dim  
789        _RL tauTr1ClimRelax        _RL tauTr1ClimRelax
790        _RL lambdaTr1ClimRelax        _RL lambdaTr1ClimRelax
791        _RL latBandClimRelax        _RL latBandClimRelax
# Line 759  C                      (i.e. allows conv Line 801  C                      (i.e. allows conv
801        _RL sideDragFactor        _RL sideDragFactor
802        _RL bottomDragLinear        _RL bottomDragLinear
803        _RL bottomDragQuadratic        _RL bottomDragQuadratic
804          _RL smoothAbsFuncRange
805        _RL nh_Am2        _RL nh_Am2
806        _RL tCylIn        _RL tCylIn
807        _RL tCylOut        _RL tCylOut
# Line 780  C     integr_GeoPot :: option to select Line 823  C     integr_GeoPot :: option to select
823  C                     (still a subject of discussions ...)  C                     (still a subject of discussions ...)
824  C     selectFindRoSurf :: select the way surf. ref. pressure (=Ro_surf) is  C     selectFindRoSurf :: select the way surf. ref. pressure (=Ro_surf) is
825  C             derived from the orography. Implemented: 0,1 (see INI_P_GROUND)  C             derived from the orography. Implemented: 0,1 (see INI_P_GROUND)
826        COMMON /PARM_ATM/        COMMON /PARM_ATM/
827       &            celsius2K,       &            celsius2K,
828       &            atm_Cp, atm_Rd, atm_kappa, atm_Rq, atm_Po,       &            atm_Cp, atm_Rd, atm_kappa, atm_Rq, atm_Po,
829       &            integr_GeoPot, selectFindRoSurf       &            integr_GeoPot, selectFindRoSurf
# Line 798  C Logical flags for selecting packages Line 841  C Logical flags for selecting packages
841        LOGICAL useOBCS        LOGICAL useOBCS
842        LOGICAL useAIM        LOGICAL useAIM
843        LOGICAL useLand        LOGICAL useLand
844          LOGICAL useCAL
845          LOGICAL useEXF
846          LOGICAL useEBM
847        LOGICAL useGrdchk        LOGICAL useGrdchk
848        LOGICAL useECCO        LOGICAL useECCO
849        LOGICAL useSHAP_FILT        LOGICAL useSHAP_FILT
# Line 806  C Logical flags for selecting packages Line 852  C Logical flags for selecting packages
852        LOGICAL usePTRACERS        LOGICAL usePTRACERS
853        LOGICAL useGCHEM        LOGICAL useGCHEM
854        LOGICAL useRBCS        LOGICAL useRBCS
855          LOGICAL useOffLine
856          LOGICAL useMATRIX
857        LOGICAL useSBO        LOGICAL useSBO
858        LOGICAL useSEAICE        LOGICAL useSEAICE
859        LOGICAL useBulkForce        LOGICAL useShelfIce
860        LOGICAL useThSIce        LOGICAL useThSIce
861          LOGICAL useATM2d
862          LOGICAL useBulkForce
863        LOGICAL usefizhi        LOGICAL usefizhi
864        LOGICAL usegridalt        LOGICAL usegridalt
865        LOGICAL usediagnostics        LOGICAL useDiagnostics
       LOGICAL useEBM  
866        LOGICAL useMNC        LOGICAL useMNC
867        LOGICAL useMATRIX        LOGICAL useREGRID
868        LOGICAL useRunClock        LOGICAL useRunClock
869        LOGICAL useEMBED_FILES        LOGICAL useEMBED_FILES
870          LOGICAL useMYPACKAGE
871        COMMON /PARM_PACKAGES/        COMMON /PARM_PACKAGES/
872       &        useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO,       &        useOPPS, usePP81, useMY82, useGGL90, useKPP,
873       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,       &        useGMRedi, useOBCS, useAIM, useLand,
874       &        usePTRACERS, useGCHEM, useRBCS,       &        useCAL, useEXF, useEBM, useGrdchk, useECCO,
875       &        useSBO, useSEAICE, useThSIce, useBulkForce,       &        useSHAP_FILT, useZONAL_FILT, useFLT,
876       &        usefizhi, usegridalt, usediagnostics, useEBM, useMNC,       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,
877       &        usePP81, useMY82, useOPPS, useGGL90, useMATRIX,       &        useSBO, useSEAICE, useShelfIce,
878       &        useRunClock, useEMBED_FILES       &        useThSIce, useATM2D, useBulkForce,
879         &        usefizhi, usegridalt, useDiagnostics, useMNC, useREGRID,
880         &        useRunClock, useEMBED_FILES, useMYPACKAGE
881    
882  CEH3 ;;; Local Variables: ***  CEH3 ;;; Local Variables: ***
883  CEH3 ;;; mode:fortran ***  CEH3 ;;; mode:fortran ***

Legend:
Removed from v.1.175  
changed lines
  Added in v.1.194

  ViewVC Help
Powered by ViewVC 1.1.22