/[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.65.4.1.2.1 by dimitri, Wed Feb 12 06:45:54 2003 UTC revision 1.89 by jmc, Thu Apr 17 13:11:31 2003 UTC
# Line 69  C     surfQfile       :: File containing Line 69  C     surfQfile       :: File containing
69  C     surfQswfile     :: File containing surface shortwave radiation  C     surfQswfile     :: File containing surface shortwave radiation
70  C     dQdTfile        :: File containing thermal relaxation coefficient  C     dQdTfile        :: File containing thermal relaxation coefficient
71  C     EmPmRfile       :: File containing surface fresh water flux  C     EmPmRfile       :: File containing surface fresh water flux
72    C     pLoadFile       :: File containing pressure loading
73  C     buoyancyRelation :: Flag used to indicate which relation to use to  C     buoyancyRelation :: Flag used to indicate which relation to use to
74  C                        get buoyancy.  C                        get buoyancy.
75    C     eosType         :: choose the equation of state:
76    C                        LINEAR, POLY3, UNESCO, JMD95Z, JMD95P, MDJWF, IDEALGAS
77        COMMON /PARM_C/ checkPtSuff,        COMMON /PARM_C/ checkPtSuff,
78       &                bathyFile, topoFile,       &                bathyFile, topoFile,
79       &                hydrogThetaFile, hydrogSaltFile,       &                hydrogThetaFile, hydrogSaltFile,
# Line 78  C                        get buoyancy. Line 81  C                        get buoyancy.
81       &                saltClimFile, buoyancyRelation,       &                saltClimFile, buoyancyRelation,
82       &                EmPmRfile, surfQfile, surfQswfile,       &                EmPmRfile, surfQfile, surfQswfile,
83       &                uVelInitFile, vVelInitFile, pSurfInitFile,       &                uVelInitFile, vVelInitFile, pSurfInitFile,
84       &                dQdTfile       &                dQdTfile, ploadFile,
85         &                eosType
86        CHARACTER*(5) checkPtSuff(maxNoChkptLev)        CHARACTER*(5) checkPtSuff(maxNoChkptLev)
87        CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile        CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile
88        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile
# Line 95  C                        get buoyancy. Line 99  C                        get buoyancy.
99        CHARACTER*(MAX_LEN_FNAM) vVelInitFile        CHARACTER*(MAX_LEN_FNAM) vVelInitFile
100        CHARACTER*(MAX_LEN_FNAM) pSurfInitFile        CHARACTER*(MAX_LEN_FNAM) pSurfInitFile
101        CHARACTER*(MAX_LEN_FNAM) dQdTfile        CHARACTER*(MAX_LEN_FNAM) dQdTfile
102          CHARACTER*(MAX_LEN_FNAM) ploadFile
103          CHARACTER*(6) eosType
104    
105  C--   COMMON /PARM_I/ Integer valued parameters used by the model.  C--   COMMON /PARM_I/ Integer valued parameters used by the model.
106  C     cg2dMaxIters        :: Maximum number of iterations in the  C     cg2dMaxIters        :: Maximum number of iterations in the
# Line 115  C     readBinaryPrec      :: Precision u Line 121  C     readBinaryPrec      :: Precision u
121  C     nCheckLev           :: Holds current checkpoint level  C     nCheckLev           :: Holds current checkpoint level
122  C     nonlinFreeSurf      :: option related to non-linear free surface  C     nonlinFreeSurf      :: option related to non-linear free surface
123  C                           =0 Linear free surface ; >0 Non-linear  C                           =0 Linear free surface ; >0 Non-linear
124    C     select_rStar        :: option related to r* vertical coordinate
125    C                           =0 (default) use r coord. ; > 0 use r*
126    
127        COMMON /PARM_I/        COMMON /PARM_I/
128       &        cg2dMaxIters,       &        cg2dMaxIters,
# Line 125  C                           =0 Linear fr Line 133  C                           =0 Linear fr
133       &        numStepsPerPickup,       &        numStepsPerPickup,
134       &        writeStatePrec, nCheckLev,       &        writeStatePrec, nCheckLev,
135       &        writeBinaryPrec, readBinaryPrec,       &        writeBinaryPrec, readBinaryPrec,
136       &        nonlinFreeSurf,       &        nonlinFreeSurf, select_rStar,
137       &        tempAdvScheme, saltAdvScheme, tracerAdvScheme       &        tempAdvScheme, saltAdvScheme, tracerAdvScheme
138        INTEGER cg2dMaxIters        INTEGER cg2dMaxIters
139        INTEGER cg2dChkResFreq        INTEGER cg2dChkResFreq
# Line 140  C                           =0 Linear fr Line 148  C                           =0 Linear fr
148        INTEGER readBinaryPrec        INTEGER readBinaryPrec
149        INTEGER nCheckLev        INTEGER nCheckLev
150        INTEGER nonlinFreeSurf        INTEGER nonlinFreeSurf
151          INTEGER select_rStar
152        INTEGER tempAdvScheme        INTEGER tempAdvScheme
153        INTEGER saltAdvScheme        INTEGER saltAdvScheme
154        INTEGER tracerAdvScheme        INTEGER tracerAdvScheme
# Line 160  C     momPressureForcing :: Flag which t Line 169  C     momPressureForcing :: Flag which t
169  C                          on and off.  C                          on and off.
170  C     metricTerms   :: Flag which turns metric terms on or off.  C     metricTerms   :: Flag which turns metric terms on or off.
171  C     usingSphericalPolarMTerms :: If TRUE use spherical polar metric terms.  C     usingSphericalPolarMTerms :: If TRUE use spherical polar metric terms.
172    C     useNHMTerms :: If TRUE use non-hydrostatic metric terms.
173  C     useCoriolis   :: Flag which turns the coriolis terms on and off.  C     useCoriolis   :: Flag which turns the coriolis terms on and off.
174  C     tempDiffusion :: Flag which turns diffusion of temperature on  C     tempDiffusion :: Flag which turns diffusion of temperature on
175  C                     and off.  C                     and off.
# Line 167  C     tempAdvection :: Flag which turns Line 177  C     tempAdvection :: Flag which turns
177  C                     and off.  C                     and off.
178  C     tempForcing   :: Flag which turns external forcing of temperature on  C     tempForcing   :: Flag which turns external forcing of temperature on
179  C                     and off.  C                     and off.
180  C     saltDiffusion :: Flag which turns diffusion of salinit on  C     saltDiffusion :: Flag which turns diffusion of salinity on
181  C                     and off.  C                     and off.
182  C     saltAdvection :: Flag which turns advection of salinit on  C     saltAdvection :: Flag which turns advection of salinity on
183  C                     and off.  C                     and off.
184  C     saltForcing   :: Flag which turns external forcing of salinit on  C     saltForcing   :: Flag which turns external forcing of salinity on
185  C                     and off.  C                     and off.
186    C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux
187    C                         as a real Fresh Water (=> changes the Sea Level)
188    C                         if F, converts P+R-E to salt flux (no SL effect)
189  C     rigidLid            :: Set to true to use rigid lid  C     rigidLid            :: Set to true to use rigid lid
190  C     implicitFreeSurface :: Set to true to use implcit free surface  C     implicitFreeSurface :: Set to true to use implcit free surface
191  C     exactConserv        :: Set to true to conserve exactly the total Volume  C     exactConserv        :: Set to true to conserve exactly the total Volume
# Line 185  C     tr1Stepping   :: Turns passive tra Line 198  C     tr1Stepping   :: Turns passive tra
198  C     useConstantF  :: Coriolis parameter set to f0  C     useConstantF  :: Coriolis parameter set to f0
199  C     useBetaPlaneF :: Coriolis parameter set to f0 + beta.y  C     useBetaPlaneF :: Coriolis parameter set to f0 + beta.y
200  C     useSphereF    :: Coriolis parameter set to 2.omega.sin(phi)  C     useSphereF    :: Coriolis parameter set to 2.omega.sin(phi)
201    C     useCDscheme   :: use CD-scheme to calculate Coriolis terms.
202    C     useJamartWetPoints :: Use wet-point method for Coriolis (Jamart and Ozer, 1986)
203  C     implicitDiffusion :: Turns implicit vertical diffusion on  C     implicitDiffusion :: Turns implicit vertical diffusion on
204  C     implicitViscosity :: Turns implicit vertical viscosity on  C     implicitViscosity :: Turns implicit vertical viscosity on
205    C     multiDimAdvection :: Flag that enable multi-dimension advection
206    C     forcing_In_AB :: if False, put forcing (Temp,Salt,Tracers) contribution
207    C                      out off Adams-Bashforth time stepping.
208  C     doThetaClimRelax :: Set true if relaxation to temperature  C     doThetaClimRelax :: Set true if relaxation to temperature
209  C                        climatology is required.  C                        climatology is required.
210  C     doSaltClimRelax  :: Set true if relaxation to salinity  C     doSaltClimRelax  :: Set true if relaxation to salinity
211  C                        climatology is required.  C                        climatology is required.
212  C     periodicExternalForcing :: Set true if forcing is time-dependant  C     periodicExternalForcing :: Set true if forcing is time-dependant
213  C     usingPCoords     :: Set to indicate that we are working in pressure  C     usingPCoords     :: Set to indicate that we are working in pressure
214  C                        coords.  C                        coords. (jmc: is it still used ?)
215  C     usingZCoords     :: Set to indicate that we are working in height  C     usingZCoords     :: Set to indicate that we are working in height
216  C                        coords.  C                        coords. (jmc: is it still used ?)
217    C     useDynP_inEos_Zc :: use the dynamical pressure in EOS (with Z-coord.)
218    C                         this requires specific code for restart & exchange
219    C     setCenterDr    :: set cell Center depth and put Interface at the middle
220  C     nonHydrostatic :: Using non-hydrostatic terms  C     nonHydrostatic :: Using non-hydrostatic terms
221    C     quasiHydrostatic :: Using non-hydrostatic terms in hydrostatic algorithm
222  C     globalFiles    :: Selects between "global" and "tiled" files  C     globalFiles    :: Selects between "global" and "tiled" files
223    C     useSingleCpuIO :: On SGI platforms, option globalFiles is either
224    C                       slow (f77) or does not work (f90).  When
225    C                       useSingleCpuIO is set, mdsio_writefield.F
226    C                       outputs from master mpi process only.
227  C     allowFreezing  :: Allows water to freeze and form ice  C     allowFreezing  :: Allows water to freeze and form ice
228  C     groundAtK1  :: put the surface(k=1) at the Lower Boundary (=ground)  C     groundAtK1  :: put the surface(k=1) at the Lower Boundary (=ground)
 C     useJamartWetPoints :: Use wet-point method for Coriolis (Jamart and Ozer, 1986)  
229        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
230       & usingCurvilinearGrid,       & usingCurvilinearGrid,
231       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
# Line 209  C     useJamartWetPoints :: Use wet-poin Line 234  C     useJamartWetPoints :: Use wet-poin
234       & momPressureForcing, vectorInvariantMomentum,       & momPressureForcing, vectorInvariantMomentum,
235       & tempDiffusion, tempAdvection, tempForcing,       & tempDiffusion, tempAdvection, tempForcing,
236       & saltDiffusion, saltAdvection, saltForcing,       & saltDiffusion, saltAdvection, saltForcing,
237         & useRealFreshWaterFlux,
238       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,
239       & momStepping, tempStepping, saltStepping, tr1Stepping,       & momStepping, tempStepping, saltStepping, tr1Stepping,
240       & metricTerms, usingSphericalPolarMTerms,       & metricTerms, usingSphericalPolarMTerms, useNHMTerms,
241       & useConstantF, useBetaPlaneF, useSphereF,       & useConstantF, useBetaPlaneF, useSphereF,
242         & useCDscheme,
243         & useEnergyConservingCoriolis, useJamartWetPoints,
244       & implicitDiffusion, implicitViscosity,       & implicitDiffusion, implicitViscosity,
245         & multiDimAdvection, forcing_In_AB,
246       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,
247       & periodicExternalForcing, usingPCoords, usingZCoords,       & periodicExternalForcing,
248       & nonHydrostatic, globalFiles,       & usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr,
249         & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,
250       & allowFreezing, groundAtK1,       & allowFreezing, groundAtK1,
251       & usePickupBeforeC35, debugMode,       & usePickupBeforeC35, debugMode,
252       & readPickupWithTracer, writePickupWithTracer,       & readPickupWithTracer, writePickupWithTracer
      & multiDimAdvection, useEnergyConservingCoriolis,  
      & useJamartWetPoints  
253        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
254        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
255        LOGICAL usingCurvilinearGrid        LOGICAL usingCurvilinearGrid
256        LOGICAL usingSphericalPolarMTerms        LOGICAL usingSphericalPolarMTerms
257          LOGICAL useNHMTerms
258        LOGICAL no_slip_sides        LOGICAL no_slip_sides
259        LOGICAL no_slip_bottom        LOGICAL no_slip_bottom
260        LOGICAL staggerTimeStep        LOGICAL staggerTimeStep
# Line 241  C     useJamartWetPoints :: Use wet-poin Line 270  C     useJamartWetPoints :: Use wet-poin
270        LOGICAL saltDiffusion        LOGICAL saltDiffusion
271        LOGICAL saltAdvection        LOGICAL saltAdvection
272        LOGICAL saltForcing        LOGICAL saltForcing
273          LOGICAL useRealFreshWaterFlux
274        LOGICAL rigidLid        LOGICAL rigidLid
275        LOGICAL implicitFreeSurface        LOGICAL implicitFreeSurface
276        LOGICAL exactConserv        LOGICAL exactConserv
# Line 253  C     useJamartWetPoints :: Use wet-poin Line 283  C     useJamartWetPoints :: Use wet-poin
283        LOGICAL useConstantF        LOGICAL useConstantF
284        LOGICAL useBetaPlaneF        LOGICAL useBetaPlaneF
285        LOGICAL useSphereF        LOGICAL useSphereF
286          LOGICAL useCDscheme
287          LOGICAL useEnergyConservingCoriolis
288          LOGICAL useJamartWetPoints
289        LOGICAL implicitDiffusion        LOGICAL implicitDiffusion
290        LOGICAL implicitViscosity        LOGICAL implicitViscosity
291          LOGICAL multiDimAdvection
292          LOGICAL forcing_In_AB
293        LOGICAL doThetaClimRelax        LOGICAL doThetaClimRelax
294        LOGICAL doSaltClimRelax        LOGICAL doSaltClimRelax
295        LOGICAL doTr1ClimRelax        LOGICAL doTr1ClimRelax
296        LOGICAL periodicExternalForcing        LOGICAL periodicExternalForcing
297        LOGICAL usingPCoords        LOGICAL usingPCoords
298        LOGICAL usingZCoords        LOGICAL usingZCoords
299          LOGICAL useDynP_inEos_Zc
300          LOGICAL setCenterDr
301        LOGICAL nonHydrostatic        LOGICAL nonHydrostatic
302          LOGICAL quasiHydrostatic
303        LOGICAL globalFiles        LOGICAL globalFiles
304          LOGICAL useSingleCpuIO
305        LOGICAL allowFreezing        LOGICAL allowFreezing
306        LOGICAL groundAtK1        LOGICAL groundAtK1
307        LOGICAL usePickupBeforeC35        LOGICAL usePickupBeforeC35
308        LOGICAL debugMode        LOGICAL debugMode
309        LOGICAL readPickupWithTracer        LOGICAL readPickupWithTracer
310        LOGICAL writePickupWithTracer        LOGICAL writePickupWithTracer
       LOGICAL multiDimAdvection  
       LOGICAL useEnergyConservingCoriolis  
       LOGICAL useJamartWetPoints  
311    
312  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
313  C     gg2dTargetResidual  C     gg2dTargetResidual
# Line 297  C           defaults to 0.51 but can be Line 333  C           defaults to 0.51 but can be
333  C     delP      :: Vertical grid spacing ( Pa ).  C     delP      :: Vertical grid spacing ( Pa ).
334  C     delZ      :: Vertical grid spacing ( m  ).  C     delZ      :: Vertical grid spacing ( m  ).
335  C     delR      :: Vertical grid spacing ( units of r ).  C     delR      :: Vertical grid spacing ( units of r ).
336    C     delRc     :: Vertical grid spacing between cell centers (r unit).
337  C     delX      :: Separation between cell faces (m) or (deg), depending  C     delX      :: Separation between cell faces (m) or (deg), depending
338  C     delY        on input flags.  C     delY        on input flags.
339  C     gravity   :: Accel. due to gravity ( m/s^2 )  C     gravity   :: Accel. due to gravity ( m/s^2 )
340  C     recip_gravity and its inverse  C     recip_gravity and its inverse
341  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 )
342  C     ronil     :: Reference density  C     rhoNil    :: Reference density for the linear equation of state
343  C     rhoConst  :: Vertically constant reference density  C     rhoConst  :: Vertically constant reference density
344    C     rhoConstFresh :: Constant reference density for fresh water (rain)
345  C     startTime :: Start time for model ( s )  C     startTime :: Start time for model ( s )
346  C     phiMin    :: Latitude of southern most cell face.  C     phiMin    :: Latitude of southern most cell face.
347  C     thetaMin  :: Longitude of western most cell face (this  C     thetaMin  :: Longitude of western most cell face (this
# Line 315  C     f0        :: Reference coriolis pa Line 353  C     f0        :: Reference coriolis pa
353  C                 ( Southern edge f for beta plane )  C                 ( Southern edge f for beta plane )
354  C     beta      :: df/dy ( s^-1.m^-1 )  C     beta      :: df/dy ( s^-1.m^-1 )
355  C     omega     :: Angular velocity ( rad/s )  C     omega     :: Angular velocity ( rad/s )
356    C     rotationPeriod :: Rotation period (s) (= 2.pi/omega)
357  C     viscAh    :: Eddy viscosity coeff. for mixing of  C     viscAh    :: Eddy viscosity coeff. for mixing of
358  C                 momentum laterally ( m^2/s )  C                 momentum laterally ( m^2/s )
359  C     viscAz    :: Eddy viscosity coeff. for mixing of  C     viscAz    :: Eddy viscosity coeff. for mixing of
# Line 354  C                    Frequency of checkp Line 393  C                    Frequency of checkp
393  C                    are referenced to this clock. ( s )  C                    are referenced to this clock. ( s )
394  C     deltaTMom    :: Timestep for momemtum equations ( s )  C     deltaTMom    :: Timestep for momemtum equations ( s )
395  C     deltaTtracer :: Timestep for tracer equations ( s )  C     deltaTtracer :: Timestep for tracer equations ( s )
396    C     deltaTfreesurf :: Timestep for free-surface equation ( s )
397  C     freesurfFac  :: Parameter to turn implicit free surface term on or off  C     freesurfFac  :: Parameter to turn implicit free surface term on or off
398  C                    freesurfac = 1. uses implicit free surface  C                    freesurfac = 1. uses implicit free surface
399  C                    freesurfac = 0. uses rigid lid  C                    freesurfac = 0. uses rigid lid
# Line 386  C     mtFacMom      :: Metric terms trac Line 426  C     mtFacMom      :: Metric terms trac
426  C     cosPower      :: Power of cosine of latitude to multiply viscosity  C     cosPower      :: Power of cosine of latitude to multiply viscosity
427  C     cAdjFreq      :: Frequency of convective adjustment  C     cAdjFreq      :: Frequency of convective adjustment
428  C  C
429  C     taveFreq      :: Frequency with which time-averaged model state is written to  C     taveFreq      :: Frequency with which time-averaged model state
430  C                     post-processing files ( s ).  C                      is written to post-processing files ( s ).
431    C     tave_lastIter :: (for state variable only) fraction of the last time
432    C                      step (of each taveFreq period) put in the time average.
433    C                      (fraction for 1rst iter = 1 - tave_lastIter)
434  C     tauThetaClimRelax :: Relaxation to climatology time scale ( s ).  C     tauThetaClimRelax :: Relaxation to climatology time scale ( s ).
435  C     lambdaThetaClimRelax :: Inverse time scale for relaxation ( 1/s ).  C     lambdaThetaClimRelax :: Inverse time scale for relaxation ( 1/s ).
436  C     tauSaltClimRelax :: Relaxation to climatology time scale ( s ).  C     tauSaltClimRelax :: Relaxation to climatology time scale ( s ).
# Line 396  C     externForcingPeriod :: Is the peri Line 439  C     externForcingPeriod :: Is the peri
439  C     externForcingCycle :: Is the repeat time of the forcing (eg. 1 year)  C     externForcingCycle :: Is the repeat time of the forcing (eg. 1 year)
440  C                          (note: externForcingCycle must be an integer  C                          (note: externForcingCycle must be an integer
441  C                           number times externForcingPeriod)  C                           number times externForcingPeriod)
442    C     convertFW2Salt :: salinity, used to convert Fresh-Water Flux to Salt Flux
443    C                       (use model surface (local) value if set to -1)
444    C     temp_EvPrRn :: temperature of Rain & Evap.
445    C     salt_EvPrRn :: salinity of Rain & Evap.
446    C     trac_EvPrRn :: tracer concentration in Rain & Evap.
447    C        (notes: a) tracer content of Rain/Evap only used if both
448    C                     NonLin_FrSurf & useRealFreshWater are set.
449    C                b) use model surface (local) value if set to UNSET_RL)
450  C     horiVertRatio      :: Ratio on units in vertical to units in horizontal.  C     horiVertRatio      :: Ratio on units in vertical to units in horizontal.
451  C     recip_horiVertRatio  ( 1 if horiz in m and vertical in m ).  C     recip_horiVertRatio  ( 1 if horiz in m and vertical in m ).
452  C                          ( g*rho if horiz in m and vertical in Pa ).  C                          ( g*rho if horiz in m and vertical in Pa ).
# Line 405  C     bottomDragLinear   :: Drag coeffic Line 456  C     bottomDragLinear   :: Drag coeffic
456  C      --"-"--  Quadratic  ( linear: 1/s, quadratic: 1/m )  C      --"-"--  Quadratic  ( linear: 1/s, quadratic: 1/m )
457        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
458       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
459       & delP, delZ, delR, delX, delY,       & delP, delZ, delR, delRc, delX, delY,
460       & deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime,       & deltaT, deltaTmom, deltaTtracer, deltaTfreesurf, deltaTClock,
461         & abeps, startTime,
462       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,
463       & fCori, fCoriG,       & fCori, fCoriG, fCoriCos,
464       & viscAh,  viscAz,  viscA4,  viscAr, viscAstrain, viscAtension,       & viscAh,  viscAz,  viscA4,  viscAr, viscAstrain, viscAtension,
465       & diffKhT, diffKzT, diffK4T, diffKrT,       & diffKhT, diffKzT, diffK4T, diffKrT,
466       & diffKhS, diffKzS, diffK4S, diffKrS,       & diffKhS, diffKzS, diffK4S, diffKrS,
467       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,
468       & hFacMin, hFacMinDz, hFacInf, hFacSup,       & hFacMin, hFacMinDz, hFacInf, hFacSup,
469       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
470       & recip_rhoConst, rhoConst, tRef, sRef,       & recip_rhoConst, rhoConst,
471         & rhoConstFresh, convertEmP2rUnit, tRef, sRef,
472       & endTime, chkPtFreq, pchkPtFreq, dumpFreq,       & endTime, chkPtFreq, pchkPtFreq, dumpFreq,
473       & diagFreq, taveFreq, monitorFreq,       & diagFreq, taveFreq, tave_lastIter, monitorFreq,
474       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
475       & cosPower, cAdjFreq, omega,       & cosPower, cAdjFreq, omega, rotationPeriod,
476       & tauThetaClimRelax, lambdaThetaClimRelax,       & tauThetaClimRelax, lambdaThetaClimRelax,
477       & tauSaltClimRelax, lambdaSaltClimRelax,       & tauSaltClimRelax, lambdaSaltClimRelax,
478       & tauTr1ClimRelax, lambdaTr1ClimRelax,       & tauTr1ClimRelax, lambdaTr1ClimRelax,
479       & externForcingCycle, externForcingPeriod,       & externForcingCycle, externForcingPeriod,
480         & convertFW2Salt, temp_EvPrRn, salt_EvPrRn, trac_EvPrRn,
481       & viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp,       & viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp,
482       & theta_S, specVol_S, horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
483       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, Ro_SeaLevel,
484       & bottomDragLinear,bottomDragQuadratic       & bottomDragLinear,bottomDragQuadratic
485    
# Line 436  C      --"-"--  Quadratic  ( linear: 1/s Line 490  C      --"-"--  Quadratic  ( linear: 1/s
490        _RL delZ(Nr)        _RL delZ(Nr)
491        _RL delP(Nr)        _RL delP(Nr)
492        _RL delR(Nr)        _RL delR(Nr)
493          _RL delRc(Nr+1)
494        _RL delX(Nx)        _RL delX(Nx)
495        _RL delY(Ny)        _RL delY(Ny)
496        _RL deltaT        _RL deltaT
497        _RL deltaTClock        _RL deltaTClock
498        _RL deltaTmom        _RL deltaTmom
499        _RL deltaTtracer        _RL deltaTtracer
500          _RL deltaTfreesurf
501        _RL abeps        _RL abeps
502        _RL phiMin        _RL phiMin
503        _RL thetaMin        _RL thetaMin
# Line 485  C      --"-"--  Quadratic  ( linear: 1/s Line 541  C      --"-"--  Quadratic  ( linear: 1/s
541        _RL recip_rhonil        _RL recip_rhonil
542        _RL rhoConst        _RL rhoConst
543        _RL recip_rhoConst        _RL recip_rhoConst
544        _RL specVol_S(Nr)        _RL rhoConstFresh
545          _RL convertEmP2rUnit
546        _RL tRef(Nr)        _RL tRef(Nr)
       _RL theta_S(Nr)  
