/[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.252 by jmc, Wed Jun 8 01:23:52 2011 UTC revision 1.265 by jmc, Fri Jul 13 20:34:31 2012 UTC
# Line 64  C     viscA4Zfile     :: File containing Line 64  C     viscA4Zfile     :: File containing
64  C     zonalWindFile   :: File containing zonal wind data  C     zonalWindFile   :: File containing zonal wind data
65  C     meridWindFile   :: File containing meridional wind data  C     meridWindFile   :: File containing meridional wind data
66  C     thetaClimFile   :: File containing surface theta climataology used  C     thetaClimFile   :: File containing surface theta climataology used
67  C                       in relaxation term -lambda(theta-theta*)  C                        in relaxation term -lambda(theta-theta*)
68  C     saltClimFile    :: File containing surface salt climataology used  C     saltClimFile    :: File containing surface salt climataology used
69  C                       in relaxation term -lambda(salt-salt*)  C                        in relaxation term -lambda(salt-salt*)
70  C     surfQfile       :: File containing surface heat flux, excluding SW  C     surfQfile       :: File containing surface heat flux, excluding SW
71  C                        (old version, kept for backward compatibility)  C                        (old version, kept for backward compatibility)
72  C     surfQnetFile    :: File containing surface net heat flux  C     surfQnetFile    :: File containing surface net heat flux
# Line 143  C     the_run_name    :: string identify Line 143  C     the_run_name    :: string identify
143    
144  C--   COMMON /PARM_I/ Integer valued parameters used by the model.  C--   COMMON /PARM_I/ Integer valued parameters used by the model.
145  C     cg2dMaxIters        :: Maximum number of iterations in the  C     cg2dMaxIters        :: Maximum number of iterations in the
146  C                           two-dimensional con. grad solver.  C                            two-dimensional con. grad solver.
147  C     cg2dChkResFreq      :: Frequency with which to check residual  C     cg2dChkResFreq      :: Frequency with which to check residual
148  C                           in con. grad solver.  C                            in con. grad solver.
149  C     cg2dPreCondFreq     :: Frequency for updating cg2d preconditioner  C     cg2dPreCondFreq     :: Frequency for updating cg2d preconditioner
150  C                            (non-linear free-surf.)  C                            (non-linear free-surf.)
151  C     cg3dMaxIters        :: Maximum number of iterations in the  C     cg3dMaxIters        :: Maximum number of iterations in the
152  C                           three-dimensional con. grad solver.  C                            three-dimensional con. grad solver.
153  C     cg3dChkResFreq      :: Frequency with which to check residual  C     cg3dChkResFreq      :: Frequency with which to check residual
154  C                           in con. grad solver.  C                            in con. grad solver.
155  C     printResidualFreq   :: Frequency for printing residual in CG iterations  C     printResidualFreq   :: Frequency for printing residual in CG iterations
156  C     nIter0              :: Start time-step number of for this run  C     nIter0              :: Start time-step number of for this run
157  C     nTimeSteps          :: Number of timesteps to execute  C     nTimeSteps          :: Number of timesteps to execute
# Line 174  C     selectAddFluid      :: option to a Line 174  C     selectAddFluid      :: option to a
174  C                            (3-D generalisation of oceanic real-fresh water flux)  C                            (3-D generalisation of oceanic real-fresh water flux)
175  C                           =0 off ; =1 add fluid ; =-1 virtual flux (no mass added)  C                           =0 off ; =1 add fluid ; =-1 virtual flux (no mass added)
176  C     momForcingOutAB     :: =1: take momentum forcing contribution  C     momForcingOutAB     :: =1: take momentum forcing contribution
177  C                           out of (=0: in) Adams-Bashforth time stepping.  C                            out of (=0: in) Adams-Bashforth time stepping.
178  C     tracForcingOutAB    :: =1: take tracer (Temp,Salt,pTracers) forcing contribution  C     tracForcingOutAB    :: =1: take tracer (Temp,Salt,pTracers) forcing contribution
179  C                           out of (=0: in) Adams-Bashforth time stepping.  C                            out of (=0: in) Adams-Bashforth time stepping.
180  C     tempAdvScheme       :: Temp. Horiz.Advection scheme selector  C     tempAdvScheme       :: Temp. Horiz.Advection scheme selector
181  C     tempVertAdvScheme   :: Temp. Vert. Advection scheme selector  C     tempVertAdvScheme   :: Temp. Vert. Advection scheme selector
182  C     saltAdvScheme       :: Salt. Horiz.advection scheme selector  C     saltAdvScheme       :: Salt. Horiz.advection scheme selector
# Line 234  C                            and statist Line 234  C                            and statist
234  C--   COMMON /PARM_L/ Logical valued parameters used by the model.  C--   COMMON /PARM_L/ Logical valued parameters used by the model.
235  C- Coordinate + Grid params:  C- Coordinate + Grid params:
236  C     fluidIsAir       :: Set to indicate that the fluid major constituent  C     fluidIsAir       :: Set to indicate that the fluid major constituent
237  C                        is air  C                         is air
238  C     fluidIsWater     :: Set to indicate that the fluid major constituent  C     fluidIsWater     :: Set to indicate that the fluid major constituent
239  C                        is water  C                         is water
240  C     usingPCoords     :: Set to indicate that we are working in a pressure  C     usingPCoords     :: Set to indicate that we are working in a pressure
241  C                        type coordinate (p or p*).  C                         type coordinate (p or p*).
242  C     usingZCoords     :: Set to indicate that we are working in a height  C     usingZCoords     :: Set to indicate that we are working in a height
243  C                        type coordinate (z or z*)  C                         type coordinate (z or z*)
244  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.)
245  C                         this requires specific code for restart & exchange  C                         this requires specific code for restart & exchange
246  C     usingCartesianGrid :: If TRUE grid generation will be in a cartesian  C     usingCartesianGrid :: If TRUE grid generation will be in a cartesian
247  C                          coordinate frame.  C                           coordinate frame.
248  C     usingSphericalPolarGrid :: If TRUE grid generation will be in a  C     usingSphericalPolarGrid :: If TRUE grid generation will be in a
249  C                               spherical polar frame.  C                                spherical polar frame.
250  C     rotateGrid      :: rotate grid coordinates to geographical coordinates  C     rotateGrid      :: rotate grid coordinates to geographical coordinates
251  C                        according to Euler angles phiEuler, thetaEuler, psiEuler  C                        according to Euler angles phiEuler, thetaEuler, psiEuler
 C     usingCurvilinearGrid :: If TRUE, use a curvilinear grid (to be provided)  
