/[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.113 by adcroft, Mon Jun 14 17:48:13 2004 UTC revision 1.148 by baylor, Thu Mar 10 17:58:21 2005 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2  C $Name$  C $Name$
3  C  C
4    
5  CBOP  CBOP
6  C    !ROUTINE: PARAMS.h  C     !ROUTINE: PARAMS.h
7  C    !INTERFACE:  C     !INTERFACE:
8  C    include PARAMS.h  C     #include PARAMS.h
9  C    !DESCRIPTION: \bv  
10  C     *==========================================================*  C     !DESCRIPTION:
11  C     | PARAMS.h                                                    C     Header file defining model "parameters".  The values from the
12  C     | o Header file defining model "parameters".                  C     model standard input file are stored into the variables held
13  C     *==========================================================*  C     here. Notes describing the parameters can also be found here.
14  C     | The values from the model standard input file are          
 C     | stored into the variables held here. Notes describing      
 C     | the parameters can also be found here.                      
 C     *==========================================================*  
 C     \ev  
15  CEOP  CEOP
16    
17  C     Macros for special grid options  C     Macros for special grid options
# Line 65  C     thetaClimFile   :: File containing Line 62  C     thetaClimFile   :: File containing
62  C                       in relaxation term -lambda(theta-theta*)  C                       in relaxation term -lambda(theta-theta*)
63  C     saltClimFile    :: File containing salt climataology used  C     saltClimFile    :: File containing salt climataology used
64  C                       in relaxation term -lambda(salt-salt*)  C                       in relaxation term -lambda(salt-salt*)
65  C     surfQfile       :: File containing surface heat flux  C     surfQfile       :: File containing surface heat flux, excluding SW
66  C     surfQswfile     :: File containing surface shortwave radiation  C                        (old version, kept for backward compatibility)
67    C     surfQnetFile    :: File containing surface net heat flux
68    C     surfQswFile     :: File containing surface shortwave radiation
69  C     dQdTfile        :: File containing thermal relaxation coefficient  C     dQdTfile        :: File containing thermal relaxation coefficient
70  C     EmPmRfile       :: File containing surface fresh water flux  C     EmPmRfile       :: File containing surface fresh water flux
71    C     saltFluxFile    :: File containing surface salt flux
72  C     pLoadFile       :: File containing pressure loading  C     pLoadFile       :: File containing pressure loading
73    C     eddyTauxFile    :: File containing zonal Eddy stress data
74    C     eddyTauyFile    :: File containing meridional Eddy stress data
75  C     buoyancyRelation :: Flag used to indicate which relation to use to  C     buoyancyRelation :: Flag used to indicate which relation to use to
76  C                        get buoyancy.  C                        get buoyancy.
77  C     eosType         :: choose the equation of state:  C     eosType         :: choose the equation of state:
78  C                        LINEAR, POLY3, UNESCO, JMD95Z, JMD95P, MDJWF, IDEALGAS  C                        LINEAR, POLY3, UNESCO, JMD95Z, JMD95P, MDJWF, IDEALGAS
79    C     the_run_name    :: string identifying the name of the model "run"
80        COMMON /PARM_C/ checkPtSuff,        COMMON /PARM_C/ checkPtSuff,
81       &                bathyFile, topoFile,       &                bathyFile, topoFile,
82       &                hydrogThetaFile, hydrogSaltFile,       &                hydrogThetaFile, hydrogSaltFile,
83       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
84       &                saltClimFile, buoyancyRelation,       &                saltClimFile, buoyancyRelation,
85       &                EmPmRfile, surfQfile, surfQswfile,       &                EmPmRfile, saltFluxFile,
86         &                surfQfile, surfQnetFile, surfQswFile,
87       &                uVelInitFile, vVelInitFile, pSurfInitFile,       &                uVelInitFile, vVelInitFile, pSurfInitFile,
88       &                dQdTfile, ploadFile,       &                dQdTfile, ploadFile,
89         &                eddyTauxFile, eddyTauyFile,
90       &                eosType, pickupSuff,       &                eosType, pickupSuff,
91       &                mdsioLocalDir       &                mdsioLocalDir,
92         &                the_run_name
93        CHARACTER*(5) checkPtSuff(maxNoChkptLev)        CHARACTER*(5) checkPtSuff(maxNoChkptLev)
94        CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile        CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile
95        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile
# Line 93  C                        LINEAR, POLY3, Line 99  C                        LINEAR, POLY3,
99        CHARACTER*(MAX_LEN_FNAM) thetaClimFile        CHARACTER*(MAX_LEN_FNAM) thetaClimFile
100        CHARACTER*(MAX_LEN_FNAM) saltClimFile        CHARACTER*(MAX_LEN_FNAM) saltClimFile
101        CHARACTER*(MAX_LEN_FNAM) surfQfile        CHARACTER*(MAX_LEN_FNAM) surfQfile
102        CHARACTER*(MAX_LEN_FNAM) surfQswfile        CHARACTER*(MAX_LEN_FNAM) surfQnetFile
103          CHARACTER*(MAX_LEN_FNAM) surfQswFile
104        CHARACTER*(MAX_LEN_FNAM) EmPmRfile        CHARACTER*(MAX_LEN_FNAM) EmPmRfile
105          CHARACTER*(MAX_LEN_FNAM) saltFluxFile
106        CHARACTER*(MAX_LEN_FNAM) buoyancyRelation        CHARACTER*(MAX_LEN_FNAM) buoyancyRelation
107        CHARACTER*(MAX_LEN_FNAM) uVelInitFile        CHARACTER*(MAX_LEN_FNAM) uVelInitFile
108        CHARACTER*(MAX_LEN_FNAM) vVelInitFile        CHARACTER*(MAX_LEN_FNAM) vVelInitFile
109        CHARACTER*(MAX_LEN_FNAM) pSurfInitFile        CHARACTER*(MAX_LEN_FNAM) pSurfInitFile
110        CHARACTER*(MAX_LEN_FNAM) dQdTfile        CHARACTER*(MAX_LEN_FNAM) dQdTfile
111        CHARACTER*(MAX_LEN_FNAM) ploadFile        CHARACTER*(MAX_LEN_FNAM) ploadFile
112          CHARACTER*(MAX_LEN_FNAM) eddyTauxFile
113          CHARACTER*(MAX_LEN_FNAM) eddyTauyFile
114        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir
115          CHARACTER*(MAX_LEN_FNAM) the_run_name
116        CHARACTER*(6) eosType        CHARACTER*(6) eosType
117        CHARACTER*(10) pickupSuff        CHARACTER*(10) pickupSuff
118    
# Line 110  C     cg2dMaxIters        :: Maximum num Line 121  C     cg2dMaxIters        :: Maximum num
121  C                           two-dimensional con. grad solver.  C                           two-dimensional con. grad solver.
122  C     cg2dChkResFreq      :: Frequency with which to check residual  C     cg2dChkResFreq      :: Frequency with which to check residual
123  C                           in con. grad solver.  C                           in con. grad solver.
124    C     cg2dPreCondFreq     :: Frequency for updating cg2d preconditioner
125    C                            (non-linear free-surf.)
126  C     cg3dMaxIters        :: Maximum number of iterations in the  C     cg3dMaxIters        :: Maximum number of iterations in the
127  C                           three-dimensional con. grad solver.  C                           three-dimensional con. grad solver.
128  C     cg3dChkResFreq      :: Frequency with which to check residual  C     cg3dChkResFreq      :: Frequency with which to check residual
# Line 126  C     nonlinFreeSurf      :: option rela Line 139  C     nonlinFreeSurf      :: option rela
139  C                           =0 Linear free surface ; >0 Non-linear  C                           =0 Linear free surface ; >0 Non-linear
140  C     select_rStar        :: option related to r* vertical coordinate  C     select_rStar        :: option related to r* vertical coordinate
141  C                           =0 (default) use r coord. ; > 0 use r*  C                           =0 (default) use r coord. ; > 0 use r*
142    C     tempAdvScheme       :: Temp. Horiz.Advection scheme selector
143    C     tempVertAdvScheme   :: Temp. Vert. Advection scheme selector
144    C     saltAdvScheme       :: Salt. Horiz.advection scheme selector
145    C     saltVertAdvScheme   :: Salt. Vert. Advection scheme selector
146    C     debugLevel          :: debug level selector: higher -> more writing
147    
148        COMMON /PARM_I/        COMMON /PARM_I/
149       &        cg2dMaxIters,       &        cg2dMaxIters,
150       &        cg2dChkResFreq,       &        cg2dChkResFreq, cg2dPreCondFreq,
151       &        cg3dMaxIters,       &        cg3dMaxIters,
152       &        cg3dChkResFreq,       &        cg3dChkResFreq,
153       &        nIter0, nTimeSteps, nEndIter,       &        nIter0, nTimeSteps, nEndIter,
# Line 137  C                           =0 (default) Line 155  C                           =0 (default)
155       &        writeStatePrec, nCheckLev,       &        writeStatePrec, nCheckLev,
156       &        writeBinaryPrec, readBinaryPrec,       &        writeBinaryPrec, readBinaryPrec,
157       &        nonlinFreeSurf, select_rStar,       &        nonlinFreeSurf, select_rStar,
158       &        tempAdvScheme, saltAdvScheme, tracerAdvScheme,       &        tempAdvScheme, tempVertAdvScheme,
159         &        saltAdvScheme, saltVertAdvScheme,
160       &        debugLevel       &        debugLevel
161        INTEGER cg2dMaxIters        INTEGER cg2dMaxIters
162        INTEGER cg2dChkResFreq        INTEGER cg2dChkResFreq
163          INTEGER cg2dPreCondFreq
164        INTEGER cg3dMaxIters        INTEGER cg3dMaxIters
165        INTEGER cg3dChkResFreq        INTEGER cg3dChkResFreq
166        INTEGER nIter0        INTEGER nIter0
# Line 153  C                           =0 (default) Line 173  C                           =0 (default)
173        INTEGER nCheckLev        INTEGER nCheckLev
174        INTEGER nonlinFreeSurf        INTEGER nonlinFreeSurf
175        INTEGER select_rStar        INTEGER select_rStar
176        INTEGER tempAdvScheme        INTEGER tempAdvScheme, tempVertAdvScheme
177        INTEGER saltAdvScheme        INTEGER saltAdvScheme, saltVertAdvScheme
       INTEGER tracerAdvScheme  
178        INTEGER debugLevel        INTEGER debugLevel
179    
180  C  C
# Line 171  C     usingCartesianGrid :: If TRUE grid Line 190  C     usingCartesianGrid :: If TRUE grid
190  C                          coordinate frame.  C                          coordinate frame.
191  C     usingSphericalPolarGrid :: If TRUE grid generation will be in a  C     usingSphericalPolarGrid :: If TRUE grid generation will be in a
192  C                               spherical polar frame.  C                               spherical polar frame.
193    C     usingCylindricalGrid :: If TRUE grid generation will be Cylindrical
194  C     no_slip_sides :: Impose "no-slip" at lateral boundaries.  C     no_slip_sides :: Impose "no-slip" at lateral boundaries.
195  C     no_slip_bottom :: Impose "no-slip" at bottom boundary.  C     no_slip_bottom :: Impose "no-slip" at bottom boundary.
196  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
# Line 184  C     metricTerms   :: Flag which turns Line 204  C     metricTerms   :: Flag which turns
204  C     usingSphericalPolarMTerms :: If TRUE use spherical polar metric terms.  C     usingSphericalPolarMTerms :: If TRUE use spherical polar metric terms.
205  C     useNHMTerms :: If TRUE use non-hydrostatic metric terms.  C     useNHMTerms :: If TRUE use non-hydrostatic metric terms.
206  C     useCoriolis   :: Flag which turns the coriolis terms on and off.  C     useCoriolis   :: Flag which turns the coriolis terms on and off.
 C     tempDiffusion :: Flag which turns diffusion of temperature on  
 C                     and off.  
207  C     tempAdvection :: Flag which turns advection of temperature on  C     tempAdvection :: Flag which turns advection of temperature on
208  C                     and off.  C                     and off.
209  C     tempForcing   :: Flag which turns external forcing of temperature on  C     tempForcing   :: Flag which turns external forcing of temperature on
210  C                     and off.  C                     and off.
 C     saltDiffusion :: Flag which turns diffusion of salinity on  
 C                     and off.  
211  C     saltAdvection :: Flag which turns advection of salinity on  C     saltAdvection :: Flag which turns advection of salinity on
212  C                     and off.  C                     and off.
213  C     saltForcing   :: Flag which turns external forcing of salinity on  C     saltForcing   :: Flag which turns external forcing of salinity on
# Line 199  C                     and off. Line 215  C                     and off.
215  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux
216  C                         as a real Fresh Water (=> changes the Sea Level)  C                         as a real Fresh Water (=> changes the Sea Level)
217  C                         if F, converts P+R-E to salt flux (no SL effect)  C                         if F, converts P+R-E to salt flux (no SL effect)
218    C     useFullLeith   :: Set to true to use full Leith viscosity (may be unstable
219    C                       on irregular grids)
220  C     rigidLid            :: Set to true to use rigid lid  C     rigidLid            :: Set to true to use rigid lid
221  C     implicitFreeSurface :: Set to true to use implcit free surface  C     implicitFreeSurface :: Set to true to use implcit free surface
222  C     exactConserv        :: Set to true to conserve exactly the total Volume  C     exactConserv        :: Set to true to conserve exactly the total Volume
# Line 207  C                           linear relat Line 225  C                           linear relat
225  C     momStepping   :: Turns momentum equation time-stepping off  C     momStepping   :: Turns momentum equation time-stepping off
226  C     tempStepping  :: Turns temperature equation time-stepping off  C     tempStepping  :: Turns temperature equation time-stepping off
227  C     saltStepping  :: Turns salinity equation time-stepping off  C     saltStepping  :: Turns salinity equation time-stepping off
 C     tr1Stepping   :: Turns passive tracer 1 time-stepping on/off  
228  C     useConstantF  :: Coriolis parameter set to f0  C     useConstantF  :: Coriolis parameter set to f0
229  C     useBetaPlaneF :: Coriolis parameter set to f0 + beta.y  C     useBetaPlaneF :: Coriolis parameter set to f0 + beta.y
230  C     useSphereF    :: Coriolis parameter set to 2.omega.sin(phi)  C     useSphereF    :: Coriolis parameter set to 2.omega.sin(phi)
# Line 224  C     tempImplVertAdv :: Turns on implic Line 241  C     tempImplVertAdv :: Turns on implic
241  C     saltImplVertAdv :: Turns on implicit vertical advection for Salinity  C     saltImplVertAdv :: Turns on implicit vertical advection for Salinity
242  C     momImplVertAdv  :: Turns on implicit vertical advection for Momentum  C     momImplVertAdv  :: Turns on implicit vertical advection for Momentum
243  C     multiDimAdvection :: Flag that enable multi-dimension advection  C     multiDimAdvection :: Flag that enable multi-dimension advection
244    C     useMultiDimAdvec  :: True if multi-dim advection is used at least once
245  C     forcing_In_AB :: if False, put forcing (Temp,Salt,Tracers) contribution  C     forcing_In_AB :: if False, put forcing (Temp,Salt,Tracers) contribution
246  C                      out off Adams-Bashforth time stepping.  C                      out off Adams-Bashforth time stepping.
247  C     doThetaClimRelax :: Set true if relaxation to temperature  C     doThetaClimRelax :: Set true if relaxation to temperature
# Line 231  C                        climatology is Line 249  C                        climatology is
249  C     doSaltClimRelax  :: Set true if relaxation to salinity  C     doSaltClimRelax  :: Set true if relaxation to salinity
250  C                        climatology is required.  C                        climatology is required.
251  C     periodicExternalForcing :: Set true if forcing is time-dependant  C     periodicExternalForcing :: Set true if forcing is time-dependant
252  C     usingPCoords     :: Set to indicate that we are working in pressure  C     usingPCoords     :: Set to indicate that we are working in a pressure
253  C                        coords. (jmc: is it still used ?)  C                        type coordinate (p or p*).
254  C     usingZCoords     :: Set to indicate that we are working in height  C     usingZCoords     :: Set to indicate that we are working in a height
255  C                        coords. (jmc: is it still used ?)  C                        type coordinate (z or z*)
256    C     fluidIsAir       :: Set to indicate that the fluid major constituent
257    C                        is air
258    C     fluidIsWater     :: Set to indicate that the fluid major constituent
259    C                        is water
260  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.)
261  C                         this requires specific code for restart & exchange  C                         this requires specific code for restart & exchange
262  C     setCenterDr    :: set cell Center depth and put Interface at the middle  C     setCenterDr    :: set cell Center depth and put Interface at the middle
# Line 248  C                       outputs from mas Line 270  C                       outputs from mas
270  C     allowFreezing  :: Allows surface water to freeze and form ice  C     allowFreezing  :: Allows surface water to freeze and form ice
271  C     useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12)  C     useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12)
272  C     groundAtK1  :: put the surface(k=1) at the Lower Boundary (=ground)  C     groundAtK1  :: put the surface(k=1) at the Lower Boundary (=ground)
273    C     pickup_write_mdsio :: use mdsio to write pickups
274    C     pickup_read_mdsio  :: use mdsio to read  pickups
275    C     pickup_write_immed :: echo the pickup immediately (for conversion)
276    C     timeave_mdsio      :: use mdsio for timeave output
277    C     snapshot_mdsio     :: use mdsio for "snapshot" (dumpfreq/diagfreq) output
278    C     monitor_stdio      :: use stdio for monitor output
279    C     calendarDumps :: When set, approximate months (30-31 days) and years (360-372 days)
280    C                      for parameters chkPtFreq, pChkPtFreq, taveFreq, SEAICE_taveFreq,
281    C                      KPP_taveFreq, and freq in pkg/diagnostics are converted to exact
282    C                      calendar months and years.  Requires pkg/cal.
283        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
284       & usingCurvilinearGrid,       & usingCurvilinearGrid, usingCylindricalGrid,
285       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
286       & staggerTimeStep,       & staggerTimeStep,
287       & momViscosity, momAdvection, momForcing, useCoriolis,       & momViscosity, momAdvection, momForcing, useCoriolis,
288       & momPressureForcing, vectorInvariantMomentum,       & momPressureForcing, vectorInvariantMomentum,
289       & tempDiffusion, tempAdvection, tempForcing,       & tempAdvection, tempForcing,
290       & saltDiffusion, saltAdvection, saltForcing,       & saltAdvection, saltForcing,
291       & useRealFreshWaterFlux,       & useRealFreshWaterFlux,
292         & useFullLeith,
293       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,
294       & momStepping, tempStepping, saltStepping, tr1Stepping,       & momStepping, tempStepping, saltStepping,
295       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,
296       & useConstantF, useBetaPlaneF, useSphereF,       & useConstantF, useBetaPlaneF, useSphereF,
297       & useCDscheme,       & useCDscheme,
# Line 267  C     groundAtK1  :: put the surface(k=1 Line 300  C     groundAtK1  :: put the surface(k=1
300       & useAbsVorticity,       & useAbsVorticity,
301       & implicitDiffusion, implicitViscosity,       & implicitDiffusion, implicitViscosity,
302       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,
303       & multiDimAdvection, forcing_In_AB,       & multiDimAdvection, useMultiDimAdvec, forcing_In_AB,
304       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,
305       & periodicExternalForcing,       & periodicExternalForcing,
306         & fluidIsAir, fluidIsWater,
307       & usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr,       & usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr,
308       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,
309       & allowFreezing, useOldFreezing, groundAtK1,       & allowFreezing, useOldFreezing, groundAtK1,
310       & usePickupBeforeC35, debugMode,       & usePickupBeforeC35, usePickupBeforeC54, debugMode,
311       & readPickupWithTracer, writePickupWithTracer       & readPickupWithTracer, writePickupWithTracer,
312         & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,
313         & timeave_mdsio, snapshot_mdsio, monitor_stdio,
314         & outputTypesInclusive,
315         & inAdMode, inAdTrue, inAdFalse, inAdExact,
316         & calendarDumps
317    
318        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
319        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
320          LOGICAL usingCylindricalGrid
321        LOGICAL usingCurvilinearGrid        LOGICAL usingCurvilinearGrid
322        LOGICAL usingSphericalPolarMTerms        LOGICAL usingSphericalPolarMTerms
323        LOGICAL useNHMTerms        LOGICAL useNHMTerms
# Line 289  C     groundAtK1  :: put the surface(k=1 Line 330  C     groundAtK1  :: put the surface(k=1
330        LOGICAL momPressureForcing        LOGICAL momPressureForcing
331        LOGICAL useCoriolis        LOGICAL useCoriolis
332        LOGICAL vectorInvariantMomentum        LOGICAL vectorInvariantMomentum
       LOGICAL tempDiffusion  