547        _RL sRef(Nr)        _RL sRef(Nr)
548        _RS fCori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RS fCori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
549        _RS fCoriG(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RS fCoriG(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
550          _RS fCoriCos(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
551        _RL startTime        _RL startTime
552        _RL endTime        _RL endTime
553        _RL chkPtFreq        _RL chkPtFreq
# Line 498  C      --"-"--  Quadratic  ( linear: 1/s Line 555  C      --"-"--  Quadratic  ( linear: 1/s
555        _RL dumpFreq        _RL dumpFreq
556        _RL diagFreq        _RL diagFreq
557        _RL taveFreq        _RL taveFreq
558          _RL tave_lastIter
559        _RL monitorFreq        _RL monitorFreq
560        _RL afFacMom        _RL afFacMom
561        _RL vfFacMom        _RL vfFacMom
# Line 508  C      --"-"--  Quadratic  ( linear: 1/s Line 566  C      --"-"--  Quadratic  ( linear: 1/s
566        _RL cosPower        _RL cosPower
567        _RL cAdjFreq        _RL cAdjFreq
568        _RL omega        _RL omega
569          _RL rotationPeriod
570        _RL tauThetaClimRelax        _RL tauThetaClimRelax
571        _RL lambdaThetaClimRelax        _RL lambdaThetaClimRelax
572        _RL tauSaltClimRelax        _RL tauSaltClimRelax
# Line 516  C      --"-"--  Quadratic  ( linear: 1/s Line 575  C      --"-"--  Quadratic  ( linear: 1/s
575        _RL lambdaTr1ClimRelax        _RL lambdaTr1ClimRelax
576        _RL externForcingCycle        _RL externForcingCycle
577        _RL externForcingPeriod        _RL externForcingPeriod
578          _RL convertFW2Salt
579          _RL temp_EvPrRn
580          _RL salt_EvPrRn
581          _RL trac_EvPrRn
582        _RL horiVertRatio        _RL horiVertRatio
583        _RL recip_horiVertRatio        _RL recip_horiVertRatio
584        _RL ivdc_kappa        _RL ivdc_kappa
# Line 529  C      --"-"--  Quadratic  ( linear: 1/s Line 592  C      --"-"--  Quadratic  ( linear: 1/s
592        _RL Lamba_theta        _RL Lamba_theta
593        _RL recip_Cp        _RL recip_Cp
594    
 C Equation of State (polynomial coeffients)  
       COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS  
       _RL eosC(9,Nr+1),eosSig0(Nr+1),eosRefT(Nr+1),eosRefS(Nr+1)  
 C Linear equation of state  
 C     tAlpha    :: Linear EOS thermal expansion coefficient ( 1/degree ).  
 C     sBeta     :: Linear EOS haline contraction coefficient.  
       COMMON /PARM_EOS_LIN/ tAlpha,sBeta,eosType  
       _RL tAlpha  
       _RL sBeta  
       character*(6) eosType  
   
595  C Atmospheric physical parameters (Ideal Gas EOS, ...)  C Atmospheric physical parameters (Ideal Gas EOS, ...)
596  C     atm_po    :: standard reference pressure  C     atm_Po    :: standard reference pressure
597  C     atm_cp    :: specific heat (Cp) of the (dry) air at constant pressure  C     atm_Cp    :: specific heat (Cp) of the (dry) air at constant pressure
598    C     atm_Rd    :: gas constant for dry air
599  C     atm_kappa :: kappa = R/Cp (R: constant of Ideal Gas EOS)  C     atm_kappa :: kappa = R/Cp (R: constant of Ideal Gas EOS)
600  C     Integr_GeoPot :: option to select the way we integrate the geopotential  C     integr_GeoPot :: option to select the way we integrate the geopotential
601  C                     (still a subject of discussions ...)  C                     (still a subject of discussions ...)
602        COMMON /PARM_ATM/ atm_cp, atm_kappa, atm_po,  C     selectFindRoSurf :: select the way surf. ref. pressure (=Ro_surf) is
603       &                  Integr_GeoPot  C             derived from the orography. Implemented: 0,1 (see INI_P_GROUND)
604        _RL atm_cp, atm_kappa, atm_po        COMMON /PARM_ATM/ atm_Cp, atm_Rd, atm_kappa, atm_Po,
605        INTEGER Integr_GeoPot       &                  integr_GeoPot, selectFindRoSurf
606          _RL atm_Po, atm_Cp, atm_Rd, atm_kappa
607          INTEGER integr_GeoPot, selectFindRoSurf
608    
609  C Logical flags for selecting packages  C Logical flags for selecting packages
610        LOGICAL useKPP        LOGICAL useKPP
# Line 561  C Logical flags for selecting packages Line 616  C Logical flags for selecting packages
616        LOGICAL useSHAP_FILT        LOGICAL useSHAP_FILT
617        LOGICAL useZONAL_FILT        LOGICAL useZONAL_FILT
618        LOGICAL useFLT        LOGICAL useFLT
619          LOGICAL usePTRACERS
620          LOGICAL useSBO
621        LOGICAL useSEAICE        LOGICAL useSEAICE
622    cswdblk -- add ---
623          LOGICAL useBulkforce
624          LOGICAL useThermSEAICE
625    cswdblk --- end add ---
626        COMMON /PARM_PACKAGES/        COMMON /PARM_PACKAGES/
627       &        useKPP, useGMRedi, useOBCS, useAIM, useECCO,       &        useKPP, useGMRedi, useOBCS, useAIM, useECCO,
628       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,       &        useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT,
629       &        useSEAICE       &        usePTRACERS,  useSBO, useSEAICE,
630    cswdblk -- add ---
631         &        useThermSEAICE, useBulkforce
632    cswdblk --- end add ---

Legend:
Removed from v.1.65.4.1.2.1  
changed lines
  Added in v.1.89

  ViewVC Help
Powered by ViewVC 1.1.22