252  C     usingCylindricalGrid :: If TRUE grid generation will be Cylindrical  C     usingCylindricalGrid :: If TRUE grid generation will be Cylindrical
253    C     usingCurvilinearGrid :: If TRUE, use a curvilinear grid (to be provided)
254    C     hasWetCSCorners :: domain contains CS-type corners where dynamics is solved
255  C     deepAtmosphere :: deep model (drop the shallow-atmosphere approximation)  C     deepAtmosphere :: deep model (drop the shallow-atmosphere approximation)
256  C     setInterFDr    :: set Interface depth (put cell-Center at the middle)  C     setInterFDr    :: set Interface depth (put cell-Center at the middle)
257  C     setCenterDr    :: set cell-Center depth (put Interface at the middle)  C     setCenterDr    :: set cell-Center depth (put Interface at the middle)
# Line 282  C     highOrderVorticity :: use 3rd/4th Line 283  C     highOrderVorticity :: use 3rd/4th
283  C     useAbsVorticity :: work with f+zeta in Coriolis terms  C     useAbsVorticity :: work with f+zeta in Coriolis terms
284  C     upwindShear        :: use 1rst order upwind interp. (V.I., vertical advection)  C     upwindShear        :: use 1rst order upwind interp. (V.I., vertical advection)
285  C     momStepping    :: Turns momentum equation time-stepping off  C     momStepping    :: Turns momentum equation time-stepping off
286    C     calc_wVelocity :: Turns of vertical velocity calculation off
287  C- Temp. & Salt params:  C- Temp. & Salt params:
288  C     tempStepping   :: Turns temperature equation time-stepping off  C     tempStepping   :: Turns temperature equation time-stepping off
289  C     saltStepping   :: Turns salinity equation time-stepping off  C     saltStepping   :: Turns salinity equation time-stepping off
290  C     tempAdvection  :: Flag which turns advection of temperature on and off.  C     tempAdvection  :: Flag which turns advection of temperature on and off.
291    C     tempVertDiff4  :: use vertical bi-harmonic diffusion for temperature
292  C     tempIsActiveTr :: Pot.Temp. is a dynamically active tracer  C     tempIsActiveTr :: Pot.Temp. is a dynamically active tracer
293  C     tempForcing    :: Flag which turns external forcing of temperature on  C     tempForcing    :: Flag which turns external forcing of temperature on
294  C                       and off.  C                       and off.
295  C     saltAdvection  :: Flag which turns advection of salinity on and off.  C     saltAdvection  :: Flag which turns advection of salinity on and off.
296    C     saltVertDiff4  :: use vertical bi-harmonic diffusion for salinity
297  C     saltIsActiveTr :: Salinity  is a dynamically active tracer  C     saltIsActiveTr :: Salinity  is a dynamically active tracer
298  C     saltForcing    :: Flag which turns external forcing of salinity on  C     saltForcing    :: Flag which turns external forcing of salinity on
299  C                       and off.  C                       and off.
# Line 297  C     maskIniTemp    :: apply mask to in Line 301  C     maskIniTemp    :: apply mask to in
301  C     maskIniSalt    :: apply mask to initial salinity  C     maskIniSalt    :: apply mask to initial salinity
302  C     checkIniTemp   :: check for points with identically zero initial Pot.Temp.  C     checkIniTemp   :: check for points with identically zero initial Pot.Temp.
303  C     checkIniSalt   :: check for points with identically zero initial salinity  C     checkIniSalt   :: check for points with identically zero initial salinity
 C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux  
 C                         as a real Fresh Water (=> changes the Sea Level)  
 C                         if F, converts P+R-E to salt flux (no SL effect)  
