/[MITgcm]/MITgcm/model/inc/PARAMS.h
ViewVC logotype

Annotation of /MITgcm/model/inc/PARAMS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.57 - (hide annotations) (download)
Wed Aug 15 15:51:46 2001 UTC (22 years, 9 months ago) by adcroft
Branch: MAIN
Changes since 1.56: +6 -2 lines
File MIME type: text/plain
Added run-time control of advection schemes.
 - advection scheme determines method of forward integration.
 - unfortunately, we have to use integers in "data" since ENUM_CENTERED_2ND
   doesn't mean anything to fortran
 - defaults are centered second
 - output differs due to these mods! This is due to the g77 optimization.
   I have tested that using -ffloat-store, these mods do not affect
   the output so am confident about changes.

                T           S           U           V
C D M    c        m  s        m  s        m  s        m  s
n p a R  g  m  m  e  .  m  m  e  .  m  m  e  .  m  m  e  .
f n k u  2  i  a  a  d  i  a  a  d  i  a  a  d  i  a  a  d
g d e n  d  n  x  n  .  n  x  n  .  n  x  n  .  n  x  n  .

Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 22 16 16 pass  adjustment.128x64x1
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass  adjustment.cs-32x32x1
Y Y N N -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- N/O   aim.5l_Equatorial_Channel
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass  aim.5l_LatLon
Y Y N N -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- N/O   aim.5l_zon-ave
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 22 16 pass  exp0
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 22 16 pass  exp1
Y Y Y Y 13 16 16 16 16 16 16 16 13 16 13 13 13 13 13 13 16 pass  exp2
Y Y Y Y 12 16 16 13 16 16 16 16 16 13 16 16 16 16 13 13 16 FAIL  exp4
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 22 16 16 16 22 16 pass  exp5
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass  front_relax
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 22 16 16 16 11 16 pass  hs94.128x64x5
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 22 16 pass  hs94.1x64x5
Y Y Y Y 14 16 16 16 16 16 16 16 16 16 13 16 16 16 16 16 13 pass  hs94.cs-32x32x5
Y Y Y Y 16 16 16 22 16 16 16 16 16 16 16 22 16 16 16 16 16 pass  internal_wave
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass  natl_box
Y Y Y Y 16 16 16 16 16 13 16 13 16 16 16 16 16 16 16 16 16 pass  solid-body.cs-32x32x1

