/[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.184 by jmc, Sat Apr 15 15:06:22 2006 UTC revision 1.202 by jmc, Fri Jun 1 21:12:37 2007 UTC
# Line 49  C     Checkpoint data Line 49  C     Checkpoint data
49    
50  C--   COMMON /PARM_C/ Character valued parameters used by the model.  C--   COMMON /PARM_C/ Character valued parameters used by the model.
51  C     checkPtSuff :: List of checkpoint file suffices  C     checkPtSuff :: List of checkpoint file suffices
52    C     tRefFile      :: File containing reference Potential Temperat.  tRef (1.D)
53    C     sRefFile      :: File containing reference salinity/spec.humid. sRef (1.D)
54    C     rhoRefFile    :: File containing reference density profile rhoRef (1.D)
55    C     delRFile      :: File containing vertical grid spacing delR  (1.D array)
56    C     delRcFile     :: File containing vertical grid spacing delRc (1.D array)
57  C     delXFile      :: File containing X-spacing grid definition (1.D array)  C     delXFile      :: File containing X-spacing grid definition (1.D array)
58  C     delYFile      :: File containing Y-spacing grid definition (1.D array)  C     delYFile      :: File containing Y-spacing grid definition (1.D array)
59  C     horizGridFile :: File containing horizontal-grid definition  C     horizGridFile :: File containing horizontal-grid definition
60  C                        (only when using curvilinear_grid)  C                        (only when using curvilinear_grid)
61  C     bathyFile   :: File containing bathymetry. If not defined bathymetry  C     bathyFile   :: File containing bathymetry. If not defined bathymetry
62  C                   is taken from inline function.  C                   is taken from inline function.
# Line 62  C                    (unit=m) Line 67  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.
70    C     diffKrFile      :: File containing 3D specification of vertical diffusivity
71  C     zonalWindFile   :: File containing zonal wind data  C     zonalWindFile   :: File containing zonal wind data
72  C     meridWindFile   :: File containing meridional wind data  C     meridWindFile   :: File containing meridional wind data
73  C     thetaClimFile   :: File containing theta climataology used  C     thetaClimFile   :: File containing theta climataology used
# Line 84  C     eosType         :: choose the equa Line 90  C     eosType         :: choose the equa
90  C                        LINEAR, POLY3, UNESCO, JMD95Z, JMD95P, MDJWF, IDEALGAS  C                        LINEAR, POLY3, UNESCO, JMD95Z, JMD95P, MDJWF, IDEALGAS
91  C     the_run_name    :: string identifying the name of the model "run"  C     the_run_name    :: string identifying the name of the model "run"
92        COMMON /PARM_C/ checkPtSuff,        COMMON /PARM_C/ checkPtSuff,
93         &                tRefFile, sRefFile, rhoRefFile,
94         &                delRFile, delRcFile,
95       &                delXFile, delYFile, horizGridFile,       &                delXFile, delYFile, horizGridFile,
96       &                bathyFile, topoFile, shelfIceFile,       &                bathyFile, topoFile, shelfIceFile,
97       &                hydrogThetaFile, hydrogSaltFile,       &                hydrogThetaFile, hydrogSaltFile, diffKrFile,
98       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
99       &                saltClimFile, buoyancyRelation,       &                saltClimFile, buoyancyRelation,
100       &                EmPmRfile, saltFluxFile,       &                EmPmRfile, saltFluxFile,
# Line 99  C     the_run_name    :: string identify Line 107  C     the_run_name    :: string identify
107       &                mdsioLocalDir,       &                mdsioLocalDir,
108       &                the_run_name       &                the_run_name
109        CHARACTER*(5) checkPtSuff(maxNoChkptLev)        CHARACTER*(5) checkPtSuff(maxNoChkptLev)
110          CHARACTER*(MAX_LEN_FNAM) tRefFile
111          CHARACTER*(MAX_LEN_FNAM) sRefFile
112          CHARACTER*(MAX_LEN_FNAM) rhoRefFile
113          CHARACTER*(MAX_LEN_FNAM) delRFile
114          CHARACTER*(MAX_LEN_FNAM) delRcFile
115        CHARACTER*(MAX_LEN_FNAM) delXFile        CHARACTER*(MAX_LEN_FNAM) delXFile
116        CHARACTER*(MAX_LEN_FNAM) delYFile        CHARACTER*(MAX_LEN_FNAM) delYFile
117        CHARACTER*(MAX_LEN_FNAM) horizGridFile        CHARACTER*(MAX_LEN_FNAM) horizGridFile
118        CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile, shelfIceFile        CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile, shelfIceFile
119        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile, hydrogSaltFile
120        CHARACTER*(MAX_LEN_FNAM) hydrogSaltFile        CHARACTER*(MAX_LEN_FNAM) diffKrFile
121        CHARACTER*(MAX_LEN_FNAM) zonalWindFile        CHARACTER*(MAX_LEN_FNAM) zonalWindFile
122        CHARACTER*(MAX_LEN_FNAM) meridWindFile        CHARACTER*(MAX_LEN_FNAM) meridWindFile
123        CHARACTER*(MAX_LEN_FNAM) thetaClimFile        CHARACTER*(MAX_LEN_FNAM) thetaClimFile
# Line 125  C     the_run_name    :: string identify Line 138  C     the_run_name    :: string identify
138        CHARACTER*(MAX_LEN_FNAM) lambdaThetaFile        CHARACTER*(MAX_LEN_FNAM) lambdaThetaFile
139        CHARACTER*(MAX_LEN_FNAM) lambdaSaltFile        CHARACTER*(MAX_LEN_FNAM) lambdaSaltFile
140        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir        CHARACTER*(MAX_LEN_FNAM) mdsioLocalDir
141        CHARACTER*(MAX_LEN_FNAM) the_run_name        CHARACTER*(MAX_LEN_PREC/2) the_run_name
142        CHARACTER*(6) eosType        CHARACTER*(6) eosType
143        CHARACTER*(10) pickupSuff        CHARACTER*(10) pickupSuff
144    
# Line 213  C                          coordinate fr Line 226  C                          coordinate fr
226  C     usingSphericalPolarGrid :: If TRUE grid generation will be in a  C     usingSphericalPolarGrid :: If TRUE grid generation will be in a
227  C                               spherical polar frame.  C                               spherical polar frame.
228  C     usingCylindricalGrid :: If TRUE grid generation will be Cylindrical  C     usingCylindricalGrid :: If TRUE grid generation will be Cylindrical
229    C     usingCurvilinearGrid :: If TRUE, use a curvilinear grid (to be provided)
230    C     deepAtmosphere :: deep model (drop the shallow-atmosphere approximation)
231  C     no_slip_sides :: Impose "no-slip" at lateral boundaries.  C     no_slip_sides :: Impose "no-slip" at lateral boundaries.
232  C     no_slip_bottom :: Impose "no-slip" at bottom boundary.  C     no_slip_bottom :: Impose "no-slip" at bottom boundary.
233  C     momViscosity  :: Flag which turns momentum friction terms on and off.  C     momViscosity  :: Flag which turns momentum friction terms on and off.
# Line 243  C     useStrainTensionVisc:: Set to true Line 258  C     useStrainTensionVisc:: Set to true
258  C     rigidLid            :: Set to true to use rigid lid  C     rigidLid            :: Set to true to use rigid lid
259  C     implicitFreeSurface :: Set to true to use implicit free surface  C     implicitFreeSurface :: Set to true to use implicit free surface
260  C     exactConserv        :: Set to true to conserve exactly the total Volume  C     exactConserv        :: Set to true to conserve exactly the total Volume
261    C     linFSConserveTr     :: Set to true to correct source/sink of tracer
262    C                            at the surface due to Linear Free Surface
263  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
264  C                           linear relation Phi_surf = Bo_surf*eta  C                           linear relation Phi_surf = Bo_surf*eta
265  C     use3Dsolver   :: set to true to use 3-D pressure solver  C     use3Dsolver   :: set to true to use 3-D pressure solver
# Line 254  C     saltStepping  :: Turns salinity eq Line 271  C     saltStepping  :: Turns salinity eq
271  C     useConstantF  :: Coriolis parameter set to f0  C     useConstantF  :: Coriolis parameter set to f0
272  C     useBetaPlaneF :: Coriolis parameter set to f0 + beta.y  C     useBetaPlaneF :: Coriolis parameter set to f0 + beta.y
273  C     useSphereF    :: Coriolis parameter set to 2.omega.sin(phi)  C     useSphereF    :: Coriolis parameter set to 2.omega.sin(phi)
274    C     use3dCoriolis :: Turns the 3-D coriolis terms (in Omega.cos Phi) on - off
275  C     useCDscheme   :: use CD-scheme to calculate Coriolis terms.  C     useCDscheme   :: use CD-scheme to calculate Coriolis terms.
276  C     useJamartWetPoints :: Use wet-point method for Coriolis (Jamart and Ozer, 1986)  C     useJamartWetPoints :: Use wet-point method for Coriolis (Jamart and Ozer, 1986)
277  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 272  C     useMultiDimAdvec  :: True if multi Line 290  C     useMultiDimAdvec  :: True if multi
290  C     momDissip_In_AB   :: if False, put Dissipation tendency contribution  C     momDissip_In_AB   :: if False, put Dissipation tendency contribution
291  C                          out off Adams-Bashforth time stepping.  C                          out off Adams-Bashforth time stepping.
292  C     doAB_onGtGs       :: if the Adams-Bashforth time stepping is used, always  C     doAB_onGtGs       :: if the Adams-Bashforth time stepping is used, always
293  C                          apply AB on tracer tendencies (rather than on Tracer)  C                          apply AB on tracer tendencies (rather than on Tracer)
294  C     startFromPickupAB2 :: with AB-3 code, start from an AB-2 pickup  C     startFromPickupAB2 :: with AB-3 code, start from an AB-2 pickup
295    C     usePickupBeforeC54 :: start from old-pickup files, generated with code from
296    C                           before checkpoint-54a, Jul 06, 2004.
297  C     doThetaClimRelax :: Set true if relaxation to temperature  C     doThetaClimRelax :: Set true if relaxation to temperature
298  C                        climatology is required.  C                        climatology is required.
299  C     doSaltClimRelax  :: Set true if relaxation to salinity  C     doSaltClimRelax  :: Set true if relaxation to salinity
# Line 289  C     fluidIsWater     :: Set to indicat Line 309  C     fluidIsWater     :: Set to indicat
309  C                        is water  C                        is water
310  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.)
311  C                         this requires specific code for restart & exchange  C                         this requires specific code for restart & exchange
312  C     setCenterDr    :: set cell Center depth and put Interface at the middle  C     setInterFDr    :: set Interface depth (put cell-Center at the middle)
313    C     setCenterDr    :: set cell-Center depth (put Interface at the middle)
314  C     nonHydrostatic :: Using non-hydrostatic terms  C     nonHydrostatic :: Using non-hydrostatic terms
315  C     quasiHydrostatic :: Using non-hydrostatic terms in hydrostatic algorithm  C     quasiHydrostatic :: Using non-hydrostatic terms in hydrostatic algorithm
316  C     globalFiles    :: Selects between "global" and "tiled" files  C     globalFiles    :: Selects between "global" and "tiled" files
# Line 313  C     balancePrintMean:: print substract Line 334  C     balancePrintMean:: print substract
334    
335        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,        COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
336       & usingCurvilinearGrid, usingCylindricalGrid,       & usingCurvilinearGrid, usingCylindricalGrid,
337         & deepAtmosphere, setInterFDr, setCenterDr,
338       & no_slip_sides,no_slip_bottom,       & no_slip_sides,no_slip_bottom,
339       & momViscosity, momAdvection, momForcing, useCoriolis,       & momViscosity, momAdvection, momForcing, useCoriolis,
340       & momPressureForcing, vectorInvariantMomentum,       & momPressureForcing, vectorInvariantMomentum,
# Line 321  C     balancePrintMean:: print substract Line 343  C     balancePrintMean:: print substract
343       & useRealFreshWaterFlux,       & useRealFreshWaterFlux,
344       & useFullLeith, useStrainTensionVisc,       & useFullLeith, useStrainTensionVisc,
345       & useAreaViscLength,       & useAreaViscLength,
346       & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,       & rigidLid, implicitFreeSurface, exactConserv, linFSConserveTr,
347         & uniformLin_PhiSurf,
348       & use3Dsolver, implicitIntGravWave, staggerTimeStep,       & use3Dsolver, implicitIntGravWave, staggerTimeStep,
349       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
350       & metricTerms, useNHMTerms,       & metricTerms, useNHMTerms,
351       & useConstantF, useBetaPlaneF, useSphereF,       & useConstantF, useBetaPlaneF, useSphereF, use3dCoriolis,
352       & useCDscheme,       & useCDscheme,
353       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,
354       & SadournyCoriolis, upwindVorticity, highOrderVorticity,       & SadournyCoriolis, upwindVorticity, highOrderVorticity,
# Line 337  C     balancePrintMean:: print substract Line 360  C     balancePrintMean:: print substract
360       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,       & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,
361       & periodicExternalForcing,       & periodicExternalForcing,
362       & fluidIsAir, fluidIsWater,       & fluidIsAir, fluidIsWater,
363       & usingPCoords, usingZCoords, useDynP_inEos_Zc, setCenterDr,       & usingPCoords, usingZCoords, useDynP_inEos_Zc,
364       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,       & nonHydrostatic, quasiHydrostatic, globalFiles, useSingleCpuIO,
365       & allowFreezing, useOldFreezing,       & allowFreezing, useOldFreezing,
366       & usePickupBeforeC35, usePickupBeforeC54, startFromPickupAB2,       & usePickupBeforeC54, startFromPickupAB2,
367       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,
368       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio,
369       & outputTypesInclusive, dumpInitAndLast, debugMode,       & outputTypesInclusive, dumpInitAndLast, debugMode,
# Line 351  C     balancePrintMean:: print substract Line 374  C     balancePrintMean:: print substract
374        LOGICAL usingSphericalPolarGrid        LOGICAL usingSphericalPolarGrid
375        LOGICAL usingCylindricalGrid        LOGICAL usingCylindricalGrid
376        LOGICAL usingCurvilinearGrid        LOGICAL usingCurvilinearGrid
377          LOGICAL deepAtmosphere
378          LOGICAL setInterFDr
379          LOGICAL setCenterDr
380        LOGICAL useNHMTerms        LOGICAL useNHMTerms
381        LOGICAL no_slip_sides        LOGICAL no_slip_sides
382        LOGICAL no_slip_bottom        LOGICAL no_slip_bottom
# Line 371  C     balancePrintMean:: print substract Line 397  C     balancePrintMean:: print substract
397        LOGICAL rigidLid        LOGICAL rigidLid
398        LOGICAL implicitFreeSurface        LOGICAL implicitFreeSurface
399        LOGICAL exactConserv        LOGICAL exactConserv
400          LOGICAL linFSConserveTr
401        LOGICAL uniformLin_PhiSurf        LOGICAL uniformLin_PhiSurf
402        LOGICAL use3Dsolver        LOGICAL use3Dsolver
403        LOGICAL implicitIntGravWave        LOGICAL implicitIntGravWave
# Line 382  C     balancePrintMean:: print substract Line 409  C     balancePrintMean:: print substract
409        LOGICAL useConstantF        LOGICAL useConstantF
410        LOGICAL useBetaPlaneF        LOGICAL useBetaPlaneF
411        LOGICAL useSphereF        LOGICAL useSphereF
412          LOGICAL use3dCoriolis
413        LOGICAL useCDscheme        LOGICAL useCDscheme
414        LOGICAL useEnergyConservingCoriolis        LOGICAL useEnergyConservingCoriolis
415        LOGICAL useJamartWetPoints        LOGICAL useJamartWetPoints
# Line 409  C     balancePrintMean:: print substract Line 437  C     balancePrintMean:: print substract
437        LOGICAL usingPCoords        LOGICAL usingPCoords
438        LOGICAL usingZCoords        LOGICAL usingZCoords
439        LOGICAL useDynP_inEos_Zc        LOGICAL useDynP_inEos_Zc
       LOGICAL setCenterDr  