304  C- Pressure solver related parameters (PARM02)  C- Pressure solver related parameters (PARM02)
305  C     useSRCGSolver  :: Set to true to use conjugate gradient  C     useSRCGSolver  :: Set to true to use conjugate gradient
306  C                       solver with single reduction (only one call of  C                       solver with single reduction (only one call of
307  C                       s/r mpi_allreduce), default is false  C                       s/r mpi_allreduce), default is false
308  C- Time-stepping params:  C- Time-stepping & free-surface params:
309  C     rigidLid            :: Set to true to use rigid lid  C     rigidLid            :: Set to true to use rigid lid
310  C     implicitFreeSurface :: Set to true to use implicit free surface  C     implicitFreeSurface :: Set to true to use implicit free surface
311    C     uniformLin_PhiSurf  :: Set to true to use a uniform Bo_surf in the
312    C                            linear relation Phi_surf = Bo_surf*eta
313    C     uniformFreeSurfLev  :: TRUE if free-surface level-index is uniform (=1)
314  C     exactConserv        :: Set to true to conserve exactly the total Volume  C     exactConserv        :: Set to true to conserve exactly the total Volume
315  C     linFSConserveTr     :: Set to true to correct source/sink of tracer  C     linFSConserveTr     :: Set to true to correct source/sink of tracer
316  C                            at the surface due to Linear Free Surface  C                            at the surface due to Linear Free Surface
317  C     uniformLin_PhiSurf  :: Set to true to use a uniform Bo_surf in the  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux
318  C                            linear relation Phi_surf = Bo_surf*eta  C                         as a real Fresh Water (=> changes the Sea Level)
319    C                         if F, converts P+R-E to salt flux (no SL effect)
320  C     quasiHydrostatic :: Using non-hydrostatic terms in hydrostatic algorithm  C     quasiHydrostatic :: Using non-hydrostatic terms in hydrostatic algorithm
321  C     nonHydrostatic   :: Using non-hydrostatic algorithm  C     nonHydrostatic   :: Using non-hydrostatic algorithm
322  C     use3Dsolver      :: set to true to use 3-D pressure solver  C     use3Dsolver      :: set to true to use 3-D pressure solver
323  C     implicitIntGravWave :: treat Internal Gravity Wave implicitly  C     implicitIntGravWave :: treat Internal Gravity Wave implicitly
324  C     staggerTimeStep   :: enable a Stagger time stepping U,V (& W) then T,S  C     staggerTimeStep   :: enable a Stagger time stepping U,V (& W) then T,S
325    C     doResetHFactors   :: Do reset thickness factors @ beginning of each time-step
326  C     implicitDiffusion :: Turns implicit vertical diffusion on  C     implicitDiffusion :: Turns implicit vertical diffusion on
327  C     implicitViscosity :: Turns implicit vertical viscosity on  C     implicitViscosity :: Turns implicit vertical viscosity on
328  C     tempImplVertAdv :: Turns on implicit vertical advection for Temperature  C     tempImplVertAdv :: Turns on implicit vertical advection for Temperature
# Line 336  C     doThetaClimRelax :: Set true if re Line 342  C     doThetaClimRelax :: Set true if re
342  C                        climatology is required.  C                        climatology is required.
343  C     doSaltClimRelax  :: Set true if relaxation to salinity  C     doSaltClimRelax  :: Set true if relaxation to salinity
344  C                        climatology is required.  C                        climatology is required.
345    C     balanceThetaClimRelax :: substract global mean effect at every time step
346    C     balanceSaltClimRelax :: substract global mean effect at every time step
347  C     allowFreezing  :: Allows surface water to freeze and form ice  C     allowFreezing  :: Allows surface water to freeze and form ice
 C     allowInteriorFreezing :: Allow water at depth to freeze and rise to the surface  