1 adcroft 1.57 C $Header: /u/gcmpack/models/MITgcmUV/model/inc/PARAMS.h,v 1.56 2001/07/13 14:15:29 heimbach Exp $
2 heimbach 1.51 C $Name: $
3 cnh 1.1 C
4     C /==========================================================\
5     C | PARAMS.h |
6     C | o Header file defining model "parameters". |
7     C |==========================================================|
8 cnh 1.33 C | The values from the model standard input file are |
9 cnh 1.1 C | stored into the variables held here. Notes describing |
10     C | the parameters can also be found here. |
11     C \==========================================================/
12 cnh 1.13
13     C Macros for special grid options
14     #include "PARAMS_MACROS.h"
15 cnh 1.1
16     C-- Contants
17     C Useful physical values
18     Real*8 PI
19     PARAMETER ( PI = 3.14159265358979323844D0 )
20     Real*8 deg2rad
21     PARAMETER ( deg2rad = 2.D0*PI/360.D0 )
22    
23 cnh 1.7 C Symbolic values
24     C precXXXX - Used to indicate what precision to use for
25     C dumping model state.
26     INTEGER precFloat32
27 adcroft 1.36 PARAMETER ( precFloat32 = 32 )
28 cnh 1.7 INTEGER precFloat64
29 adcroft 1.36 PARAMETER ( precFloat64 = 64 )
30 cnh 1.28 C UNSET_xxx - Used to indicate variables that have not been given a value
31     Real*8 UNSET_FLOAT8
32     PARAMETER ( UNSET_FLOAT8 = 1.234567D5 )
33     Real*4 UNSET_FLOAT4
34     PARAMETER ( UNSET_FLOAT4 = 1.234567E5 )
35     _RL UNSET_RL
36     PARAMETER ( UNSET_RL = 1.234567D5 )
37     _RS UNSET_RS
38     PARAMETER ( UNSET_RS = 1.234567E5 )
39     INTEGER UNSET_I
40     PARAMETER ( UNSET_I = 123456789 )
41 cnh 1.7
42     C Checkpoint data
43     INTEGER maxNoChkptLev
44     PARAMETER ( maxNoChkptLev = 2 )
45    
46 cnh 1.1 C-- COMMON /PARM_C/ Character valued parameters used by the model.
47 cnh 1.7 C checkPtSuff - List of checkpoint file suffices
48 cnh 1.16 C bathyFile - File containing bathymetry. If not defined bathymetry
49     C is taken from inline function.
50 jmc 1.55 C topoFile - File containing the topography of the surface (unit=m)
51     C (mainly used for the atmosphere = ground height).
52 cnh 1.16 C hydrogThetaFile - File containing initial hydrographic data for potential
53     C temperature.
54     C hydrogSaltFile - File containing initial hydrographic data for salinity.
55     C zonalWindFile - File containing zonal wind data
56     C meridWindFile - File containing meridional wind data
57 cnh 1.18 C thetaClimFile - File containing theta climataology used
58     C in relaxation term -lambda(theta-theta*)
59     C saltClimFile - File containing salt climataology used
60     C in relaxation term -lambda(salt-salt*)
61 adcroft 1.37 C surfQfile - File containing surface heat flux
62 heimbach 1.45 C surfQswfile - File containing surface shortwave radiation
63 heimbach 1.50 C dQdTfile - File containing thermal relaxation coefficient
64 adcroft 1.37 C EmPmRfile - File containing surface fresh water flux
65 cnh 1.26 C buoyancyRelation - Flag used to indicate which relation to use to
66     C get buoyancy.
67 cnh 1.16 COMMON /PARM_C/ checkPtSuff,
68 jmc 1.55 & bathyFile, topoFile,
69     & hydrogThetaFile, hydrogSaltFile,
70 cnh 1.18 & zonalWindFile, meridWindFile, thetaClimFile,
71 adcroft 1.37 & saltClimFile, buoyancyRelation,
72 heimbach 1.45 & EmPmRfile, surfQfile, surfQswfile,
73 heimbach 1.50 & uVelInitFile, vVelInitFile, pSurfInitFile,
74     & dQdTfile
75 cnh 1.7 CHARACTER*(5) checkPtSuff(maxNoChkptLev)
76 jmc 1.55 CHARACTER*(MAX_LEN_FNAM) bathyFile, topoFile
77 cnh 1.16 CHARACTER*(MAX_LEN_FNAM) hydrogThetaFile
78     CHARACTER*(MAX_LEN_FNAM) hydrogSaltFile
79     CHARACTER*(MAX_LEN_FNAM) zonalWindFile
80     CHARACTER*(MAX_LEN_FNAM) meridWindFile
81 cnh 1.18 CHARACTER*(MAX_LEN_FNAM) thetaClimFile
82     CHARACTER*(MAX_LEN_FNAM) saltClimFile
83 adcroft 1.37 CHARACTER*(MAX_LEN_FNAM) surfQfile
84 heimbach 1.45 CHARACTER*(MAX_LEN_FNAM) surfQswfile
85 adcroft 1.37 CHARACTER*(MAX_LEN_FNAM) EmPmRfile
86 cnh 1.26 CHARACTER*(MAX_LEN_FNAM) buoyancyRelation
87 adcroft 1.42 CHARACTER*(MAX_LEN_FNAM) uVelInitFile
88     CHARACTER*(MAX_LEN_FNAM) vVelInitFile
89 adcroft 1.43 CHARACTER*(MAX_LEN_FNAM) pSurfInitFile
90 heimbach 1.50 CHARACTER*(MAX_LEN_FNAM) dQdTfile
91 cnh 1.7
92 cnh 1.1 C-- COMMON /PARM_I/ Integer valued parameters used by the model.
93     C cg2dMaxIters - Maximum number of iterations in the
94     C two-dimensional con. grad solver.
95     C cg2dChkResFreq - Frequency with which to check residual
96     C in con. grad solver.
97 cnh 1.33 C cg3dMaxIters - Maximum number of iterations in the
98     C three-dimensional con. grad solver.
99     C cg3dChkResFreq - Frequency with which to check residual
100     C in con. grad solver.
101 cnh 1.1 C nIter0 - Start time-step number of for this run
102     C nTimeSteps - Number of timesteps to execute
103     C numStepsPerPickup - For offline setup. Frequency of pickup
104     C of flow fields.
105 cnh 1.7 C writeStatePrec - Precision used for writing model state.
106     C writeBinaryPrec - Precision used for writing binary files
107     C readBinaryPrec - Precision used for reading binary files
108     C nCheckLev - Holds current checkpoint level
109 jmc 1.55 C nonlinFreeSurf - option related to non-linear free surface
110     C =0 Linear free surface ; >0 Non-linear
111 cnh 1.34
112 cnh 1.1 COMMON /PARM_I/
113     & cg2dMaxIters,
114     & cg2dChkResFreq,
115 cnh 1.33 & cg3dMaxIters,
116     & cg3dChkResFreq,
117 adcroft 1.41 & nIter0, nTimeSteps, nEndIter,
118 cnh 1.7 & numStepsPerPickup,
119     & writeStatePrec, nCheckLev,
120 cnh 1.34 & writeBinaryPrec, readBinaryPrec,
121 jmc 1.55 & nonlinFreeSurf,
122 adcroft 1.57 & zonal_filt_sinpow, zonal_filt_cospow,
123     & tempAdvScheme, saltAdvScheme, tracerAdvScheme
124 cnh 1.1 INTEGER cg2dMaxIters
125     INTEGER cg2dChkResFreq
126 cnh 1.33 INTEGER cg3dMaxIters
127     INTEGER cg3dChkResFreq
128 cnh 1.1 INTEGER nIter0
129     INTEGER nTimeSteps
130 adcroft 1.41 INTEGER nEndIter
131 cnh 1.1 INTEGER numStepsPerPickup
132 cnh 1.7 INTEGER writeStatePrec
133     INTEGER writeBinaryPrec
134     INTEGER readBinaryPrec
135     INTEGER nCheckLev
136 jmc 1.55 INTEGER nonlinFreeSurf
137 adcroft 1.46 INTEGER zonal_filt_sinpow
138     INTEGER zonal_filt_cospow
139 adcroft 1.57 INTEGER tempAdvScheme
140     INTEGER saltAdvScheme
141     INTEGER tracerAdvScheme
142 cnh 1.1
143     C-- COMMON /PARM_L/ Logical valued parameters used by the model.
144     C usingCartesianGrid - If TRUE grid generation will be in a cartesian
145     C coordinate frame.
146     C usingSphericalPolarGrid - If TRUE grid generation will be in a
147     C spherical polar frame.
148 adcroft 1.36 C no_slip_sides - Impose "no-slip" at lateral boundaries.
149     C no_slip_bottom- Impose "no-slip" at bottom boundary.
150 adcroft 1.46 C staggerTimeStep - enable a Stagger time stepping T,S Rho then U,V
151 cnh 1.1 C momViscosity - Flag which turns momentum friction terms on and off.
152     C momAdvection - Flag which turns advection of momentum on and off.
153     C momForcing - Flag which turns external forcing of momentum on
154     C and off.
155 cnh 1.9 C momPressureForcing - Flag which turns pressure term in momentum equation
156     C on and off.
157 cnh 1.15 C metricTerms - Flag which turns metric terms on or off.
158     C usingSphericalPolarMTerms - If TRUE use spherical polar metric terms.
159 cnh 1.1 C useCoriolis - Flag which turns the coriolis terms on and off.
160     C tempDiffusion - Flag which turns diffusion of temperature on
161     C and off.
162     C tempAdvection - Flag which turns advection of temperature on
163     C and off.
164     C tempForcing - Flag which turns external forcing of temperature on
165     C and off.
166     C saltDiffusion - Flag which turns diffusion of salinit on
167     C and off.
168     C saltAdvection - Flag which turns advection of salinit on
169     C and off.
170     C saltForcing - Flag which turns external forcing of salinit on
171     C and off.
172 adcroft 1.52 C rigidLid - Set to true to use rigid lid
173 cnh 1.8 C implicitFreeSurface - Set to true to use implcit free surface
174 jmc 1.55 C exactConserv - Set to true to conserve exactly the total Volume
175     C uniformLin_PhiSurf - Set to true to use a uniform Bo_surf in the
176     C linear relation Phi_surf = Bo_surf*eta
177 cnh 1.10 C momStepping - Turns momentum equation time-stepping off
178 cnh 1.15 C tempStepping - Turns temperature equation time-stepping off
179 adcroft 1.17 C saltStepping - Turns salinity equation time-stepping off
180 heimbach 1.56 C tr1Stepping - Turns passive tracer 1 time-stepping on/off
181 cnh 1.15 C useConstantF - Coriolis parameter set to f0
182     C useBetaPlaneF - Coriolis parameter set to f0 + beta.y
183     C useSphereF - Coriolis parameter set to 2.omega.sin(phi)
184 adcroft 1.14 C implicitDiffusion - Turns implicit vertical diffusion on
185 adcroft 1.40 C implicitViscosity - Turns implicit vertical viscosity on
186 cnh 1.18 C doThetaClimRelax - Set true if relaxation to temperature
187     C climatology is required.
188     C doSaltClimRelax - Set true if relaxation to salinity
189     C climatology is required.
190 adcroft 1.19 C periodicExternalForcing - Set true if forcing is time-dependant
191 cnh 1.29 C usingPCoords - Set to indicate that we are working in pressure
192     C coords.
193     C usingZCoords - Set to indicate that we are working in height
194     C coords.
195 adcroft 1.37 C nonHydrostatic - Using non-hydrostatic terms
196 adcroft 1.38 C globalFiles - Selects between "global" and "tiled" files
197     C allowFreezing - Allows water to freeze and form ice
198 adcroft 1.46 C groundAtK1 - put the surface(k=1) at the Lower Boundary (=ground)
199 cnh 1.1 COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
200 adcroft 1.52 & usingCurvilinearGrid,
201 adcroft 1.36 & no_slip_sides,no_slip_bottom,
202 adcroft 1.46 & staggerTimeStep,
203 cnh 1.33 & momViscosity, momAdvection, momForcing, useCoriolis,
204     & momPressureForcing,tempDiffusion, tempAdvection, tempForcing,
205 cnh 1.8 & saltDiffusion, saltAdvection, saltForcing,
206 jmc 1.55 & rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf,
207 heimbach 1.56 & momStepping, tempStepping, saltStepping, tr1Stepping,
208 cnh 1.15 & metricTerms, usingSphericalPolarMTerms,
209     & useConstantF, useBetaPlaneF, useSphereF,
210 adcroft 1.40 & implicitDiffusion, implicitViscosity,
211 heimbach 1.56 & doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax,
212 adcroft 1.35 & periodicExternalForcing, usingPCoords, usingZCoords,
213 adcroft 1.46 & nonHydrostatic, globalFiles,
214 heimbach 1.51 & allowFreezing, groundAtK1,
215 heimbach 1.56 & usePickupBeforeC35, debugMode,
216     & readPickupWithTracer, writePickupWithTracer
217 cnh 1.1 LOGICAL usingCartesianGrid
218     LOGICAL usingSphericalPolarGrid
219 adcroft 1.52 LOGICAL usingCurvilinearGrid
220 cnh 1.15 LOGICAL usingSphericalPolarMTerms
221 adcroft 1.36 LOGICAL no_slip_sides
222     LOGICAL no_slip_bottom
223 adcroft 1.46 LOGICAL staggerTimeStep
224 cnh 1.1 LOGICAL momViscosity
225     LOGICAL momAdvection
226     LOGICAL momForcing
227 cnh 1.9 LOGICAL momPressureForcing
228 cnh 1.1 LOGICAL useCoriolis
229     LOGICAL tempDiffusion
230     LOGICAL tempAdvection
231     LOGICAL tempForcing
232     LOGICAL saltDiffusion
233     LOGICAL saltAdvection
234     LOGICAL saltForcing
235 adcroft 1.52 LOGICAL rigidLid
236 cnh 1.8 LOGICAL implicitFreeSurface
237 adcroft 1.52 LOGICAL exactConserv
238 jmc 1.55 LOGICAL uniformLin_PhiSurf
239 cnh 1.10 LOGICAL momStepping
240     LOGICAL tempStepping
241 adcroft 1.17 LOGICAL saltStepping
242 heimbach 1.56 LOGICAL tr1Stepping
243 cnh 1.15 LOGICAL metricTerms
244     LOGICAL useConstantF
245     LOGICAL useBetaPlaneF
246     LOGICAL useSphereF
247 adcroft 1.14 LOGICAL implicitDiffusion
248 adcroft 1.40 LOGICAL implicitViscosity
249 cnh 1.18 LOGICAL doThetaClimRelax
250     LOGICAL doSaltClimRelax
251 heimbach 1.56 LOGICAL doTr1ClimRelax
252 adcroft 1.19 LOGICAL periodicExternalForcing
253 cnh 1.29 LOGICAL usingPCoords
254     LOGICAL usingZCoords
255 adcroft 1.37 LOGICAL nonHydrostatic
256 adcroft 1.38 LOGICAL globalFiles
257     LOGICAL allowFreezing
258 adcroft 1.46 LOGICAL groundAtK1
259 heimbach 1.51 LOGICAL usePickupBeforeC35
260 adcroft 1.54 LOGICAL debugMode
261 heimbach 1.56 LOGICAL readPickupWithTracer
262     LOGICAL writePickupWithTracer
263 cnh 1.1
264     C-- COMMON /PARM_R/ "Real" valued parameters used by the model.
265 adcroft 1.52 C gg2dTargetResidual
266     C - Target residual for cg2d solver; no unit (RHS normalisation)
267     C cg2dTargetResWunit
268     C - Target residual for cg2d solver; W unit (No RHS normalisation)
269 cnh 1.33 C cg3dTargetResidual
270     C - Target residual for cg3d solver.
271 cnh 1.7 C cg2dpcOffDFac - Averaging weight for preconditioner off-diagonal.
272     C Note. 20th May 1998
273     C I made a weird discovery! In the model paper we argue
274     C for the form of the preconditioner used here ( see
275     C A Finite-volume, Incompressible Navier-Stokes Model
276     C ...., Marshall et. al ). The algebra gives a simple
277     C 0.5 factor for the averaging of ac and aCw to get a
278     C symmettric pre-conditioner. By using a factor of 0.51
279     C i.e. scaling the off-diagonal terms in the
280     C preconditioner down slightly I managed to get the
281     C number of iterations for convergence in a test case to
282     C drop form 192 -> 134! Need to investigate this further!
283     C For now I have introduced a parameter cg2dpcOffDFac which
284     C defaults to 0.51 but can be set at runtime.
285 cnh 1.24 C delP - Vertical grid spacing ( Pa ).
286     C delZ - Vertical grid spacing ( m ).
287 cnh 1.23 C delR - Vertical grid spacing ( units of r ).
288 cnh 1.1 C delX - Separation between cell faces (m) or (deg), depending
289     C delY on input flags.
290     C gravity - Accel. due to gravity ( m/s^2 )
291 cnh 1.32 C recip_gravity and its inverse
292 cnh 1.8 C gBaro - Accel. due to gravity used in barotropic equation ( m/s^2 )
293 cnh 1.1 C ronil - Reference density
294 cnh 1.24 C rhoConst - Vertically constant reference density
295 cnh 1.3 C startTime - Start time for model ( s )
296 cnh 1.1 C phiMin - Latitude of southern most cell face.
297     C thetaMin - Longitude of western most cell face (this
298     C is an "inert" parameter but it is included
299     C to make geographical references simple.)
300 cnh 1.3 C rSphere - Radius of sphere for a spherical polar grid ( m ).
301 cnh 1.25 C recip_RSphere - Reciprocal radius of sphere ( m ).
302 cnh 1.1 C f0 - Reference coriolis parameter ( 1/s )
303     C ( Southern edge f for beta plane )
304     C beta - df/dy ( s^-1.m^-1 )
305 cnh 1.15 C omega - Angular velocity ( rad/s )
306 cnh 1.1 C viscAh - Eddy viscosity coeff. for mixing of
307     C momentum laterally ( m^2/s )
308     C viscAz - Eddy viscosity coeff. for mixing of
309     C momentum vertically ( m^2/s )
310 cnh 1.27 C viscAp - Eddy viscosity coeff. for mixing of
311     C momentum vertically ( Pa^2/s )
312 cnh 1.24 C viscAr - Eddy viscosity coeff. for mixing of
313     C momentum vertically ( units of r^2/s )
314 cnh 1.1 C viscA4 - Biharmonic viscosity coeff. for mixing of
315     C momentum laterally ( m^4/s )
316     C diffKhT - Laplacian diffusion coeff. for mixing of
317     C heat laterally ( m^2/s )
318     C diffKzT - Laplacian diffusion coeff. for mixing of
319     C heat vertically ( m^2/s )
320 cnh 1.27 C diffKpT - Laplacian diffusion coeff. for mixing of
321     C heat vertically ( Pa^2/s )
322 cnh 1.24 C diffKrT - Laplacian diffusion coeff. for mixing of
323     C heat vertically ( units of r^2/s )
324 cnh 1.1 C diffK4T - Biharmonic diffusion coeff. for mixing of
325     C heat laterally ( m^4/s )
326     C diffKhS - Laplacian diffusion coeff. for mixing of
327     C salt laterally ( m^2/s )
328     C diffKzS - Laplacian diffusion coeff. for mixing of
329     C salt vertically ( m^2/s )
330 cnh 1.27 C diffKpS - Laplacian diffusion coeff. for mixing of
331     C salt vertically ( Pa^2/s )
332 cnh 1.24 C diffKrS - Laplacian diffusion coeff. for mixing of
333     C salt vertically ( units of r^2/s )
334 cnh 1.1 C diffK4S - Biharmonic diffusion coeff. for mixing of
335     C salt laterally ( m^4/s )
336 cnh 1.3 C deltaT - Default timestep ( s )
337 cnh 1.7 C deltaTClock - Timestep used as model "clock". This determines the
338     C IO frequencies and is used in tagging output. It can
339     C be totally different to the dynamical time. Typically
340     C it will be the deep-water timestep for accelerated runs.
341     C Frequency of checkpointing and dumping of the model state
342     C are referenced to this clock. ( s )
343 cnh 1.3 C deltaTMom - Timestep for momemtum equations ( s )
344     C deltaTtracer - Timestep for tracer equations ( s )
345 cnh 1.8 C freesurfFac - Parameter to turn implicit free surface term on or off
346     C freesurfac = 1. uses implicit free surface
347     C freesurfac = 0. uses rigid lid
348 jmc 1.48 C implicSurfPress - parameter of the Crank-Nickelson time stepping :
349     C Implicit part of Surface Pressure Gradient ( 0-1 )
350     C implicDiv2Dflow - parameter of the Crank-Nickelson time stepping :
351     C Implicit part of barotropic flow Divergence ( 0-1 )
352 cnh 1.24 C hFacMin - Minimum fraction size of a cell (affects hFacC etc...)
353     C hFacMinDz - Minimum dimesional size of a cell (affects hFacC etc..., m)
354 cnh 1.28 C hFacMinDp - Minimum dimesional size of a cell (affects hFacC etc..., Pa)
355 cnh 1.24 C hFacMinDr - Minimum dimesional size of a cell (affects hFacC etc..., units of r)
356 adcroft 1.52 C hFacInf - Threshold (inf and sup) for fraction size of surface cell
357     C hFacSup that control vanishing and creating levels
358 cnh 1.24 C tauCD - CD scheme coupling timescale ( 1/s )
359     C rCD - CD scheme normalised coupling parameter ( 0-1 )
360     C startTime - Starting time for this integration ( s ).
361     C endTime - Ending time for this integration ( s ).
362     C chkPtFreq - Frequency of rolling check pointing ( s ).
363     C pChkPtFreq - Frequency of permanent check pointing ( s ).
364     C dumpFreq - Frequency with which model state is written to
365     C post-processing files ( s ).
366     C afFacMom - Advection of momentum term tracer parameter
367     C vfFacMom - Momentum viscosity tracer parameter
368     C pfFacMom - Momentum pressure forcing tracer parameter
369     C cfFacMom - Coriolis term tracer parameter
370     C foFacMom - Momentum forcing tracer parameter
371     C mtFacMom - Metric terms tracer parameter
372 adcroft 1.39 C cosPower - Power of cosine of latitude to multiply viscosity
373 cnh 1.24 C cAdjFreq - Frequency of convective adjustment
374     C
375 cnh 1.27 C taveFreq - Frequency with which time-averaged model state is written to
376     C post-processing files ( s ).
377 cnh 1.18 C tauThetaClimRelax - Relaxation to climatology time scale ( s ).
378     C lambdaThetaClimRelax - Inverse time scale for relaxation ( 1/s ).
379     C tauSaltClimRelax - Relaxation to climatology time scale ( s ).
380     C lambdaSaltClimRelax - Inverse time scale for relaxation ( 1/s ).
381 adcroft 1.19 C externForcingPeriod - Is the period of which forcing varies (eg. 1 month)
382     C externForcingCycle - Is the repeat time of the forcing (eg. 1 year)
383     C (note: externForcingCycle must be an integer
384     C number times externForcingPeriod)
385 cnh 1.30 C horiVertRatio - Ratio on units in vertical to units in horizontal.
386 cnh 1.31 C recip_horiVertRatio ( 1 if horiz in m and vertical in m ).
387 cnh 1.30 C ( g*rho if horiz in m and vertical in Pa ).
388 cnh 1.34 C latFFTFiltLo - Low latitude for FFT filtering of latitude
389     C circles ( see filter*.F )
390 adcroft 1.46 C Ro_SeaLevel - standard position of Sea-Level in "R" coordinate, used as
391     C starting value (k=1) for vertical coordinate (rf(1)=Ro_SeaLevel)
392     C bottomDragLinear - Drag coefficient built in to core dynamics
393     C " Quadratic ( linear: 1/s, quadratic: 1/m )
394 adcroft 1.52 COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit,
395     & cg2dpcOffDFac, cg3dTargetResidual,
396 cnh 1.24 & delP, delZ, delR, delX, delY,
397 cnh 1.33 & deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime,
398 adcroft 1.52 & phiMin, thetaMin, rSphere, recip_RSphere, f0, beta,
399     & fCori, fCoriG,
400 cnh 1.24 & viscAh, viscAz, viscA4, viscAr,
401     & diffKhT, diffKzT, diffK4T, diffKrT,
402 cnh 1.25 & diffKhS, diffKzS, diffK4S, diffKrS,
403 jmc 1.48 & delT, tauCD, rCD, freeSurfFac, implicSurfPress, implicDiv2Dflow,
404 adcroft 1.52 & hFacMin, hFacMinDz, hFacInf, hFacSup,
405 cnh 1.32 & gravity, recip_Gravity, gBaro, rhonil, recip_rhonil,
406 cnh 1.27 & recip_rhoConst, rhoConst, tRef, sRef,
407 adcroft 1.53 & endTime, chkPtFreq, pchkPtFreq, dumpFreq, taveFreq, monitorFreq,
408 cnh 1.15 & afFacMom, vfFacMom, pfFacMom, cfFacMom, foFacMom, mtFacMom,
409 heimbach 1.56 & cosPower, cAdjFreq, omega,
410     & tauThetaClimRelax, lambdaThetaClimRelax,
411 adcroft 1.19 & tauSaltClimRelax, lambdaSaltClimRelax,
412 heimbach 1.56 & tauTr1ClimRelax, lambdaTr1ClimRelax,
413 cnh 1.27 & externForcingCycle, externForcingPeriod,
414 cnh 1.28 & viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp,
415 cnh 1.34 & theta_S, specVol_S, horiVertRatio, recip_horiVertRatio,
416 adcroft 1.46 & latFFTFiltLo, ivdc_kappa, Ro_SeaLevel, zonal_filt_lat,
417     & bottomDragLinear,bottomDragQuadratic
418 cnh 1.27
419 adcroft 1.6 _RL cg2dTargetResidual
420 adcroft 1.52 _RL cg2dTargetResWunit
421 cnh 1.33 _RL cg3dTargetResidual
422 cnh 1.7 _RL cg2dpcOffDFac
423 cnh 1.25 _RL delZ(Nr)
424     _RL delP(Nr)
425     _RL delR(Nr)
426 adcroft 1.6 _RL delX(Nx)
427     _RL delY(Ny)
428     _RL deltaT
429 cnh 1.7 _RL deltaTClock
430 adcroft 1.6 _RL deltaTmom
431     _RL deltaTtracer
432     _RL abeps
433     _RL phiMin
434     _RL thetaMin
435     _RL rSphere
436 cnh 1.25 _RL recip_RSphere
437 adcroft 1.6 _RL f0
438 cnh 1.8 _RL freeSurfFac
439 jmc 1.48 _RL implicSurfPress
440     _RL implicDiv2Dflow
441 adcroft 1.22 _RL hFacMin
442     _RL hFacMinDz
443 cnh 1.28 _RL hFacMinDp
444 cnh 1.27 _RL hFacMinDr
445 adcroft 1.52 _RL hFacInf
446     _RL hFacSup
447 adcroft 1.6 _RL beta
448     _RL viscAh
449     _RL viscAz
450 cnh 1.27 _RL viscAp
451 cnh 1.25 _RL viscAr
452 adcroft 1.6 _RL viscA4
453     _RL diffKhT
454 cnh 1.25 _RL diffKrT
455 adcroft 1.6 _RL diffKzT
456 cnh 1.27 _RL diffKpT
457 adcroft 1.6 _RL diffK4T
458     _RL diffKhS
459 cnh 1.25 _RL diffKrS
460 adcroft 1.6 _RL diffKzS
461 cnh 1.27 _RL diffKpS
462 adcroft 1.6 _RL diffK4S
463     _RL delt
464     _RL tauCD
465     _RL rCD
466     _RL gravity
467 cnh 1.32 _RL recip_gravity
468 cnh 1.8 _RL gBaro
469 adcroft 1.6 _RL rhonil
470 cnh 1.25 _RL recip_rhonil
471     _RL rhoConst
472 cnh 1.26 _RL recip_rhoConst
473     _RL specVol_S(Nr)
474 cnh 1.25 _RL tRef(Nr)
475 cnh 1.26 _RL theta_S(Nr)
476 cnh 1.25 _RL sRef(Nr)
477 adcroft 1.52 _RS fCori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
478     _RS fCoriG(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
479 adcroft 1.6 _RL startTime
480     _RL endTime
481     _RL chkPtFreq
482 cnh 1.7 _RL pChkPtFreq
483 adcroft 1.6 _RL dumpFreq
484 adcroft 1.20 _RL taveFreq
485 adcroft 1.53 _RL monitorFreq
486 cnh 1.9 _RL afFacMom
487     _RL vfFacMom
488     _RL pfFacMom
489     _RL cfFacMom
490     _RL foFacMom
491 cnh 1.15 _RL mTFacMom
492 adcroft 1.39 _RL cosPower
493 cnh 1.9 _RL cAdjFreq
494 cnh 1.15 _RL omega
495 cnh 1.18 _RL tauThetaClimRelax
496     _RL lambdaThetaClimRelax
497     _RL tauSaltClimRelax
498     _RL lambdaSaltClimRelax
499 heimbach 1.56 _RL tauTr1ClimRelax
500     _RL lambdaTr1ClimRelax
501 adcroft 1.19 _RL externForcingCycle
502     _RL externForcingPeriod
503 cnh 1.30 _RL horiVertRatio
504 cnh 1.31 _RL recip_horiVertRatio
505 cnh 1.34 _RL latFFTFiltLo
506 adcroft 1.41 _RL ivdc_kappa
507 adcroft 1.46 _RL Ro_SeaLevel
508     _RL zonal_filt_lat
509     _RL bottomDragLinear
510     _RL bottomDragQuadratic
511 adcroft 1.6
512 adcroft 1.36 COMMON /PARM_A/ HeatCapacity_Cp,recip_Cp,
513 cnh 1.1 & Lamba_theta
514 adcroft 1.6 _RL HeatCapacity_Cp
515     _RL Lamba_theta
516 adcroft 1.36 _RL recip_Cp
517 adcroft 1.5
518     C Equation of State (polynomial coeffients)
519     COMMON /PARM_EOS_NL/ eosC,eosSig0,eosRefT,eosRefS
520 cnh 1.25 _RL eosC(9,Nr+1),eosSig0(Nr+1),eosRefT(Nr+1),eosRefS(Nr+1)
521 adcroft 1.5 C Linear equation of state
522     C tAlpha - Linear EOS thermal expansion coefficient ( 1/degree ).
523     C sBeta - Linear EOS haline contraction coefficient.
524 adcroft 1.12 COMMON /PARM_EOS_LIN/ tAlpha,sBeta,eosType
525 adcroft 1.6 _RL tAlpha
526     _RL sBeta
527 adcroft 1.12 character*(6) eosType
528 jmc 1.55
529     C Atmospheric physical parameters (Ideal Gas EOS, ...)
530     C atm_po - standard reference pressure
531     C atm_cp - specific heat (Cp) of the (dry) air at constant pressure
532     C atm_kappa - kappa = R/Cp (R: constant of Ideal Gas EOS)
533     C Integr_GeoPot - option to select the way we integrate the geopotential
534     C (still a subject of discussions ...)
535     COMMON /PARM_ATM/ atm_cp, atm_kappa, atm_po,
536     & Integr_GeoPot
537     _RL atm_cp, atm_kappa, atm_po
538     INTEGER Integr_GeoPot
539 cnh 1.7
540 adcroft 1.44 C Logical flags for selecting packages
541 heimbach 1.45 LOGICAL useKPP
542     LOGICAL useGMRedi
543 adcroft 1.46 LOGICAL useOBCS
544 jmc 1.49 LOGICAL useAIM
545 heimbach 1.56 LOGICAL useGrdchk
546 heimbach 1.45 LOGICAL useECCO
547 adcroft 1.52 LOGICAL useSHAP_FILT
548 adcroft 1.44 COMMON /PARM_PACKAGES/
549 heimbach 1.56 & useKPP, useGMRedi, useOBCS, useAIM, useECCO,
550     & useSHAP_FILT, useGrdchk
551 jmc 1.49

  ViewVC Help
Powered by ViewVC 1.1.22