440        LOGICAL nonHydrostatic        LOGICAL nonHydrostatic
441        LOGICAL quasiHydrostatic        LOGICAL quasiHydrostatic
442        LOGICAL globalFiles        LOGICAL globalFiles
443        LOGICAL useSingleCpuIO        LOGICAL useSingleCpuIO
444        LOGICAL allowFreezing        LOGICAL allowFreezing
445        LOGICAL useOldFreezing        LOGICAL useOldFreezing
       LOGICAL usePickupBeforeC35  
446        LOGICAL usePickupBeforeC54        LOGICAL usePickupBeforeC54
447        LOGICAL startFromPickupAB2        LOGICAL startFromPickupAB2
448        LOGICAL dumpInitAndLast        LOGICAL dumpInitAndLast
# Line 460  C     gravity   :: Accel. due to gravity Line 486  C     gravity   :: Accel. due to gravity
486  C     recip_gravity and its inverse  C     recip_gravity and its inverse
487  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 )
488  C     rhoNil    :: Reference density for the linear equation of state  C     rhoNil    :: Reference density for the linear equation of state
489  C     rhoConst  :: Vertically constant reference density  C     rhoConst  :: Vertically constant reference density
490    C     rhoFacC   :: normalized (by rhoConst) reference density at cell-Center
491    C     rhoFacF   :: normalized (by rhoConst) reference density at cell-interFace
492  C     rhoConstFresh :: Constant reference density for fresh water (rain)  C     rhoConstFresh :: Constant reference density for fresh water (rain)
493  C     tRef      :: reference vertical profile for potential temperature  C     tRef      :: reference vertical profile for potential temperature
494  C     sRef      :: reference vertical profile for salinity/specific humidity  C     sRef      :: reference vertical profile for salinity/specific humidity
495  C     phiRef    :: reference potential (pressure/rho, geopotential) profile  C     phiRef    :: reference potential (pressure/rho, geopotential) profile
496  C     dBdrRef   :: vertical gradient of reference boyancy  [(m/s/r)^2)]:  C     dBdrRef   :: vertical gradient of reference boyancy  [(m/s/r)^2)]:
497  C               :: z-coord: = N^2_ref = Brunt-Vaissala frequency [s^-2]  C               :: z-coord: = N^2_ref = Brunt-Vaissala frequency [s^-2]
498  C               :: p-coord: = -(d.alpha/dp)_ref          [(m^2.s/kg)^2]  C               :: p-coord: = -(d.alpha/dp)_ref          [(m^2.s/kg)^2]
499    C     rVel2wUnit :: units conversion factor (Non-Hydrostatic code),
500    C                :: from r-coordinate vertical velocity to vertical velocity [m/s].
501    C                :: z-coord: = 1 ; p-coord: wSpeed [m/s] = rVel [Pa/s] * rVel2wUnit
502    C     wUnit2rVel :: units conversion factor (Non-Hydrostatic code),
503    C                :: from vertical velocity [m/s] to r-coordinate vertical velocity.
504    C                :: z-coord: = 1 ; p-coord: rVel [Pa/s] = wSpeed [m/s] * wUnit2rVel
505  C     phiMin    :: Latitude of southern most cell face.  C     phiMin    :: Latitude of southern most cell face.
506  C     thetaMin  :: Longitude of western most cell face (this  C     thetaMin  :: Longitude of western most cell face (this
507  C                 is an "inert" parameter but it is included  C                 is an "inert" parameter but it is included
508  C                 to make geographical references simple.)  C                 to make geographical references simple.)
509  C     rSphere   :: Radius of sphere for a spherical polar grid ( m ).  C     rSphere   :: Radius of sphere for a spherical polar grid ( m ).
510  C     recip_RSphere  :: Reciprocal radius of sphere ( m ).  C     recip_rSphere  :: Reciprocal radius of sphere ( m ).
511  C     f0        :: Reference coriolis parameter ( 1/s )  C     f0        :: Reference coriolis parameter ( 1/s )
512  C                 ( Southern edge f for beta plane )  C                 ( Southern edge f for beta plane )
513  C     beta      :: df/dy ( s^-1.m^-1 )  C     beta      :: df/dy ( s^-1.m^-1 )
# Line 484  C                 momentum laterally ( m Line 518  C                 momentum laterally ( m
518  C     viscAhW   :: Eddy viscosity coeff. for mixing of vertical  C     viscAhW   :: Eddy 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 viscAh if unset ( m^2/s )  C                 model, defaults to viscAh if unset ( m^2/s )
521    C                 Not used if variable horiz. viscosity is used.
522  C     viscAr    :: Eddy viscosity coeff. for mixing of  C     viscAr    :: Eddy viscosity coeff. for mixing of
523  C                 momentum vertically ( units of r^2/s )  C                 momentum vertically ( units of r^2/s )
524  C     viscA4    :: Biharmonic viscosity coeff. for mixing of  C     viscA4    :: Biharmonic viscosity coeff. for mixing of
# Line 491  C                 momentum laterally ( m Line 526  C                 momentum laterally ( m
526  C     viscA4W   :: Biharmonic viscosity coeff. for mixing of vertical  C     viscA4W   :: Biharmonic viscosity coeff. for mixing of vertical
527  C                 momentum laterally, no effect for hydrostatic  C                 momentum laterally, no effect for hydrostatic
528  C                 model, defaults to viscA4 if unset ( m^2/s )  C                 model, defaults to viscA4 if unset ( m^2/s )
529    C                 Not used if variable horiz. viscosity is used.
530  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally
531  C                  (act on Divergence part) ( m^2/s )  C                  (act on Divergence part) ( m^2/s )
532  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally
# Line 535  C     diffKrBL79surf :: T/S surface diff Line 571  C     diffKrBL79surf :: T/S surface diff
571  C     diffKrBL79deep :: T/S deep diffusivity (m^2/s) Bryan and Lewis, 1979  C     diffKrBL79deep :: T/S deep diffusivity (m^2/s) Bryan and Lewis, 1979
572  C     diffKrBL79scl  :: depth scale for arctan fn (m) Bryan and Lewis, 1979  C     diffKrBL79scl  :: depth scale for arctan fn (m) Bryan and Lewis, 1979
573  C     diffKrBL79Ho   :: depth offset for arctan fn (m) Bryan and Lewis, 1979  C     diffKrBL79Ho   :: depth offset for arctan fn (m) Bryan and Lewis, 1979
574    C     BL79LatVary    :: polarwise of this latitude diffKrBL79 is applied with
575    C                       gradual transition to diffKrBLEQ towards Equator
576    C     diffKrBLEQsurf :: same as diffKrBL79surf but at Equator
577    C     diffKrBLEQdeep :: same as diffKrBL79deep but at Equator
578    C     diffKrBLEQscl  :: same as diffKrBL79scl but at Equator
579    C     diffKrBLEQHo   :: same as diffKrBL79Ho but at Equator
580  C     deltaT    :: Default timestep ( s )  C     deltaT    :: Default timestep ( s )
581  C     deltaTClock  :: Timestep used as model "clock". This determines the  C     deltaTClock  :: Timestep used as model "clock". This determines the
582  C                    IO frequencies and is used in tagging output. It can  C                    IO frequencies and is used in tagging output. It can
# Line 604  C                b) use model surface (l Line 646  C                b) use model surface (l
646  C     horiVertRatio      :: Ratio on units in vertical to units in horizontal.  C     horiVertRatio      :: Ratio on units in vertical to units in horizontal.
647  C     recip_horiVertRatio  ( 1 if horiz in m and vertical in m ).  C     recip_horiVertRatio  ( 1 if horiz in m and vertical in m ).
648  C                          ( g*rho if horiz in m and vertical in Pa ).  C                          ( g*rho if horiz in m and vertical in Pa ).
649  C     Ro_SeaLevel        :: standard position of Sea-Level in "R" coordinate, used as  C     hMixCrit    :: criteria for mixed-layer diagnostic
650  C                          starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)  C     ivdc_kappa  :: implicit vertical diffusivity for convection [m^2/s]
651    C     Ro_SeaLevel :: standard position of Sea-Level in "R" coordinate, used as
652    C                    starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)
653  C     sideDragFactor     :: side-drag scaling factor (used only if no_slip_sides)  C     sideDragFactor     :: side-drag scaling factor (used only if no_slip_sides)
654  C                           (default=2: full drag ; =1: gives half-slip BC)  C                           (default=2: full drag ; =1: gives half-slip BC)
655  C     bottomDragLinear    :: Linear    bottom-drag coefficient (units of [r]/s)  C     bottomDragLinear    :: Linear    bottom-drag coefficient (units of [r]/s)
656  C     bottomDragQuadratic :: Quadratic bottom-drag coefficient (units of [r]/m)  C     bottomDragQuadratic :: Quadratic bottom-drag coefficient (units of [r]/m)
657  C               (if using zcoordinate, units becomes linear: m/s, quadratic: [-])  C               (if using zcoordinate, units becomes linear: m/s, quadratic: [-])
658    C     smoothAbsFuncRange :: 1/2 of interval around zero, for which FORTRAN ABS
659    C                           is to be replace by a smoother function
660    C                           (affects myabs, mymin, mymax)
661  C     nh_Am2        :: scales the non-hydrostatic terms and changes internal scales  C     nh_Am2        :: scales the non-hydrostatic terms and changes internal scales
662  C                      (i.e. allows convection at different Rayleigh numbers)  C                      (i.e. allows convection at different Rayleigh numbers)
663        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
# Line 631  C                      (i.e. allows conv Line 678  C                      (i.e. allows conv
678       & diffKhT, diffK4T, diffKrNrT,       & diffKhT, diffK4T, diffKrNrT,
679       & diffKhS, diffK4S, diffKrNrS,       & diffKhS, diffK4S, diffKrNrS,
680       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
681         & BL79LatVary,
682         & diffKrBLEQsurf, diffKrBLEQdeep, diffKrBLEQscl, diffKrBLEQHo,
683       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,
684       & hFacMin, hFacMinDz, hFacInf, hFacSup,       & hFacMin, hFacMinDz, hFacInf, hFacSup,
685       & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,       & gravity, recip_Gravity, gBaro,
686       & recip_rhoConst, rhoConst,       & rhonil, recip_rhonil, rhoConst, recip_rhoConst,
687         & rhoFacC, recip_rhoFacC, rhoFacF, recip_rhoFacF,
688       & rhoConstFresh, convertEmP2rUnit, tRef, sRef, phiRef, dBdrRef,       & rhoConstFresh, convertEmP2rUnit, tRef, sRef, phiRef, dBdrRef,
689         & rVel2wUnit, wUnit2rVel,
690       & baseTime, startTime, endTime,       & baseTime, startTime, endTime,
691       & chkPtFreq, pChkPtFreq, dumpFreq, adjDumpFreq,       & chkPtFreq, pChkPtFreq, dumpFreq, adjDumpFreq,
692       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
# Line 647  C                      (i.e. allows conv Line 698  C                      (i.e. allows conv
698       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn,       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn,
699       & hFacMinDr, hFacMinDp,       & hFacMinDr, hFacMinDp,
700       & horiVertRatio, recip_horiVertRatio,       & horiVertRatio, recip_horiVertRatio,
701       & ivdc_kappa, Ro_SeaLevel,       & ivdc_kappa, hMixCriteria, Ro_SeaLevel,
702       & sideDragFactor, bottomDragLinear, bottomDragQuadratic, nh_Am2,       & sideDragFactor, bottomDragLinear, bottomDragQuadratic, nh_Am2,
703         & smoothAbsFuncRange,
704       & tCylIn, tCylOut       & tCylIn, tCylOut
705    
706        _RL cg2dTargetResidual        _RL cg2dTargetResidual
# Line 668  C                      (i.e. allows conv Line 720  C                      (i.e. allows conv
720        _RL phiMin        _RL phiMin
721        _RL thetaMin        _RL thetaMin
722        _RL rSphere        _RL rSphere
723        _RL recip_RSphere        _RL recip_rSphere
724        _RL f0        _RL f0
725        _RL freeSurfFac        _RL freeSurfFac
726        _RL implicSurfPress        _RL implicSurfPress
# Line 713  C                      (i.e. allows conv Line 765  C                      (i.e. allows conv
765        _RL diffKrBL79deep        _RL diffKrBL79deep
766        _RL diffKrBL79scl        _RL diffKrBL79scl
767        _RL diffKrBL79Ho        _RL diffKrBL79Ho
768          _RL BL79LatVary
769          _RL diffKrBLEQsurf
770          _RL diffKrBLEQdeep
771          _RL diffKrBLEQscl
772          _RL diffKrBLEQHo
773        _RL delt        _RL delt
774        _RL tauCD        _RL tauCD
775        _RL rCD        _RL rCD
776        _RL gravity        _RL gravity
777        _RL recip_gravity        _RL recip_gravity
778        _RL gBaro        _RL gBaro
779        _RL rhonil        _RL rhonil,        recip_rhonil
780        _RL recip_rhonil        _RL rhoConst,      recip_rhoConst
781        _RL rhoConst        _RL rhoFacC(Nr),   recip_rhoFacC(Nr)
782        _RL recip_rhoConst        _RL rhoFacF(Nr+1), recip_rhoFacF(Nr+1)
783        _RL rhoConstFresh        _RL rhoConstFresh
784        _RL convertEmP2rUnit        _RL convertEmP2rUnit
785        _RL tRef(Nr)        _RL tRef(Nr)
786        _RL sRef(Nr)        _RL sRef(Nr)
787        _RL phiRef(2*Nr+1)        _RL phiRef(2*Nr+1)
788        _RL dBdrRef(Nr)        _RL dBdrRef(Nr)
789          _RL rVel2wUnit(Nr+1), wUnit2rVel(Nr+1)
790        _RL baseTime        _RL baseTime
791        _RL startTime        _RL startTime
792        _RL endTime        _RL endTime
# Line 764  C                      (i.e. allows conv Line 822  C                      (i.e. allows conv
822        _RL horiVertRatio        _RL horiVertRatio
823        _RL recip_horiVertRatio        _RL recip_horiVertRatio
824        _RL ivdc_kappa        _RL ivdc_kappa
825          _RL hMixCriteria
826        _RL Ro_SeaLevel        _RL Ro_SeaLevel
827        _RL sideDragFactor        _RL sideDragFactor
828        _RL bottomDragLinear        _RL bottomDragLinear
829        _RL bottomDragQuadratic        _RL bottomDragQuadratic
830          _RL smoothAbsFuncRange
831        _RL nh_Am2        _RL nh_Am2
832        _RL tCylIn        _RL tCylIn
833        _RL tCylOut        _RL tCylOut
# Line 803  C Logical flags for selecting packages Line 863  C Logical flags for selecting packages
863        LOGICAL useMY82        LOGICAL useMY82
864        LOGICAL useGGL90        LOGICAL useGGL90
865        LOGICAL useKPP        LOGICAL useKPP
866          LOGICAL useGAD
867        LOGICAL useGMRedi        LOGICAL useGMRedi
868        LOGICAL useOBCS        LOGICAL useOBCS
869        LOGICAL useAIM        LOGICAL useAIM
# Line 824  C Logical flags for selecting packages Line 885  C Logical flags for selecting packages
885        LOGICAL useSEAICE        LOGICAL useSEAICE
886        LOGICAL useShelfIce        LOGICAL useShelfIce
887        LOGICAL useThSIce        LOGICAL useThSIce
888          LOGICAL useATM2d
889        LOGICAL useBulkForce        LOGICAL useBulkForce
890        LOGICAL usefizhi        LOGICAL usefizhi
891        LOGICAL usegridalt        LOGICAL usegridalt
892        LOGICAL useDiagnostics        LOGICAL useDiagnostics
893        LOGICAL useMNC        LOGICAL useMNC
894          LOGICAL useREGRID
895        LOGICAL useRunClock        LOGICAL useRunClock
896        LOGICAL useEMBED_FILES        LOGICAL useEMBED_FILES
897          LOGICAL useMYPACKAGE
898        COMMON /PARM_PACKAGES/        COMMON /PARM_PACKAGES/
899       &        useOPPS, usePP81, useMY82, useGGL90, useKPP,       &        useOPPS, usePP81, useMY82, useGGL90, useKPP,
900       &        useGMRedi, useOBCS, useAIM, useLand,       &        useGAD, useGMRedi, useOBCS, useAIM, useLand,
901       &        useCAL, useEXF, useEBM, useGrdchk, useECCO,       &        useCAL, useEXF, useEBM, useGrdchk, useECCO,
902       &        useSHAP_FILT, useZONAL_FILT, useFLT,       &        useSHAP_FILT, useZONAL_FILT, useFLT,
903       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,
904       &        useSBO, useSEAICE, useShelfIce, useThSIce, useBulkForce,       &        useSBO, useSEAICE, useShelfIce,
905       &        usefizhi, usegridalt, useDiagnostics, useMNC,       &        useThSIce, useATM2D, useBulkForce,
906       &        useRunClock, useEMBED_FILES       &        usefizhi, usegridalt, useDiagnostics, useMNC, useREGRID,
907         &        useRunClock, useEMBED_FILES, useMYPACKAGE
908    
909  CEH3 ;;; Local Variables: ***  CEH3 ;;; Local Variables: ***
910  CEH3 ;;; mode:fortran ***  CEH3 ;;; mode:fortran ***

Legend:
Removed from v.1.184  
changed lines
  Added in v.1.202

  ViewVC Help
Powered by ViewVC 1.1.22