348  C     useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12)  C     useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12)
349  C     periodicExternalForcing :: Set true if forcing is time-dependant  C     periodicExternalForcing :: Set true if forcing is time-dependant
350  C- I/O parameters -  C- I/O parameters -
# Line 364  C     printDomain     :: controls printi Line 371  C     printDomain     :: controls printi
371       & fluidIsAir, fluidIsWater,       & fluidIsAir, fluidIsWater,
372       & usingPCoords, usingZCoords, useDynP_inEos_Zc,       & usingPCoords, usingZCoords, useDynP_inEos_Zc,
373       & usingCartesianGrid, usingSphericalPolarGrid, rotateGrid,       & usingCartesianGrid, usingSphericalPolarGrid, rotateGrid,
374       & usingCurvilinearGrid, usingCylindricalGrid,       & usingCylindricalGrid, usingCurvilinearGrid, hasWetCSCorners,
375       & deepAtmosphere, setInterFDr, setCenterDr,       & deepAtmosphere, setInterFDr, setCenterDr,
376       & no_slip_sides, no_slip_bottom,       & no_slip_sides, no_slip_bottom,
377       & useFullLeith, useStrainTensionVisc, useAreaViscLength,       & useFullLeith, useStrainTensionVisc, useAreaViscLength,
# Line 375  C     printDomain     :: controls printi Line 382  C     printDomain     :: controls printi
382       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,
383       & upwindVorticity, highOrderVorticity,       & upwindVorticity, highOrderVorticity,
384       & useAbsVorticity, upwindShear,       & useAbsVorticity, upwindShear,
385       & momStepping, tempStepping, saltStepping,       & momStepping, calc_wVelocity, tempStepping, saltStepping,
386       & tempAdvection, tempIsActiveTr, tempForcing,       & tempAdvection, tempVertDiff4, tempIsActiveTr, tempForcing,
387       & saltAdvection, saltIsActiveTr, saltForcing,       & saltAdvection, saltVertDiff4, saltIsActiveTr, saltForcing,
388       & maskIniTemp, maskIniSalt, checkIniTemp, checkIniSalt,       & maskIniTemp, maskIniSalt, checkIniTemp, checkIniSalt,
389       & useRealFreshWaterFlux, useSRCGSolver,       & useSRCGSolver,
390       & rigidLid, implicitFreeSurface, exactConserv, linFSConserveTr,       & rigidLid, implicitFreeSurface,
391       & uniformLin_PhiSurf,       & uniformLin_PhiSurf, uniformFreeSurfLev,
392       & quasiHydrostatic, nonHydrostatic,       & exactConserv, linFSConserveTr, useRealFreshWaterFlux,
393       & use3Dsolver, implicitIntGravWave, staggerTimeStep,       & quasiHydrostatic, nonHydrostatic, use3Dsolver,
394         & implicitIntGravWave, staggerTimeStep, doResetHFactors,
395       & implicitDiffusion, implicitViscosity,       & implicitDiffusion, implicitViscosity,
396       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,       & tempImplVertAdv, saltImplVertAdv, momImplVertAdv,
397       & multiDimAdvection, useMultiDimAdvec,       & multiDimAdvection, useMultiDimAdvec,
398       & momDissip_In_AB, doAB_onGtGs,       & momDissip_In_AB, doAB_onGtGs,
399       & balanceEmPmR, balanceQnet, balancePrintMean,       & balanceEmPmR, balanceQnet, balancePrintMean,
400         & balanceThetaClimRelax, balanceSaltClimRelax,
401       & doThetaClimRelax, doSaltClimRelax,       & doThetaClimRelax, doSaltClimRelax,
402       & allowFreezing, allowInteriorFreezing, useOldFreezing,       & allowFreezing, useOldFreezing,
403       & periodicExternalForcing,       & periodicExternalForcing,
404       & globalFiles,       & globalFiles,
405       & pickupStrictlyMatch, usePickupBeforeC54, startFromPickupAB2,       & pickupStrictlyMatch, usePickupBeforeC54, startFromPickupAB2,
# Line 398  C     printDomain     :: controls printi Line 407  C     printDomain     :: controls printi
407       & writePickupAtEnd,       & writePickupAtEnd,
408       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio,
409       & outputTypesInclusive, dumpInitAndLast,       & outputTypesInclusive, dumpInitAndLast,
410       & printDomain,       & printDomain
      & inAdMode, inAdTrue, inAdFalse, inAdExact  
411    
412        LOGICAL fluidIsAir        LOGICAL fluidIsAir
413        LOGICAL fluidIsWater        LOGICAL fluidIsWater
# Line 409  C     printDomain     :: controls printi Line 417  C     printDomain     :: controls printi
417        LOGICAL usingCartesianGrid        LOGICAL usingCartesianGrid
418        LOGICAL usingSphericalPolarGrid, rotateGrid        LOGICAL usingSphericalPolarGrid, rotateGrid
419        LOGICAL usingCylindricalGrid        LOGICAL usingCylindricalGrid
420        LOGICAL usingCurvilinearGrid        LOGICAL usingCurvilinearGrid, hasWetCSCorners
421        LOGICAL deepAtmosphere        LOGICAL deepAtmosphere
422        LOGICAL setInterFDr        LOGICAL setInterFDr
423        LOGICAL setCenterDr        LOGICAL setCenterDr
# Line 426  C     printDomain     :: controls printi Line 434  C     printDomain     :: controls printi
434        LOGICAL useCoriolis        LOGICAL useCoriolis
435        LOGICAL vectorInvariantMomentum        LOGICAL vectorInvariantMomentum
436        LOGICAL tempAdvection        LOGICAL tempAdvection
437          LOGICAL tempVertDiff4
438        LOGICAL tempIsActiveTr        LOGICAL tempIsActiveTr
439        LOGICAL tempForcing        LOGICAL tempForcing
440        LOGICAL saltAdvection        LOGICAL saltAdvection
441          LOGICAL saltVertDiff4
442        LOGICAL saltIsActiveTr        LOGICAL saltIsActiveTr
443        LOGICAL saltForcing        LOGICAL saltForcing
444        LOGICAL maskIniTemp        LOGICAL maskIniTemp
445        LOGICAL maskIniSalt        LOGICAL maskIniSalt
446        LOGICAL checkIniTemp        LOGICAL checkIniTemp
447        LOGICAL checkIniSalt        LOGICAL checkIniSalt
       LOGICAL useRealFreshWaterFlux  
