/[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.223 by jmc, Fri Sep 5 19:55:56 2008 UTC revision 1.243 by jmc, Fri Nov 12 03:15:54 2010 UTC
# Line 38  C     sRefFile      :: File containing r Line 38  C     sRefFile      :: File containing r
38  C     rhoRefFile    :: File containing reference density profile rhoRef (1.D)  C     rhoRefFile    :: File containing reference density profile rhoRef (1.D)
39  C     delRFile      :: File containing vertical grid spacing delR  (1.D array)  C     delRFile      :: File containing vertical grid spacing delR  (1.D array)
40  C     delRcFile     :: File containing vertical grid spacing delRc (1.D array)  C     delRcFile     :: File containing vertical grid spacing delRc (1.D array)
41    C     hybSigmFile   :: File containing hybrid-sigma vertical coord. coeff. (2x 1.D)
42  C     delXFile      :: File containing X-spacing grid definition (1.D array)  C     delXFile      :: File containing X-spacing grid definition (1.D array)
43  C     delYFile      :: File containing Y-spacing grid definition (1.D array)  C     delYFile      :: File containing Y-spacing grid definition (1.D array)
44  C     horizGridFile :: File containing horizontal-grid definition  C     horizGridFile :: File containing horizontal-grid definition
# Line 46  C     bathyFile       :: File containing Line 47  C     bathyFile       :: File containing
47  C                        is taken from inline function.  C                        is taken from inline function.
48  C     topoFile        :: File containing the topography of the surface (unit=m)  C     topoFile        :: File containing the topography of the surface (unit=m)
49  C                        (mainly used for the atmosphere = ground height).  C                        (mainly used for the atmosphere = ground height).
 C     shelfIceFile    :: File containing the topography of the shelfice draught  
 C                        (unit=m)  
50  C     hydrogThetaFile :: File containing initial hydrographic data (3-D)  C     hydrogThetaFile :: File containing initial hydrographic data (3-D)
51  C                        for potential temperature.  C                        for potential temperature.
52  C     hydrogSaltFile  :: File containing initial hydrographic data (3-D)  C     hydrogSaltFile  :: File containing initial hydrographic data (3-D)
53  C                        for salinity.  C                        for salinity.
54  C     diffKrFile      :: File containing 3D specification of vertical diffusivity  C     diffKrFile      :: File containing 3D specification of vertical diffusivity
55    C     viscAhDfile     :: File containing 3D specification of horizontal viscosity
56    C     viscAhZfile     :: File containing 3D specification of horizontal viscosity
57    C     viscA4Dfile     :: File containing 3D specification of horizontal viscosity
58    C     viscA4Zfile     :: File containing 3D specification of horizontal viscosity
59  C     zonalWindFile   :: File containing zonal wind data  C     zonalWindFile   :: File containing zonal wind data
60  C     meridWindFile   :: File containing meridional wind data  C     meridWindFile   :: File containing meridional wind data
61  C     thetaClimFile   :: File containing surface theta climataology used  C     thetaClimFile   :: File containing surface theta climataology used
# Line 77  C     the_run_name    :: string identify Line 80  C     the_run_name    :: string identify
80       &                buoyancyRelation, eosType,       &                buoyancyRelation, eosType,
81       &                pickupSuff, mdsioLocalDir,       &                pickupSuff, mdsioLocalDir,
82       &                tRefFile, sRefFile, rhoRefFile,       &                tRefFile, sRefFile, rhoRefFile,
83       &                delRFile, delRcFile,       &                delRFile, delRcFile, hybSigmFile,
84       &                delXFile, delYFile, horizGridFile,       &                delXFile, delYFile, horizGridFile,
85       &                bathyFile, topoFile, shelfIceFile,       &                bathyFile, topoFile,
86         &                viscAhDfile, viscAhZfile,
87         &                viscA4Dfile, viscA4Zfile,
88       &                hydrogThetaFile, hydrogSaltFile, diffKrFile,       &                hydrogThetaFile, hydrogSaltFile, diffKrFile,
89       &                zonalWindFile, meridWindFile, thetaClimFile,       &                zonalWindFile, meridWindFile, thetaClimFile,
90       &                saltClimFile,       &                saltClimFile,
# Line 99  C     the_run_name    :: string identify Line 104  C     the_run_name    :: string identify
104        CHARACTER*(MAX_LEN_FNAM) rhoRefFile        CHARACTER*(MAX_LEN_FNAM) rhoRefFile
105        CHARACTER*(MAX_LEN_FNAM) delRFile        CHARACTER*(MAX_LEN_FNAM) delRFile
106        CHARACTER*(MAX_LEN_FNAM) delRcFile        CHARACTER*(MAX_LEN_FNAM) delRcFile
107          CHARACTER*(MAX_LEN_FNAM) hybSigmFile
108        CHARACTER*(MAX_LEN_FNAM) delXFile        CHARACTER*(MAX_LEN_FNAM) delXFile
109        CHARACTER*(MAX_LEN_FNAM) delYFile        CHARACTER*(MAX_LEN_FNAM) delYFile
110        CHARACTER*(MAX_LEN_FNAM) horizGridFile        CHARACTER*(MAX_LEN_FNAM) horizGridFile
111        CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile, shelfIceFile        CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile
112        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile, hydrogSaltFile        CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile, hydrogSaltFile
113        CHARACTER*(MAX_LEN_FNAM) diffKrFile        CHARACTER*(MAX_LEN_FNAM) diffKrFile
114          CHARACTER*(MAX_LEN_FNAM) viscAhDfile
115          CHARACTER*(MAX_LEN_FNAM) viscAhZfile
116          CHARACTER*(MAX_LEN_FNAM) viscA4Dfile
117          CHARACTER*(MAX_LEN_FNAM) viscA4Zfile
118        CHARACTER*(MAX_LEN_FNAM) zonalWindFile        CHARACTER*(MAX_LEN_FNAM) zonalWindFile
119        CHARACTER*(MAX_LEN_FNAM) meridWindFile        CHARACTER*(MAX_LEN_FNAM) meridWindFile
120        CHARACTER*(MAX_LEN_FNAM) thetaClimFile        CHARACTER*(MAX_LEN_FNAM) thetaClimFile
# Line 141  C     nTimeSteps          :: Number of t Line 151  C     nTimeSteps          :: Number of t
151  C     writeStatePrec      :: Precision used for writing model state.  C     writeStatePrec      :: Precision used for writing model state.
152  C     writeBinaryPrec     :: Precision used for writing binary files  C     writeBinaryPrec     :: Precision used for writing binary files
153  C     readBinaryPrec      :: Precision used for reading binary files  C     readBinaryPrec      :: Precision used for reading binary files
154    C     selectCoriMap       :: select setting of Coriolis parameter map:
155    C                           =0 f-Plane (Constant Coriolis, = f0)
156    C                           =1 Beta-Plane Coriolis (= f0 + beta.y)
157    C                           =2 Spherical Coriolis (= 2.omega.sin(phi))
158    C                           =3 Read Coriolis 2-d fields from files.
159    C     selectSigmaCoord    :: option related to sigma vertical coordinate
160  C     nonlinFreeSurf      :: option related to non-linear free surface  C     nonlinFreeSurf      :: option related to non-linear free surface
161  C                           =0 Linear free surface ; >0 Non-linear  C                           =0 Linear free surface ; >0 Non-linear
162  C     select_rStar        :: option related to r* vertical coordinate  C     select_rStar        :: option related to r* vertical coordinate
163  C                           =0 (default) use r coord. ; > 0 use r*  C                           =0 (default) use r coord. ; > 0 use r*
164    C     selectNHfreeSurf    :: option for Non-Hydrostatic (free-)Surface formulation:
165    C                           =0 (default) hydrostatic surf. ; > 0 add NH effects.
166  C     selectAddFluid      :: option to add mass source/sink of fluid in the interior  C     selectAddFluid      :: option to add mass source/sink of fluid in the interior
167  C                            (3-D generalisation of oceanic real-fresh water flux)  C                            (3-D generalisation of oceanic real-fresh water flux)
168  C                           =0 off ; =1 add fluid ; =-1 virtual flux (no mass added)  C                           =0 off ; =1 add fluid ; =-1 virtual flux (no mass added)
# Line 170  C     debugLevel          :: debug level Line 188  C     debugLevel          :: debug level
188       &        nIter0, nTimeSteps, nEndIter,       &        nIter0, nTimeSteps, nEndIter,
189       &        writeStatePrec,       &        writeStatePrec,
190       &        writeBinaryPrec, readBinaryPrec,       &        writeBinaryPrec, readBinaryPrec,
191         &        selectCoriMap,
192         &        selectSigmaCoord,
193       &        nonlinFreeSurf, select_rStar,       &        nonlinFreeSurf, select_rStar,
194         &        selectNHfreeSurf,
195       &        selectAddFluid,       &        selectAddFluid,
196       &        momForcingOutAB, tracForcingOutAB,       &        momForcingOutAB, tracForcingOutAB,
197       &        tempAdvScheme, tempVertAdvScheme,       &        tempAdvScheme, tempVertAdvScheme,
# Line 188  C     debugLevel          :: debug level Line 209  C     debugLevel          :: debug level
209        INTEGER writeStatePrec        INTEGER writeStatePrec
210        INTEGER writeBinaryPrec        INTEGER writeBinaryPrec
211        INTEGER readBinaryPrec        INTEGER readBinaryPrec
212          INTEGER selectCoriMap
213          INTEGER selectSigmaCoord
214        INTEGER nonlinFreeSurf        INTEGER nonlinFreeSurf
215        INTEGER select_rStar        INTEGER select_rStar
216          INTEGER selectNHfreeSurf
217        INTEGER selectAddFluid        INTEGER selectAddFluid
218        INTEGER momForcingOutAB, tracForcingOutAB        INTEGER momForcingOutAB, tracForcingOutAB
219        INTEGER tempAdvScheme, tempVertAdvScheme        INTEGER tempAdvScheme, tempVertAdvScheme
# Line 240  C     metricTerms   :: Flag which turns Line 264  C     metricTerms   :: Flag which turns
264  C     useNHMTerms   :: If TRUE use non-hydrostatic metric terms.  C     useNHMTerms   :: If TRUE use non-hydrostatic metric terms.
265  C     useCoriolis   :: Flag which turns the coriolis terms on and off.  C     useCoriolis   :: Flag which turns the coriolis terms on and off.
266  C     use3dCoriolis :: Turns the 3-D coriolis terms (in Omega.cos Phi) on - off  C     use3dCoriolis :: Turns the 3-D coriolis terms (in Omega.cos Phi) on - off
 C     useConstantF  :: Coriolis parameter set to f0  
 C     useBetaPlaneF :: Coriolis parameter set to f0 + beta.y  
 C     useSphereF    :: Coriolis parameter set to 2.omega.sin(phi)  
267  C     useCDscheme   :: use CD-scheme to calculate Coriolis terms.  C     useCDscheme   :: use CD-scheme to calculate Coriolis terms.
268  C     vectorInvariantMomentum :: use Vector-Invariant form (mom_vecinv package)  C     vectorInvariantMomentum :: use Vector-Invariant form (mom_vecinv package)
269  C                                (default = F = use mom_fluxform package)  C                                (default = F = use mom_fluxform package)
# Line 264  C     saltAdvection  :: Flag which turns Line 285  C     saltAdvection  :: Flag which turns
285  C     saltIsActiveTr :: Salinity  is a dynamically active tracer  C     saltIsActiveTr :: Salinity  is a dynamically active tracer
286  C     saltForcing    :: Flag which turns external forcing of salinity on  C     saltForcing    :: Flag which turns external forcing of salinity on
287  C                       and off.  C                       and off.
288    C     maskIniTemp    :: apply mask to initial Pot.Temp.
289    C     maskIniSalt    :: apply mask to initial salinity
290    C     checkIniTemp   :: check for points with identically zero initial Pot.Temp.
291    C     checkIniSalt   :: check for points with identically zero initial salinity
292  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux  C     useRealFreshWaterFlux :: if True (=Natural BCS), treats P+R-E flux
293  C                         as a real Fresh Water (=> changes the Sea Level)  C                         as a real Fresh Water (=> changes the Sea Level)
294  C                         if F, converts P+R-E to salt flux (no SL effect)  C                         if F, converts P+R-E to salt flux (no SL effect)
295    C- Pressure solver related parameters (PARM02)
296    C     useSRCGSolver  :: Set to true to use conjugate gradient
297    C                       solver with single reduction (only one call of
298    C                       s/r mpi_allreduce), default is false
299  C- Time-stepping params:  C- Time-stepping params:
300  C     rigidLid            :: Set to true to use rigid lid  C     rigidLid            :: Set to true to use rigid lid
301  C     implicitFreeSurface :: Set to true to use implicit free surface  C     implicitFreeSurface :: Set to true to use implicit free surface
# Line 303  C     allowFreezing  :: Allows surface w Line 332  C     allowFreezing  :: Allows surface w
332  C     useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12)  C     useOldFreezing :: use the old version (before checkpoint52a_pre, 2003-11-12)
333  C     periodicExternalForcing :: Set true if forcing is time-dependant  C     periodicExternalForcing :: Set true if forcing is time-dependant
334  C- I/O parameters -  C- I/O parameters -
335  C     globalFiles    :: Selects between "global" and "tiled" files  C     globalFiles    :: Selects between "global" and "tiled" files.
336  C     useSingleCpuIO :: On SGI platforms, option globalFiles is either  C                       On some platforms with MPI, option globalFiles is either
337  C                       slow (f77) or does not work (f90).  When  C                       slow or does not work. Use useSingleCpuIO instead.
338  C                       useSingleCpuIO is set, mdsio_writefield.F  C     useSingleCpuIO :: moved to EEPARAMS.h
 C                       outputs from master mpi process only.  