333        LOGICAL tempAdvection        LOGICAL tempAdvection
334        LOGICAL tempForcing        LOGICAL tempForcing
       LOGICAL saltDiffusion  
335        LOGICAL saltAdvection        LOGICAL saltAdvection
336        LOGICAL saltForcing        LOGICAL saltForcing
337        LOGICAL useRealFreshWaterFlux        LOGICAL useRealFreshWaterFlux
338          LOGICAL useFullLeith
339        LOGICAL rigidLid        LOGICAL rigidLid
340        LOGICAL implicitFreeSurface        LOGICAL implicitFreeSurface
341        LOGICAL exactConserv        LOGICAL exactConserv
# Line 303  C     groundAtK1  :: put the surface(k=1 Line 343  C     groundAtK1  :: put the surface(k=1
343        LOGICAL momStepping        LOGICAL momStepping
344        LOGICAL tempStepping        LOGICAL tempStepping
345        LOGICAL saltStepping        LOGICAL saltStepping
       LOGICAL tr1Stepping  
346        LOGICAL metricTerms        LOGICAL metricTerms
347        LOGICAL useConstantF        LOGICAL useConstantF
348        LOGICAL useBetaPlaneF        LOGICAL useBetaPlaneF
# Line 322  C     groundAtK1  :: put the surface(k=1 Line 361  C     groundAtK1  :: put the surface(k=1
361        LOGICAL saltImplVertAdv        LOGICAL saltImplVertAdv
362        LOGICAL momImplVertAdv        LOGICAL momImplVertAdv
363        LOGICAL multiDimAdvection        LOGICAL multiDimAdvection
364          LOGICAL useMultiDimAdvec
365        LOGICAL forcing_In_AB        LOGICAL forcing_In_AB
366        LOGICAL doThetaClimRelax        LOGICAL doThetaClimRelax
367        LOGICAL doSaltClimRelax        LOGICAL doSaltClimRelax
368        LOGICAL doTr1ClimRelax        LOGICAL doTr1ClimRelax
369        LOGICAL periodicExternalForcing        LOGICAL periodicExternalForcing
370          LOGICAL fluidIsAir
371          LOGICAL fluidIsWater
372        LOGICAL usingPCoords        LOGICAL usingPCoords
373        LOGICAL usingZCoords        LOGICAL usingZCoords
374        LOGICAL useDynP_inEos_Zc        LOGICAL useDynP_inEos_Zc
# Line 339  C     groundAtK1  :: put the surface(k=1 Line 381  C     groundAtK1  :: put the surface(k=1
381        LOGICAL useOldFreezing        LOGICAL useOldFreezing
382        LOGICAL groundAtK1        LOGICAL groundAtK1
383        LOGICAL usePickupBeforeC35        LOGICAL usePickupBeforeC35
384          LOGICAL usePickupBeforeC54
385        LOGICAL debugMode        LOGICAL debugMode
386        LOGICAL readPickupWithTracer        LOGICAL readPickupWithTracer
387        LOGICAL writePickupWithTracer        LOGICAL writePickupWithTracer
388          LOGICAL pickup_read_mdsio, pickup_write_mdsio
389          LOGICAL pickup_write_immed
390          LOGICAL timeave_mdsio, snapshot_mdsio, monitor_stdio
391          LOGICAL outputTypesInclusive
392          LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
393          LOGICAL calendarDumps
394    
395  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
396  C     gg2dTargetResidual  C     cg2dTargetResidual
397  C          :: Target residual for cg2d solver; no unit (RHS normalisation)  C          :: Target residual for cg2d solver; no unit (RHS normalisation)
398  C     cg2dTargetResWunit  C     cg2dTargetResWunit
399  C          :: Target residual for cg2d solver; W unit (No RHS normalisation)  C          :: Target residual for cg2d solver; W unit (No RHS normalisation)
# Line 374  C     gBaro     :: Accel. due to gravity Line 423  C     gBaro     :: Accel. due to gravity
423  C     rhoNil    :: Reference density for the linear equation of state  C     rhoNil    :: Reference density for the linear equation of state
424  C     rhoConst  :: Vertically constant reference density  C     rhoConst  :: Vertically constant reference density
425  C     rhoConstFresh :: Constant reference density for fresh water (rain)  C     rhoConstFresh :: Constant reference density for fresh water (rain)
426    C     tRef      :: reference vertical profile for potential temperature
427    C     sRef      :: reference vertical profile for salinity/specific humidity
428  C     startTime :: Start time for model ( s )  C     startTime :: Start time for model ( s )
429  C     phiMin    :: Latitude of southern most cell face.  C     phiMin    :: Latitude of southern most cell face.
430  C     thetaMin  :: Longitude of western most cell face (this  C     thetaMin  :: Longitude of western most cell face (this
# Line 388  C     omega     :: Angular velocity ( ra Line 439  C     omega     :: Angular velocity ( ra
439  C     rotationPeriod :: Rotation period (s) (= 2.pi/omega)  C     rotationPeriod :: Rotation period (s) (= 2.pi/omega)
440  C     viscAh    :: Eddy viscosity coeff. for mixing of  C     viscAh    :: Eddy viscosity coeff. for mixing of
441  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
442    C     viscAhW   :: Eddy viscosity coeff. for mixing of vertical
443    C                 momentum laterally, no effect for hydrostatic
444    C                 model, defaults to viscAh if unset ( m^2/s )
445  C     viscAr    :: Eddy viscosity coeff. for mixing of  C     viscAr    :: Eddy viscosity coeff. for mixing of
446  C                 momentum vertically ( units of r^2/s )  C                 momentum vertically ( units of r^2/s )
447  C     viscA4    :: Biharmonic viscosity coeff. for mixing of  C     viscA4    :: Biharmonic viscosity coeff. for mixing of
448  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
449  C     viscC2leith :: Leith non-dimensional viscosity factor  C     viscA4W   :: Biharmonic viscosity coeff. for mixing of vertical
450    C                 momentum laterally, no effect for hydrostatic
451    C                 model, defaults to viscA4 if unset ( m^2/s )
452    C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally
453    C                  (act on Divergence part) ( m^2/s )
454    C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally
455    C                  (act on Vorticity  part) ( m^2/s )
456    C     viscA4D   :: Biharmonic viscosity coeff. for mixing of momentum laterally
457    C                  (act on Divergence part) ( m^4/s )
458    C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally
459    C                  (act on Vorticity  part) ( m^4/s )
460    C     viscC2leith :: Leith non-dimensional viscosity factor (grad(vort))
461    C     viscC2leithD :: Modified Leith non-dimensional viscosity factor (grad(div))
462    C     viscC2smag  :: Smagorinsky non-dimensional viscosity factor
463  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of  C     viscAhMax :: Maximum eddy viscosity coeff. for mixing of
464  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
465    C     viscAhGridMax:: maximum and minimum harmonic viscosity coefficients ...
466    C     viscAhGridMin::  in terms of non-dimensional grid-size dependent viscosity
467  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of  C     viscA4Max :: Maximum biharmonic viscosity coeff. for mixing of
468  C                 momentum laterally ( m^4/s )  C                 momentum laterally ( m^4/s )
469  C     viscAhGrid:: non-dimensional grid-size dependent viscosity  C     viscAhGrid:: non-dimensional grid-size dependent viscosity
470  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity  C     viscA4Grid:: non-dimensional grid-size dependent bi-harmonic viscosity
471  C     viscC4leith :: Leith non-dimensional viscosity factor  C     viscA4GridMax:: maximum and minimum biharmonic viscosity coefficients ...
472    C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity
473    C     viscC4leith :: Leith non-dimensional viscosity factor (grad(vort))
474    C     viscC4leithD :: Modified Leith non-dimensional viscosity factor (grad(div))
475  C     diffKhT   :: Laplacian diffusion coeff. for mixing of  C     diffKhT   :: Laplacian diffusion coeff. for mixing of
476  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
477  C     diffKrT   :: Laplacian diffusion coeff. for mixing of  C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.
478  C                 heat vertically ( units of r^2/s )  C                 for mixing of heat vertically ( units of r^2/s )
479  C     diffK4T   :: Biharmonic diffusion coeff. for mixing of  C     diffK4T   :: Biharmonic diffusion coeff. for mixing of
480  C                 heat laterally ( m^4/s )  C                 heat laterally ( m^4/s )
481  C     diffKhS  ::  Laplacian diffusion coeff. for mixing of  C     diffKhS  ::  Laplacian diffusion coeff. for mixing of
482  C                 salt laterally ( m^2/s )  C                 salt laterally ( m^2/s )
483  C     diffKrS   :: Laplacian diffusion coeff. for mixing of  C     diffKrNrS :: vertical profile of Laplacian diffusion coeff.
484  C                 salt vertically ( units of r^2/s )  C                 for mixing of salt vertically ( units of r^2/s ),
485  C     diffK4S   :: Biharmonic diffusion coeff. for mixing of  C     diffK4S   :: Biharmonic diffusion coeff. for mixing of
486  C                 salt laterally ( m^4/s )  C                 salt laterally ( m^4/s )
487  C     diffKrBL79surf :: T/S surface diffusivity (m^2/s) Bryan and Lewis, 1979  C     diffKrBL79surf :: T/S surface diffusivity (m^2/s) Bryan and Lewis, 1979
# Line 424  C                    it will be the deep Line 496  C                    it will be the deep
496  C                    Frequency of checkpointing and dumping of the model state  C                    Frequency of checkpointing and dumping of the model state
497  C                    are referenced to this clock. ( s )  C                    are referenced to this clock. ( s )
498  C     deltaTMom    :: Timestep for momemtum equations ( s )  C     deltaTMom    :: Timestep for momemtum equations ( s )
499  C     deltaTtracer :: Timestep for tracer equations ( s )  C     dTtracerLev  :: Timestep for tracer equations ( s ), function of level k
500  C     deltaTfreesurf :: Timestep for free-surface equation ( s )  C     deltaTfreesurf :: Timestep for free-surface equation ( s )
501  C     freesurfFac  :: Parameter to turn implicit free surface term on or off  C     freesurfFac  :: Parameter to turn implicit free surface term on or off
502  C                    freesurfac = 1. uses implicit free surface  C                    freesurfac = 1. uses implicit free surface
# Line 477  C     convertFW2Salt :: salinity, used t Line 549  C     convertFW2Salt :: salinity, used t
549  C                       (use model surface (local) value if set to -1)  C                       (use model surface (local) value if set to -1)
550  C     temp_EvPrRn :: temperature of Rain & Evap.  C     temp_EvPrRn :: temperature of Rain & Evap.
551  C     salt_EvPrRn :: salinity of Rain & Evap.  C     salt_EvPrRn :: salinity of Rain & Evap.
 C     trac_EvPrRn :: tracer concentration in Rain & Evap.  
552  C        (notes: a) tracer content of Rain/Evap only used if both  C        (notes: a) tracer content of Rain/Evap only used if both
553  C                     NonLin_FrSurf & useRealFreshWater are set.  C                     NonLin_FrSurf & useRealFreshWater are set.
554  C                b) use model surface (local) value if set to UNSET_RL)  C                b) use model surface (local) value if set to UNSET_RL)
# Line 491  C      --"-"--  Quadratic  ( linear: 1/s Line 562  C      --"-"--  Quadratic  ( linear: 1/s
562        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
563       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
564       & delR, delRc, delX, delY,       & delR, delRc, delX, delY,
565       & deltaT, deltaTmom, deltaTtracer, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
566       & abeps, startTime,       & abeps, startTime,
567       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,
568       & fCori, fCoriG, fCoriCos,       & fCori, fCoriG, fCoriCos,
569       & viscAh,  viscAhMax, viscAhGrid, viscC2leith,       & viscAh, viscAhW, viscAhMax,
570       & viscA4,  viscA4Max, viscA4Grid, viscC4leith,       & viscAhGrid, viscAhGridMax, viscAhGridMin,
571       & viscAr, viscAstrain, viscAtension,       & viscC2leith, viscC2leithD,
572       & diffKhT, diffK4T, diffKrT,       & viscC2smag,
573       & diffKhS, diffK4S, diffKrS,       & viscAhD, viscAhZ, viscA4D, viscA4Z,
574         & viscA4, viscA4W,
575         & viscA4Max, viscA4Grid, viscA4GridMax, viscA4GridMin,
576         & viscC4leith, viscC4leithD, viscAr, viscAstrain, viscAtension,
577         & diffKhT, diffK4T, diffKrNrT,
578         & diffKhS, diffK4S, diffKrNrS,
579       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
580       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,
581       & hFacMin, hFacMinDz, hFacInf, hFacSup,       & hFacMin, hFacMinDz, hFacInf, hFacSup,
# Line 507  C      --"-"--  Quadratic  ( linear: 1/s Line 583  C      --"-"--  Quadratic  ( linear: 1/s
583       & recip_rhoConst, rhoConst,       & recip_rhoConst, rhoConst,
584       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef,
585       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,       & endTime, chkPtFreq, pchkPtFreq, dumpFreq, adjDumpFreq,
586       & diagFreq, taveFreq, tave_lastIter, monitorFreq,       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
587       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
588       & cosPower, cAdjFreq, omega, rotationPeriod,       & cosPower, cAdjFreq, omega, rotationPeriod,
589       & tauThetaClimRelax, lambdaThetaClimRelax,       & tauThetaClimRelax, lambdaThetaClimRelax,
590       & tauSaltClimRelax, lambdaSaltClimRelax,       & tauSaltClimRelax, lambdaSaltClimRelax,
591       & tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax,       & tauTr1ClimRelax, lambdaTr1ClimRelax, latBandClimRelax,
592       & externForcingCycle, externForcingPeriod,       & externForcingCycle, externForcingPeriod,
593       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn, trac_EvPrRn,       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn,
594       & hFacMinDr, hFacMinDp,       & hFacMinDr, hFacMinDp,
595       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
596       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
597       & bottomDragLinear,bottomDragQuadratic       & bottomDragLinear,bottomDragQuadratic,
598         & tCylIn, tCylOut
599    
600        _RL cg2dTargetResidual        _RL cg2dTargetResidual
601        _RL cg2dTargetResWunit        _RL cg2dTargetResWunit
# Line 531  C      --"-"--  Quadratic  ( linear: 1/s Line 608  C      --"-"--  Quadratic  ( linear: 1/s
608        _RL deltaT        _RL deltaT
609        _RL deltaTClock        _RL deltaTClock
610        _RL deltaTmom        _RL deltaTmom
611        _RL deltaTtracer        _RL dTtracerLev(Nr)
612        _RL deltaTfreesurf        _RL deltaTfreesurf
613        _RL abeps        _RL abeps
614        _RL phiMin        _RL phiMin
# Line 550  C      --"-"--  Quadratic  ( linear: 1/s Line 627  C      --"-"--  Quadratic  ( linear: 1/s
627        _RL hFacSup        _RL hFacSup
628        _RL beta        _RL beta
629        _RL viscAh        _RL viscAh
630          _RL viscAhW
631          _RL viscAhD
632          _RL viscAhZ
633        _RL viscAhMax        _RL viscAhMax
634        _RL viscAhGrid        _RL viscAhGrid
635          _RL viscAhGridMax
636          _RL viscAhGridMin
637        _RL viscC2leith        _RL viscC2leith
638          _RL viscC2leithD
639          _RL viscC2smag
640        _RL viscAstrain        _RL viscAstrain
641        _RL viscAtension        _RL viscAtension
642        _RL viscAr        _RL viscAr
643        _RL viscA4        _RL viscA4
644          _RL viscA4W
645          _RL viscA4D
646          _RL viscA4Z
647        _RL viscA4Max        _RL viscA4Max
648        _RL viscA4Grid        _RL viscA4Grid, viscA4GridMax, viscA4GridMin
649        _RL viscC4leith        _RL viscC4leith
650          _RL viscC4leithD
651        _RL diffKhT        _RL diffKhT
652        _RL diffKrT        _RL diffKrNrT(Nr)
653        _RL diffK4T        _RL diffK4T
654        _RL diffKhS        _RL diffKhS
655        _RL diffKrS        _RL diffKrNrS(Nr)
656        _RL diffK4S        _RL diffK4S
657        _RL diffKrBL79surf        _RL diffKrBL79surf
658        _RL diffKrBL79deep        _RL diffKrBL79deep
# Line 597  C      --"-"--  Quadratic  ( linear: 1/s Line 685  C      --"-"--  Quadratic  ( linear: 1/s
685        _RL taveFreq        _RL taveFreq
686        _RL tave_lastIter        _RL tave_lastIter
687        _RL monitorFreq        _RL monitorFreq
688          _RL adjMonitorFreq
689        _RL afFacMom        _RL afFacMom
690        _RL vfFacMom        _RL vfFacMom
691        _RL pfFacMom        _RL pfFacMom
# Line 619  C      --"-"--  Quadratic  ( linear: 1/s Line 708  C      --"-"--  Quadratic  ( linear: 1/s
708        _RL convertFW2Salt        _RL convertFW2Salt
709        _RL temp_EvPrRn        _RL temp_EvPrRn
710        _RL salt_EvPrRn        _RL salt_EvPrRn
       _RL trac_EvPrRn  