448        LOGICAL useSRCGSolver        LOGICAL useSRCGSolver
449        LOGICAL rigidLid        LOGICAL rigidLid
450        LOGICAL implicitFreeSurface        LOGICAL implicitFreeSurface
451          LOGICAL uniformLin_PhiSurf
452          LOGICAL uniformFreeSurfLev
453        LOGICAL exactConserv        LOGICAL exactConserv
454        LOGICAL linFSConserveTr        LOGICAL linFSConserveTr
455        LOGICAL uniformLin_PhiSurf        LOGICAL useRealFreshWaterFlux
456        LOGICAL quasiHydrostatic        LOGICAL quasiHydrostatic
457        LOGICAL nonHydrostatic        LOGICAL nonHydrostatic
458        LOGICAL use3Dsolver        LOGICAL use3Dsolver
459        LOGICAL implicitIntGravWave        LOGICAL implicitIntGravWave
460        LOGICAL staggerTimeStep        LOGICAL staggerTimeStep
461          LOGICAL doResetHFactors
462        LOGICAL momStepping        LOGICAL momStepping
463          LOGICAL calc_wVelocity
464        LOGICAL tempStepping        LOGICAL tempStepping
465        LOGICAL saltStepping        LOGICAL saltStepping
466        LOGICAL metricTerms        LOGICAL metricTerms
# Line 474  C     printDomain     :: controls printi Line 487  C     printDomain     :: controls printi
487        LOGICAL balancePrintMean        LOGICAL balancePrintMean
488        LOGICAL doThetaClimRelax        LOGICAL doThetaClimRelax
489        LOGICAL doSaltClimRelax        LOGICAL doSaltClimRelax
490          LOGICAL balanceThetaClimRelax
491          LOGICAL balanceSaltClimRelax
492        LOGICAL allowFreezing        LOGICAL allowFreezing
       LOGICAL allowInteriorFreezing  
493        LOGICAL useOldFreezing        LOGICAL useOldFreezing
494        LOGICAL periodicExternalForcing        LOGICAL periodicExternalForcing
495        LOGICAL globalFiles        LOGICAL globalFiles
# Line 488  C     printDomain     :: controls printi Line 502  C     printDomain     :: controls printi
502        LOGICAL outputTypesInclusive        LOGICAL outputTypesInclusive
503        LOGICAL dumpInitAndLast        LOGICAL dumpInitAndLast
504        LOGICAL printDomain        LOGICAL printDomain
       LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact  
505    
506  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
507  C     cg2dTargetResidual  C     cg2dTargetResidual
# Line 514  C           defaults to 0.51 but can be Line 527  C           defaults to 0.51 but can be
527  C     delR      :: Vertical grid spacing ( units of r ).  C     delR      :: Vertical grid spacing ( units of r ).
528  C     delRc     :: Vertical grid spacing between cell centers (r unit).  C     delRc     :: Vertical grid spacing between cell centers (r unit).
529  C     delX      :: Separation between cell faces (m) or (deg), depending  C     delX      :: Separation between cell faces (m) or (deg), depending
530  C     delY        on input flags.  C     delY         on input flags. Note: moved to header file SET_GRID.h
531  C     xgOrigin   :: Origin of the X-axis (Cartesian Grid) / Longitude of Western  C     xgOrigin   :: Origin of the X-axis (Cartesian Grid) / Longitude of Western
532  C                :: most cell face (Lat-Lon grid) (Note: this is an "inert"  C                :: most cell face (Lat-Lon grid) (Note: this is an "inert"
533  C                :: parameter but it makes geographical references simple.)  C                :: parameter but it makes geographical references simple.)
# Line 524  C     gravity   :: Accel. due to gravity Line 537  C     gravity   :: Accel. due to gravity
537  C     recip_gravity and its inverse  C     recip_gravity and its inverse
538  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 )
539  C     rhoNil    :: Reference density for the linear equation of state  C     rhoNil    :: Reference density for the linear equation of state
540  C     rhoConst  :: Vertically constant reference density  C     rhoConst  :: Vertically constant reference density (Boussinesq)
541  C     rhoFacC   :: normalized (by rhoConst) reference density at cell-Center  C     rhoFacC   :: normalized (by rhoConst) reference density at cell-Center
542  C     rhoFacF   :: normalized (by rhoConst) reference density at cell-interFace  C     rhoFacF   :: normalized (by rhoConst) reference density at cell-interFace
543  C     rhoConstFresh :: Constant reference density for fresh water (rain)  C     rhoConstFresh :: Constant reference density for fresh water (rain)
# Line 603  C     viscA4GridMax:: maximum and minimu Line 616  C     viscA4GridMax:: maximum and minimu
616  C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity  C     viscA4GridMin::  in terms of non-dimensional grid-size dependent viscosity
617  C     diffKhT   :: Laplacian diffusion coeff. for mixing of  C     diffKhT   :: Laplacian diffusion coeff. for mixing of
618  C                 heat laterally ( m^2/s )  C                 heat laterally ( m^2/s )
 C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.  
 C                 for mixing of heat vertically ( units of r^2/s )  