339  C     pickupStrictlyMatch :: check and stop if pickup-file do not stricly match  C     pickupStrictlyMatch :: check and stop if pickup-file do not stricly match
340  C     startFromPickupAB2 :: with AB-3 code, start from an AB-2 pickup  C     startFromPickupAB2 :: with AB-3 code, start from an AB-2 pickup
341  C     usePickupBeforeC54 :: start from old-pickup files, generated with code from  C     usePickupBeforeC54 :: start from old-pickup files, generated with code from
# Line 333  C                        & Last iteratio Line 361  C                        & Last iteratio
361       & momViscosity, momAdvection, momForcing,       & momViscosity, momAdvection, momForcing,
362       & momPressureForcing, metricTerms, useNHMTerms,       & momPressureForcing, metricTerms, useNHMTerms,
363       & useCoriolis, use3dCoriolis,       & useCoriolis, use3dCoriolis,
      & useConstantF, useBetaPlaneF, useSphereF,  
364       & useCDscheme, vectorInvariantMomentum,       & useCDscheme, vectorInvariantMomentum,
365       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,       & useEnergyConservingCoriolis, useJamartWetPoints, useJamartMomAdv,
366       & upwindVorticity, highOrderVorticity,       & upwindVorticity, highOrderVorticity,
# Line 341  C                        & Last iteratio Line 368  C                        & Last iteratio
368       & momStepping, tempStepping, saltStepping,       & momStepping, tempStepping, saltStepping,
369       & tempAdvection, tempIsActiveTr, tempForcing,       & tempAdvection, tempIsActiveTr, tempForcing,
370       & saltAdvection, saltIsActiveTr, saltForcing,       & saltAdvection, saltIsActiveTr, saltForcing,
371         & maskIniTemp, maskIniSalt, checkIniTemp, checkIniSalt,
372       & useRealFreshWaterFlux,       & useRealFreshWaterFlux,
373       & rigidLid, implicitFreeSurface, exactConserv, linFSConserveTr,       & rigidLid, implicitFreeSurface, exactConserv, linFSConserveTr,
374       & uniformLin_PhiSurf,       & uniformLin_PhiSurf,
# Line 354  C                        & Last iteratio Line 382  C                        & Last iteratio
382       & doThetaClimRelax, doSaltClimRelax,       & doThetaClimRelax, doSaltClimRelax,
383       & allowFreezing, useOldFreezing,       & allowFreezing, useOldFreezing,
384       & periodicExternalForcing,       & periodicExternalForcing,
385       & globalFiles, useSingleCpuIO,       & globalFiles,
386       & pickupStrictlyMatch, usePickupBeforeC54, startFromPickupAB2,       & pickupStrictlyMatch, usePickupBeforeC54, startFromPickupAB2,
387       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,       & pickup_read_mdsio, pickup_write_mdsio, pickup_write_immed,
388       & writePickupAtEnd,       & writePickupAtEnd,
389       & timeave_mdsio, snapshot_mdsio, monitor_stdio,       & timeave_mdsio, snapshot_mdsio, monitor_stdio,
390       & outputTypesInclusive, dumpInitAndLast, debugMode,       & outputTypesInclusive, dumpInitAndLast, debugMode,
391       & inAdMode, inAdTrue, inAdFalse, inAdExact       & inAdMode, inAdTrue, inAdFalse, inAdExact,
392         & useSRCGSolver
393    
394        LOGICAL fluidIsAir        LOGICAL fluidIsAir
395        LOGICAL fluidIsWater        LOGICAL fluidIsWater
# Line 389  C                        & Last iteratio Line 418  C                        & Last iteratio
418        LOGICAL saltAdvection        LOGICAL saltAdvection
419        LOGICAL saltIsActiveTr        LOGICAL saltIsActiveTr
420        LOGICAL saltForcing        LOGICAL saltForcing
421          LOGICAL maskIniTemp
422          LOGICAL maskIniSalt
423          LOGICAL checkIniTemp
424          LOGICAL checkIniSalt
425        LOGICAL useRealFreshWaterFlux        LOGICAL useRealFreshWaterFlux
426        LOGICAL useFullLeith        LOGICAL useFullLeith
427        LOGICAL useStrainTensionVisc        LOGICAL useStrainTensionVisc
# Line 407  C                        & Last iteratio Line 440  C                        & Last iteratio
440        LOGICAL tempStepping        LOGICAL tempStepping
441        LOGICAL saltStepping        LOGICAL saltStepping
442        LOGICAL metricTerms        LOGICAL metricTerms
       LOGICAL useConstantF  
       LOGICAL useBetaPlaneF  
       LOGICAL useSphereF  