711        _RL horiVertRatio        _RL horiVertRatio
712        _RL recip_horiVertRatio        _RL recip_horiVertRatio
713        _RL ivdc_kappa        _RL ivdc_kappa
714        _RL Ro_SeaLevel        _RL Ro_SeaLevel
715        _RL bottomDragLinear        _RL bottomDragLinear
716        _RL bottomDragQuadratic        _RL bottomDragQuadratic
717          _RL tCylIn
718          _RL tCylOut
719    
720  C--   COMMON /PARM_A/ Thermodynamics constants ?  C--   COMMON /PARM_A/ Thermodynamics constants ?
721        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp        COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp
# Line 653  C             derived from the orography Line 743  C             derived from the orography
743        INTEGER integr_GeoPot, selectFindRoSurf        INTEGER integr_GeoPot, selectFindRoSurf
744    
745  C Logical flags for selecting packages  C Logical flags for selecting packages
746          LOGICAL useOPPS
747          LOGICAL usePP81
748          LOGICAL useMY82
749          LOGICAL useGGL90
750        LOGICAL useKPP        LOGICAL useKPP
751        LOGICAL useGMRedi        LOGICAL useGMRedi
752        LOGICAL useOBCS        LOGICAL useOBCS
# Line 664  C Logical flags for selecting packages Line 758  C Logical flags for selecting packages
758        LOGICAL useZONAL_FILT        LOGICAL useZONAL_FILT
759        LOGICAL useFLT        LOGICAL useFLT
760        LOGICAL usePTRACERS        LOGICAL usePTRACERS
761          LOGICAL useGCHEM
762        LOGICAL useSBO        LOGICAL useSBO
763        LOGICAL useSEAICE        LOGICAL useSEAICE
764        LOGICAL useBulkForce        LOGICAL useBulkForce
# Line 672  C Logical flags for selecting packages Line 767  C Logical flags for selecting packages
767        LOGICAL usegridalt        LOGICAL usegridalt
768        LOGICAL usediagnostics        LOGICAL usediagnostics
769        LOGICAL useEBM        LOGICAL useEBM
770          LOGICAL useMNC
771        COMMON /PARM_PACKAGES/        COMMON /PARM_PACKAGES/
772       &        useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO,       &        useKPP, useGMRedi, useOBCS, useAIM, useLand, useECCO,
773       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,
774       &        usePTRACERS,  useSBO, useSEAICE, useThSIce, useBulkForce,       &        usePTRACERS, useGCHEM,
775       &        usefizhi,  usegridalt, usediagnostics, useEBM       &        useSBO, useSEAICE, useThSIce, useBulkForce,
776         &        usefizhi, usegridalt, usediagnostics, useEBM, useMNC,
777  C     Run-time flags for early-initialization of MNC       &        usePP81, useMY82, useOPPS, useGGL90
       LOGICAL  
      &     useMNC,  
      &     mnc_use_indir, mnc_use_outdir, mnc_outdir_date,  
      &     mnc_echo_gvtypes, mnc_pickup_write, mnc_pickup_read,  
      &     mnc_use_for_mon  
       CHARACTER*(MAX_LEN_FNAM) mnc_outdir_str  
       CHARACTER*(MAX_LEN_FNAM) mnc_indir_str  
       COMMON /PARM_MNC/  
      &     useMNC,  
      &     mnc_use_indir, mnc_use_outdir, mnc_outdir_date,  
      &     mnc_echo_gvtypes, mnc_pickup_write, mnc_pickup_read,  
      &     mnc_outdir_str, mnc_indir_str,  
      &     mnc_use_for_mon  
   
778    
779  CEH3 ;;; Local Variables: ***  CEH3 ;;; Local Variables: ***
780  CEH3 ;;; mode:fortran ***  CEH3 ;;; mode:fortran ***

Legend:
Removed from v.1.113  
changed lines
  Added in v.1.148

  ViewVC Help
Powered by ViewVC 1.1.22