619  C     diffK4T   :: Biharmonic diffusion coeff. for mixing of  C     diffK4T   :: Biharmonic diffusion coeff. for mixing of
620  C                 heat laterally ( m^4/s )  C                 heat laterally ( m^4/s )
621    C     diffKrNrT :: vertical profile of Laplacian diffusion coeff.
622    C                 for mixing of heat vertically ( units of r^2/s )
623    C     diffKr4T  :: vertical profile of Biharmonic diffusion coeff.
624    C                 for mixing of heat vertically ( units of r^4/s )
625  C     diffKhS  ::  Laplacian diffusion coeff. for mixing of  C     diffKhS  ::  Laplacian diffusion coeff. for mixing of
626  C                 salt laterally ( m^2/s )  C                 salt laterally ( m^2/s )
 C     diffKrNrS :: vertical profile of Laplacian diffusion coeff.  
 C                 for mixing of salt vertically ( units of r^2/s ),  
627  C     diffK4S   :: Biharmonic diffusion coeff. for mixing of  C     diffK4S   :: Biharmonic diffusion coeff. for mixing of
628  C                 salt laterally ( m^4/s )  C                 salt laterally ( m^4/s )
629    C     diffKrNrS :: vertical profile of Laplacian diffusion coeff.
630    C                 for mixing of salt vertically ( units of r^2/s ),
631    C     diffKr4S  :: vertical profile of Biharmonic diffusion coeff.
632    C                 for mixing of salt vertically ( units of r^4/s )
633  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
634  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
635  C     diffKrBL79scl  :: depth scale for arctan fn (m) Bryan and Lewis, 1979  C     diffKrBL79scl  :: depth scale for arctan fn (m) Bryan and Lewis, 1979
# Line 633  C                    are referenced to t Line 650  C                    are referenced to t
650  C     deltaTMom    :: Timestep for momemtum equations ( s )  C     deltaTMom    :: Timestep for momemtum equations ( s )
651  C     dTtracerLev  :: Timestep for tracer equations ( s ), function of level k  C     dTtracerLev  :: Timestep for tracer equations ( s ), function of level k
652  C     deltaTfreesurf :: Timestep for free-surface equation ( s )  C     deltaTfreesurf :: Timestep for free-surface equation ( s )
653  C     freesurfFac  :: Parameter to turn implicit free surface term on or off  C     freeSurfFac  :: Parameter to turn implicit free surface term on or off
654  C                    freesurfac = 1. uses implicit free surface  C                     freeSurFac = 1. uses implicit free surface
655  C                    freesurfac = 0. uses rigid lid  C                     freeSurFac = 0. uses rigid lid
656  C     abEps        :: Adams-Bashforth-2 stabilizing weight  C     abEps        :: Adams-Bashforth-2 stabilizing weight
657  C     alph_AB      :: Adams-Bashforth-3 primary factor  C     alph_AB      :: Adams-Bashforth-3 primary factor
658  C     beta_AB      :: Adams-Bashforth-3 secondary factor  C     beta_AB      :: Adams-Bashforth-3 secondary factor
# Line 660  C     endTime       :: Ending time for t Line 677  C     endTime       :: Ending time for t
677  C     chkPtFreq     :: Frequency of rolling check pointing ( s ).  C     chkPtFreq     :: Frequency of rolling check pointing ( s ).
678  C     pChkPtFreq    :: Frequency of permanent check pointing ( s ).  C     pChkPtFreq    :: Frequency of permanent check pointing ( s ).
679  C     dumpFreq      :: Frequency with which model state is written to  C     dumpFreq      :: Frequency with which model state is written to
680  C                     post-processing files ( s ).  C                      post-processing files ( s ).
681  C     diagFreq      :: Frequency with which model writes diagnostic output  C     diagFreq      :: Frequency with which model writes diagnostic output
682  C                     of intermediate quantities.  C                      of intermediate quantities.
683  C     afFacMom      :: Advection of momentum term tracer parameter  C     afFacMom      :: Advection of momentum term tracer parameter
684  C     vfFacMom      :: Momentum viscosity tracer parameter  C     vfFacMom      :: Momentum viscosity tracer parameter
685  C     pfFacMom      :: Momentum pressure forcing tracer parameter  C     pfFacMom      :: Momentum pressure forcing tracer parameter
# Line 716  C     thetaEuler    :: Euler angle, rota Line 733  C     thetaEuler    :: Euler angle, rota
733  C     psiEuler      :: Euler angle, rotation about new z-axis  C     psiEuler      :: Euler angle, rotation about new z-axis
734        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,        COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
735       & cg2dpcOffDFac, cg3dTargetResidual,       & cg2dpcOffDFac, cg3dTargetResidual,
736       & delR, delRc, delX, delY, xgOrigin, ygOrigin,       & delR, delRc, xgOrigin, ygOrigin,
737       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
738       & abEps, alph_AB, beta_AB,       & abEps, alph_AB, beta_AB,
739       & rSphere, recip_rSphere, radius_fromHorizGrid,       & rSphere, recip_rSphere, radius_fromHorizGrid,
# Line 730  C     psiEuler      :: Euler angle, rota Line 747  C     psiEuler      :: Euler angle, rota
747       & viscA4Grid, viscA4GridMax, viscA4GridMin,       & viscA4Grid, viscA4GridMax, viscA4GridMin,
748       & viscAhReMax, viscA4ReMax,       & viscAhReMax, viscA4ReMax,
749       & viscC4leith, viscC4leithD, viscArNr,       & viscC4leith, viscC4leithD, viscArNr,
750       & diffKhT, diffK4T, diffKrNrT,       & diffKhT, diffK4T, diffKrNrT, diffKr4T,
751       & diffKhS, diffK4S, diffKrNrS,       & diffKhS, diffK4S, diffKrNrS, diffKr4S,
752       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
753       & BL79LatVary,       & BL79LatVary,
754       & diffKrBLEQsurf, diffKrBLEQdeep, diffKrBLEQscl, diffKrBLEQHo,       & diffKrBLEQsurf, diffKrBLEQdeep, diffKrBLEQscl, diffKrBLEQHo,
# Line 739  C     psiEuler      :: Euler angle, rota Line 756  C     psiEuler      :: Euler angle, rota
756       & freeSurfFac, implicSurfPress, implicDiv2Dflow, implicitNHPress,       & freeSurfFac, implicSurfPress, implicDiv2Dflow, implicitNHPress,
757       & hFacMin, hFacMinDz, hFacInf, hFacSup,       & hFacMin, hFacMinDz, hFacInf, hFacSup,
758       & gravity, recip_gravity, gBaro,       & gravity, recip_gravity, gBaro,
759       & rhonil, recip_rhonil, rhoConst, recip_rhoConst,       & rhoNil, rhoConst, recip_rhoConst,
760       & rhoFacC, recip_rhoFacC, rhoFacF, recip_rhoFacF,       & rhoFacC, recip_rhoFacC, rhoFacF, recip_rhoFacF,
761       & rhoConstFresh, rho1Ref, tRef, sRef, phiRef, dBdrRef,       & rhoConstFresh, rho1Ref, tRef, sRef, phiRef, dBdrRef,
762       & rVel2wUnit, wUnit2rVel, mass2rUnit, rUnit2mass,       & rVel2wUnit, wUnit2rVel, mass2rUnit, rUnit2mass,
# Line 765  C     psiEuler      :: Euler angle, rota Line 782  C     psiEuler      :: Euler angle, rota
782        _RL cg2dpcOffDFac        _RL cg2dpcOffDFac
783        _RL delR(Nr)        _RL delR(Nr)
784        _RL delRc(Nr+1)        _RL delRc(Nr+1)
       _RL delX(Nx)  
       _RL delY(Ny)  