443        LOGICAL use3dCoriolis        LOGICAL use3dCoriolis
444        LOGICAL useCDscheme        LOGICAL useCDscheme
445        LOGICAL useEnergyConservingCoriolis        LOGICAL useEnergyConservingCoriolis
# Line 437  C                        & Last iteratio Line 467  C                        & Last iteratio
467        LOGICAL useOldFreezing        LOGICAL useOldFreezing
468        LOGICAL periodicExternalForcing        LOGICAL periodicExternalForcing
469        LOGICAL globalFiles        LOGICAL globalFiles
       LOGICAL useSingleCpuIO  
470        LOGICAL pickupStrictlyMatch        LOGICAL pickupStrictlyMatch
471        LOGICAL usePickupBeforeC54        LOGICAL usePickupBeforeC54
472        LOGICAL startFromPickupAB2        LOGICAL startFromPickupAB2
# Line 448  C                        & Last iteratio Line 477  C                        & Last iteratio
477        LOGICAL dumpInitAndLast        LOGICAL dumpInitAndLast
478        LOGICAL debugMode        LOGICAL debugMode
479        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact        LOGICAL inAdMode, inAdTrue, inAdFalse, inAdExact
480          LOGICAL useSRCGSolver
481    
482  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.  C--   COMMON /PARM_R/ "Real" valued parameters used by the model.
483  C     cg2dTargetResidual  C     cg2dTargetResidual
# Line 503  C     rUnit2mass :: units conversion fac Line 533  C     rUnit2mass :: units conversion fac
533  C                :: from vertical r-coordinate unit to mass per unit area [kg/m2].  C                :: from vertical r-coordinate unit to mass per unit area [kg/m2].
534  C                :: z-coord: = rhoConst  ( [m] * rho = [kg/m2] ) ;  C                :: z-coord: = rhoConst  ( [m] * rho = [kg/m2] ) ;
535  C                :: p-coord: = 1/gravity ( [Pa] /  g = [kg/m2] ) ;  C                :: p-coord: = 1/gravity ( [Pa] /  g = [kg/m2] ) ;
536  C     phiMin    :: Latitude of southern most cell face.  C     xgOrigin   :: Origin of the X-axis (Cartesian Grid) / Longitude of Western
537  C     thetaMin  :: Longitude of western most cell face (this  C                :: most cell face (Lat-Lon grid) (Note: this is an "inert"
538  C                 is an "inert" parameter but it is included  C                :: parameter but it makes geographical references simple.)
539  C                 to make geographical references simple.)  C     ygOrigin   :: Origin of the Y-axis (Cartesian Grid) / Latitude of Southern
540  C     rSphere   :: Radius of sphere for a spherical polar grid ( m ).  C                :: most face (Lat-Lon grid).
541    C     rSphere    :: Radius of sphere for a spherical polar grid ( m ).
542  C     recip_rSphere  :: Reciprocal radius of sphere ( m ).  C     recip_rSphere  :: Reciprocal radius of sphere ( m ).
543  C     f0        :: Reference coriolis parameter ( 1/s )  C     f0         :: Reference coriolis parameter ( 1/s )
544  C                 ( Southern edge f for beta plane )  C                   ( Southern edge f for beta plane )
545  C     beta      :: df/dy ( s^-1.m^-1 )  C     beta       :: df/dy ( s^-1.m^-1 )
546  C     omega     :: Angular velocity ( rad/s )  C     fPrime     :: Second Coriolis parameter ( 1/s ), related to Y-component
547    C                   of rotation (reference value = 2.Omega.Cos(Phi))
548    C     omega      :: Angular velocity ( rad/s )
549  C     rotationPeriod :: Rotation period (s) (= 2.pi/omega)  C     rotationPeriod :: Rotation period (s) (= 2.pi/omega)
550  C     viscAr    :: Eddy viscosity coeff. for mixing of  C     viscArNr   :: vertical profile of Eddy viscosity coeff.
551  C                 momentum vertically ( units of r^2/s )  C                   for vertical mixing of momentum ( units of r^2/s )
552  C     viscAh    :: Eddy viscosity coeff. for mixing of  C     viscAh     :: Eddy viscosity coeff. for mixing of
553  C                 momentum laterally ( m^2/s )  C                   momentum laterally ( m^2/s )
554  C     viscAhW   :: Eddy viscosity coeff. for mixing of vertical  C     viscAhW    :: Eddy viscosity coeff. for mixing of vertical
555  C                 momentum laterally, no effect for hydrostatic  C                   momentum laterally, no effect for hydrostatic
556  C                 model, defaults to viscAh if unset ( m^2/s )  C                   model, defaults to viscAh if unset ( m^2/s )
557  C                 Not used if variable horiz. viscosity is used.  C                   Not used if variable horiz. viscosity is used.
558  C     viscA4    :: Biharmonic viscosity coeff. for mixing of  C     viscA4     :: Biharmonic viscosity coeff. for mixing of
559  C                 momentum laterally ( m^4/s )  C                   momentum laterally ( m^4/s )
560  C     viscA4W   :: Biharmonic viscosity coeff. for mixing of vertical  C     viscA4W    :: Biharmonic viscosity coeff. for mixing of vertical
561  C                 momentum laterally, no effect for hydrostatic  C                   momentum laterally, no effect for hydrostatic
562  C                 model, defaults to viscA4 if unset ( m^2/s )  C                   model, defaults to viscA4 if unset ( m^2/s )
563  C                 Not used if variable horiz. viscosity is used.  C                   Not used if variable horiz. viscosity is used.
564  C     viscAhD   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhD    :: Eddy viscosity coeff. for mixing of momentum laterally
565  C                  (act on Divergence part) ( m^2/s )  C                   (act on Divergence part) ( m^2/s )
566  C     viscAhZ   :: Eddy viscosity coeff. for mixing of momentum laterally  C     viscAhZ    :: Eddy viscosity coeff. for mixing of momentum laterally
567  C                  (act on Vorticity  part) ( m^2/s )  C                   (act on Vorticity  part) ( m^2/s )
568  C     viscA4D   :: Biharmonic viscosity coeff. for mixing of momentum laterally  C     viscA4D    :: Biharmonic viscosity coeff. for mixing of momentum laterally
569  C                  (act on Divergence part) ( m^4/s )  C                   (act on Divergence part) ( m^4/s )
570  C     viscA4Z   :: Biharmonic viscosity coeff. for mixing of momentum laterally  C     viscA4Z    :: Biharmonic viscosity coeff. for mixing of momentum laterally
571  C                  (act on Vorticity  part) ( m^4/s )  C                   (act on Vorticity  part) ( m^4/s )
572  C     viscC2leith  :: Leith non-dimensional viscosity factor (grad(vort))  C     viscC2leith  :: Leith non-dimensional viscosity factor (grad(vort))
573  C     viscC2leithD :: Modified Leith non-dimensional visc. factor (grad(div))  C     viscC2leithD :: Modified Leith non-dimensional visc. factor (grad(div))
574  C     viscC4leith  :: Leith non-dimensional viscosity factor (grad(vort))  C     viscC4leith  :: Leith non-dimensional viscosity factor (grad(vort))
# Line 598  C     implicSurfPress :: parameter of th Line 631  C     implicSurfPress :: parameter of th
631  C                     Implicit part of Surface Pressure Gradient ( 0-1 )  C                     Implicit part of Surface Pressure Gradient ( 0-1 )
632  C     implicDiv2Dflow :: parameter of the Crank-Nickelson time stepping :  C     implicDiv2Dflow :: parameter of the Crank-Nickelson time stepping :
633  C                     Implicit part of barotropic flow Divergence ( 0-1 )  C                     Implicit part of barotropic flow Divergence ( 0-1 )
634    C     implicitNHPress :: parameter of the Crank-Nickelson time stepping :
635    C                     Implicit part of Non-Hydrostatic Pressure Gradient ( 0-1 )
636  C     hFacMin      :: Minimum fraction size of a cell (affects hFacC etc...)  C     hFacMin      :: Minimum fraction size of a cell (affects hFacC etc...)
637  C     hFacMinDz    :: Minimum dimesional size of a cell (affects hFacC etc..., m)  C     hFacMinDz    :: Minimum dimensional size of a cell (affects hFacC etc..., m)
638  C     hFacMinDp    :: Minimum dimesional size of a cell (affects hFacC etc..., Pa)  C     hFacMinDp    :: Minimum dimensional size of a cell (affects hFacC etc..., Pa)
639  C     hFacMinDr    :: Minimum dimesional size of a cell (affects hFacC etc..., units of r)  C     hFacMinDr    :: Minimum dimensional size of a cell (-> hFacC etc..., r units)
640  C     hFacInf      :: Threshold (inf and sup) for fraction size of surface cell  C     hFacInf      :: Threshold (inf and sup) for fraction size of surface cell
641  C     hFacSup        that control vanishing and creating levels  C     hFacSup          that control vanishing and creating levels
642  C     tauCD        :: CD scheme coupling timescale ( 1/s )  C     tauCD         :: CD scheme coupling timescale ( s )
643  C     rCD          :: CD scheme normalised coupling parameter ( 0-1 )  C     rCD           :: CD scheme normalised coupling parameter (= 1 - deltaT/tauCD)
644    C     epsAB_CD      :: Adams-Bashforth-2 stabilizing weight used in CD scheme
645  C     baseTime      :: model base time (time origin) = time @ iteration zero  C     baseTime      :: model base time (time origin) = time @ iteration zero
646  C     startTime     :: Starting time for this integration ( s ).  C     startTime     :: Starting time for this integration ( s ).
647  C     endTime       :: Ending time for this integration ( s ).  C     endTime       :: Ending time for this integration ( s ).
# Line 641  C     convertFW2Salt :: salinity, used t Line 677  C     convertFW2Salt :: salinity, used t
677  C                       (use model surface (local) value if set to -1)  C                       (use model surface (local) value if set to -1)
678  C     temp_EvPrRn :: temperature of Rain & Evap.  C     temp_EvPrRn :: temperature of Rain & Evap.
679  C     salt_EvPrRn :: salinity of Rain & Evap.  C     salt_EvPrRn :: salinity of Rain & Evap.
680    C     temp_addMass :: temperature of addMass array
681    C     salt_addMass :: salinity of addMass array
682  C        (notes: a) tracer content of Rain/Evap only used if both  C        (notes: a) tracer content of Rain/Evap only used if both
683  C                     NonLin_FrSurf & useRealFreshWater are set.  C                     NonLin_FrSurf & useRealFreshWater are set.
684  C                b) use model surface (local) value if set to UNSET_RL)  C                b) use model surface (local) value if set to UNSET_RL)
685  C     hMixCrit    :: criteria for mixed-layer diagnostic  C     hMixCriteria:: criteria for mixed-layer diagnostic
686    C     dRhoSmall   :: parameter for mixed-layer diagnostic
687    C     hMixSmooth  :: Smoothing parameter for mixed-layer diag (default=0=no smoothing)
688  C     ivdc_kappa  :: implicit vertical diffusivity for convection [m^2/s]  C     ivdc_kappa  :: implicit vertical diffusivity for convection [m^2/s]
689  C     Ro_SeaLevel :: standard position of Sea-Level in "R" coordinate, used as  C     Ro_SeaLevel :: standard position of Sea-Level in "R" coordinate, used as
690  C                    starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)  C                    starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)
691    C     rSigmaBnd   :: vertical position (in r-unit) of r/sigma transition (Hybrid-Sigma)
692  C     sideDragFactor     :: side-drag scaling factor (used only if no_slip_sides)  C     sideDragFactor     :: side-drag scaling factor (used only if no_slip_sides)
693  C                           (default=2: full drag ; =1: gives half-slip BC)  C                           (default=2: full drag ; =1: gives half-slip BC)
694  C     bottomDragLinear    :: Linear    bottom-drag coefficient (units of [r]/s)  C     bottomDragLinear    :: Linear    bottom-drag coefficient (units of [r]/s)
# Line 666  C     psiEuler      :: Euler angle, rota Line 707  C     psiEuler      :: Euler angle, rota
707       & delR, delRc, delX, delY,       & delR, delRc, delX, delY,
708       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,       & deltaT, deltaTmom, dTtracerLev, deltaTfreesurf, deltaTClock,
709       & abEps, alph_AB, beta_AB,       & abEps, alph_AB, beta_AB,
710       & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,       & xgOrigin, ygOrigin, rSphere, recip_rSphere,
711       & viscAh, viscAhW, viscAhMax,       & f0, beta, fPrime, omega, rotationPeriod,
712         & viscFacAdj, viscAh, viscAhW, viscAhMax,
713       & viscAhGrid, viscAhGridMax, viscAhGridMin,       & viscAhGrid, viscAhGridMax, viscAhGridMin,
714       & viscC2leith, viscC2leithD,       & viscC2leith, viscC2leithD,
715       & viscC2smag, viscC4smag,       & viscC2smag, viscC4smag,
# Line 675  C     psiEuler      :: Euler angle, rota Line 717  C     psiEuler      :: Euler angle, rota
717       & viscA4, viscA4W, viscA4Max,       & viscA4, viscA4W, viscA4Max,
718       & viscA4Grid, viscA4GridMax, viscA4GridMin,       & viscA4Grid, viscA4GridMax, viscA4GridMin,
719       & viscAhReMax, viscA4ReMax,       & viscAhReMax, viscA4ReMax,
720       & viscC4leith, viscC4leithD, viscAr,       & viscC4leith, viscC4leithD, viscArNr,
721       & diffKhT, diffK4T, diffKrNrT,       & diffKhT, diffK4T, diffKrNrT,
722       & diffKhS, diffK4S, diffKrNrS,       & diffKhS, diffK4S, diffKrNrS,
723       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,       & diffKrBL79surf, diffKrBL79deep, diffKrBL79scl, diffKrBL79Ho,
724       & BL79LatVary,       & BL79LatVary,
725       & diffKrBLEQsurf, diffKrBLEQdeep, diffKrBLEQscl, diffKrBLEQHo,       & diffKrBLEQsurf, diffKrBLEQdeep, diffKrBLEQscl, diffKrBLEQHo,
726       & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,       & tauCD, rCD, epsAB_CD,
727         & freeSurfFac, implicSurfPress, implicDiv2Dflow, implicitNHPress,
728       & hFacMin, hFacMinDz, hFacInf, hFacSup,       & hFacMin, hFacMinDz, hFacInf, hFacSup,
729       & gravity, recip_gravity, gBaro,       & gravity, recip_gravity, gBaro,
730       & rhonil, recip_rhonil, rhoConst, recip_rhoConst,       & rhonil, recip_rhonil, rhoConst, recip_rhoConst,
# Line 692  C     psiEuler      :: Euler angle, rota Line 735  C     psiEuler      :: Euler angle, rota
735       & chkPtFreq, pChkPtFreq, dumpFreq, adjDumpFreq,       & chkPtFreq, pChkPtFreq, dumpFreq, adjDumpFreq,
736       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,       & diagFreq, taveFreq, tave_lastIter, monitorFreq, adjMonitorFreq,
737       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,       & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
738       & cosPower, cAdjFreq, omega, rotationPeriod,       & cosPower, cAdjFreq,
739       & tauThetaClimRelax, tauSaltClimRelax, latBandClimRelax,       & tauThetaClimRelax, tauSaltClimRelax, latBandClimRelax,
740       & externForcingCycle, externForcingPeriod,       & externForcingCycle, externForcingPeriod,
741       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn,       & convertFW2Salt, temp_EvPrRn, salt_EvPrRn,
742       & hFacMinDr, hFacMinDp,       & temp_addMass, salt_addMass, hFacMinDr, hFacMinDp,
743       & ivdc_kappa, hMixCriteria, Ro_SeaLevel,       & ivdc_kappa, hMixCriteria, dRhoSmall, hMixSmooth,
744         & Ro_SeaLevel, rSigmaBnd,
745       & sideDragFactor, bottomDragLinear, bottomDragQuadratic, nh_Am2,       & sideDragFactor, bottomDragLinear, bottomDragQuadratic, nh_Am2,
746       & smoothAbsFuncRange,       & smoothAbsFuncRange,
747       & tCylIn, tCylOut,       & tCylIn, tCylOut,
# Line 717  C     psiEuler      :: Euler angle, rota Line 761  C     psiEuler      :: Euler angle, rota
761        _RL dTtracerLev(Nr)        _RL dTtracerLev(Nr)
762        _RL deltaTfreesurf        _RL deltaTfreesurf
763        _RL abEps, alph_AB, beta_AB        _RL abEps, alph_AB, beta_AB
764        _RL phiMin        _RL xgOrigin
765        _RL thetaMin        _RL ygOrigin
766        _RL rSphere        _RL rSphere
767        _RL recip_rSphere        _RL recip_rSphere
768        _RL f0        _RL f0
769          _RL beta
770          _RL fPrime
771          _RL omega
772          _RL rotationPeriod
773        _RL freeSurfFac        _RL freeSurfFac
774        _RL implicSurfPress        _RL implicSurfPress
775        _RL implicDiv2Dflow        _RL implicDiv2Dflow
776          _RL implicitNHPress
777        _RL hFacMin        _RL hFacMin
778        _RL hFacMinDz        _RL hFacMinDz
779        _RL hFacMinDp        _RL hFacMinDp
780        _RL hFacMinDr        _RL hFacMinDr
781        _RL hFacInf        _RL hFacInf
782        _RL hFacSup        _RL hFacSup
783        _RL beta        _RL viscArNr(Nr)
784        _RL viscAr        _RL viscFacAdj
785        _RL viscAh        _RL viscAh
786        _RL viscAhW        _RL viscAhW
787        _RL viscAhD        _RL viscAhD
# Line 768  C     psiEuler      :: Euler angle, rota Line 817  C     psiEuler      :: Euler angle, rota
817        _RL diffKrBLEQdeep        _RL diffKrBLEQdeep
818        _RL diffKrBLEQscl        _RL diffKrBLEQscl
819        _RL diffKrBLEQHo        _RL diffKrBLEQHo
820        _RL delt        _RL tauCD, rCD, epsAB_CD
       _RL tauCD  
       _RL rCD  