785        _RL xgOrigin        _RL xgOrigin
786        _RL ygOrigin        _RL ygOrigin
787        _RL deltaT        _RL deltaT
# Line 816  C     psiEuler      :: Euler angle, rota Line 831  C     psiEuler      :: Euler angle, rota
831        _RL viscC4leithD        _RL viscC4leithD
832        _RL viscC4smag        _RL viscC4smag
833        _RL diffKhT        _RL diffKhT
       _RL diffKrNrT(Nr)  
834        _RL diffK4T        _RL diffK4T
835          _RL diffKrNrT(Nr)
836          _RL diffKr4T(Nr)
837        _RL diffKhS        _RL diffKhS
       _RL diffKrNrS(Nr)  
838        _RL diffK4S        _RL diffK4S
839          _RL diffKrNrS(Nr)
840          _RL diffKr4S(Nr)
841        _RL diffKrBL79surf        _RL diffKrBL79surf
842        _RL diffKrBL79deep        _RL diffKrBL79deep
843        _RL diffKrBL79scl        _RL diffKrBL79scl
# Line 834  C     psiEuler      :: Euler angle, rota Line 851  C     psiEuler      :: Euler angle, rota
851        _RL gravity        _RL gravity
852        _RL recip_gravity        _RL recip_gravity
853        _RL gBaro        _RL gBaro
854        _RL rhonil,        recip_rhonil        _RL rhoNil
855        _RL rhoConst,      recip_rhoConst        _RL rhoConst,      recip_rhoConst
856        _RL rhoFacC(Nr),   recip_rhoFacC(Nr)        _RL rhoFacC(Nr),   recip_rhoFacC(Nr)
857        _RL rhoFacF(Nr+1), recip_rhoFacF(Nr+1)        _RL rhoFacF(Nr+1), recip_rhoFacF(Nr+1)
# Line 928  C Logical flags for selecting packages Line 945  C Logical flags for selecting packages
945        LOGICAL useKPP        LOGICAL useKPP
946        LOGICAL useGMRedi        LOGICAL useGMRedi
947        LOGICAL useDOWN_SLOPE        LOGICAL useDOWN_SLOPE
948          LOGICAL useBBL
949        LOGICAL useCAL        LOGICAL useCAL
950        LOGICAL useEXF        LOGICAL useEXF
951        LOGICAL useBulkForce        LOGICAL useBulkForce
# Line 935  C Logical flags for selecting packages Line 953  C Logical flags for selecting packages
953        LOGICAL useCheapAML        LOGICAL useCheapAML
954        LOGICAL useGrdchk        LOGICAL useGrdchk
955        LOGICAL useSMOOTH        LOGICAL useSMOOTH
956          LOGICAL usePROFILES
957        LOGICAL useECCO        LOGICAL useECCO
958        LOGICAL useSBO        LOGICAL useSBO
959        LOGICAL useFLT        LOGICAL useFLT
# Line 943  C Logical flags for selecting packages Line 962  C Logical flags for selecting packages
962        LOGICAL useRBCS        LOGICAL useRBCS
963        LOGICAL useOffLine        LOGICAL useOffLine
964        LOGICAL useMATRIX        LOGICAL useMATRIX
965          LOGICAL useFRAZIL
966        LOGICAL useSEAICE        LOGICAL useSEAICE
967        LOGICAL useSALT_PLUME        LOGICAL useSALT_PLUME
968        LOGICAL useShelfIce        LOGICAL useShelfIce
969          LOGICAL useStreamIce
970        LOGICAL useICEFRONT        LOGICAL useICEFRONT
971        LOGICAL useThSIce        LOGICAL useThSIce
972        LOGICAL useATM2d        LOGICAL useATM2d
# Line 963  C Logical flags for selecting packages Line 984  C Logical flags for selecting packages
984        COMMON /PARM_PACKAGES/        COMMON /PARM_PACKAGES/
985       &        useGAD, useOBCS, useSHAP_FILT, useZONAL_FILT,       &        useGAD, useOBCS, useSHAP_FILT, useZONAL_FILT,
986       &        useOPPS, usePP81, useMY82, useGGL90, useKPP,       &        useOPPS, usePP81, useMY82, useGGL90, useKPP,
987       &        useGMRedi, useDOWN_SLOPE,       &        useGMRedi, useBBL, useDOWN_SLOPE,
988       &        useCAL, useEXF, useBulkForce, useEBM, useCheapAML,       &        useCAL, useEXF, useBulkForce, useEBM, useCheapAML,
989       &        useGrdchk, useSMOOTH, useECCO, useSBO, useFLT,       &        useGrdchk,useSMOOTH,usePROFILES,useECCO,useSBO, useFLT,
990       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,
991       &        useSEAICE, useSALT_PLUME, useShelfIce,       &        useFRAZIL, useSEAICE, useSALT_PLUME, useShelfIce,
992       &        useICEFRONT, useThSIce,       &        useStreamIce, useICEFRONT, useThSIce,
993       &        useATM2D, useAIM, useLand, useFizhi, useGridAlt,       &        useATM2D, useAIM, useLand, useFizhi, useGridAlt,
994       &        useDiagnostics, useREGRID, useLayers, useMNC,       &        useDiagnostics, useREGRID, useLayers, useMNC,
995       &        useRunClock, useEMBED_FILES,       &        useRunClock, useEMBED_FILES,
996       &        useMYPACKAGE       &        useMYPACKAGE
997    
 C     Logical flags for turning off parts of the code in adjoint mode  
       LOGICAL useKPPinAdMode, useKPPinFwdMode  
       LOGICAL useGMrediInAdMode, useGMrediInFwdMode  
       LOGICAL useSEAICEinAdMode, useSEAICEinFwdMode  
       COMMON /PARM_PACKAGES_ADJ/  
      &       useKPPinAdMode, useKPPinFwdMode,  
      &       useGMrediInAdMode, useGMrediInFwdMode,  
      &       useSEAICEinAdMode, useSEAICEinFwdMode  
   
998  CEH3 ;;; Local Variables: ***  CEH3 ;;; Local Variables: ***
999  CEH3 ;;; mode:fortran ***  CEH3 ;;; mode:fortran ***
1000  CEH3 ;;; End: ***  CEH3 ;;; End: ***

Legend:
Removed from v.1.252  
changed lines
  Added in v.1.265

  ViewVC Help
Powered by ViewVC 1.1.22