821        _RL gravity        _RL gravity
822        _RL recip_gravity        _RL recip_gravity
823        _RL gBaro        _RL gBaro
# Line 806  C     psiEuler      :: Euler angle, rota Line 853  C     psiEuler      :: Euler angle, rota
853        _RL mtFacMom        _RL mtFacMom
854        _RL cosPower        _RL cosPower
855        _RL cAdjFreq        _RL cAdjFreq
       _RL omega  
       _RL rotationPeriod  
856        _RL tauThetaClimRelax        _RL tauThetaClimRelax
857        _RL tauSaltClimRelax        _RL tauSaltClimRelax
858        _RL latBandClimRelax        _RL latBandClimRelax
# Line 816  C     psiEuler      :: Euler angle, rota Line 861  C     psiEuler      :: Euler angle, rota
861        _RL convertFW2Salt        _RL convertFW2Salt
862        _RL temp_EvPrRn        _RL temp_EvPrRn
863        _RL salt_EvPrRn        _RL salt_EvPrRn
864          _RL temp_addMass
865          _RL salt_addMass
866        _RL ivdc_kappa        _RL ivdc_kappa
867        _RL hMixCriteria        _RL hMixCriteria
868          _RL dRhoSmall
869          _RL hMixSmooth
870        _RL Ro_SeaLevel        _RL Ro_SeaLevel
871          _RL rSigmaBnd
872        _RL sideDragFactor        _RL sideDragFactor
873        _RL bottomDragLinear        _RL bottomDragLinear
874        _RL bottomDragQuadratic        _RL bottomDragQuadratic
# Line 871  C Logical flags for selecting packages Line 921  C Logical flags for selecting packages
921        LOGICAL useEBM        LOGICAL useEBM
922        LOGICAL useCheapAML        LOGICAL useCheapAML
923        LOGICAL useGrdchk        LOGICAL useGrdchk
924          LOGICAL useSMOOTH
925        LOGICAL useECCO        LOGICAL useECCO
926        LOGICAL useSBO        LOGICAL useSBO
927        LOGICAL useFLT        LOGICAL useFLT
# Line 882  C Logical flags for selecting packages Line 933  C Logical flags for selecting packages
933        LOGICAL useSEAICE        LOGICAL useSEAICE
934        LOGICAL useSALT_PLUME        LOGICAL useSALT_PLUME
935        LOGICAL useShelfIce        LOGICAL useShelfIce
936          LOGICAL useICEFRONT
937        LOGICAL useThSIce        LOGICAL useThSIce
938        LOGICAL useATM2d        LOGICAL useATM2d
939        LOGICAL useAIM        LOGICAL useAIM
# Line 890  C Logical flags for selecting packages Line 942  C Logical flags for selecting packages
942        LOGICAL useGridAlt        LOGICAL useGridAlt
943        LOGICAL useDiagnostics        LOGICAL useDiagnostics
944        LOGICAL useREGRID        LOGICAL useREGRID
945          LOGICAL useLayers
946        LOGICAL useMNC        LOGICAL useMNC
947        LOGICAL useRunClock        LOGICAL useRunClock
948        LOGICAL useEMBED_FILES        LOGICAL useEMBED_FILES
# Line 899  C Logical flags for selecting packages Line 952  C Logical flags for selecting packages
952       &        useOPPS, usePP81, useMY82, useGGL90, useKPP,       &        useOPPS, usePP81, useMY82, useGGL90, useKPP,
953       &        useGMRedi, useDOWN_SLOPE,       &        useGMRedi, useDOWN_SLOPE,
954       &        useCAL, useEXF, useBulkForce, useEBM, useCheapAML,       &        useCAL, useEXF, useBulkForce, useEBM, useCheapAML,
955       &        useGrdchk, useECCO, useSBO, useFLT,       &        useGrdchk, useSMOOTH, useECCO, useSBO, useFLT,
956       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,       &        usePTRACERS, useGCHEM, useRBCS, useOffLine, useMATRIX,
957       &        useSEAICE, useSALT_PLUME, useShelfIce, useThSIce,       &        useSEAICE, useSALT_PLUME, useShelfIce,
958         &        useICEFRONT, useThSIce,
959       &        useATM2D, useAIM, useLand, useFizhi, useGridAlt,       &        useATM2D, useAIM, useLand, useFizhi, useGridAlt,
960       &        useDiagnostics, useREGRID, useMNC,       &        useDiagnostics, useREGRID, useLayers, useMNC,
961       &        useRunClock, useEMBED_FILES,       &        useRunClock, useEMBED_FILES,
962       &        useMYPACKAGE       &        useMYPACKAGE
963  CEH3 ;;; Local Variables: ***  CEH3 ;;; Local Variables: ***

Legend:
Removed from v.1.223  
changed lines
  Added in v.1.243

  ViewVC Help
Powered by ViewVC 1.1.22