/[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.1 - (hide annotations) (download)
Wed Apr 22 19:15:31 1998 UTC (26 years, 1 month ago) by cnh
Branch: MAIN
Branch point for: cnh
File MIME type: text/plain
Initial revision

1 cnh 1.1 C $Id$
2     C
3     C /==========================================================\
4     C | PARAMS.h |
5     C | o Header file defining model "parameters". |
6     C |==========================================================|
7     C | The values from the model's standard input file are |
8     C | stored into the variables held here. Notes describing |
9     C | the parameters can also be found here. |
10     C \==========================================================/
11    
12     C-- Contants
13     C nOBands - No. of offline data time bands
14     INTEGER nOBands
15     PARAMETER ( nOBands = 12 )
16     C Useful physical values
17     Real*8 PI
18     PARAMETER ( PI = 3.14159265358979323844D0 )
19     Real*8 deg2rad
20     PARAMETER ( deg2rad = 2.D0*PI/360.D0 )
21    
22     C-- COMMON /PARM_C/ Character valued parameters used by the model.
23     C oBandId - Offline dataset identifiers for different periods.
24     COMMON /PARM_C/ oBandId
25     CHARACTER*3 oBandId(nOBands)
26     C-- COMMON /PARM_I/ Integer valued parameters used by the model.
27     C cg2dMaxIters - Maximum number of iterations in the
28     C two-dimensional con. grad solver.
29     C cg2dChkResFreq - Frequency with which to check residual
30     C in con. grad solver.
31     C nIter0 - Start time-step number of for this run
32     C nTimeSteps - Number of timesteps to execute
33     C numStepsPerPickup - For offline setup. Frequency of pickup
34     C of flow fields.
35     COMMON /PARM_I/
36     & cg2dMaxIters,
37     & cg2dChkResFreq,
38     & nIter0, nTimeSteps,
39     & numStepsPerPickup
40     INTEGER cg2dMaxIters
41     INTEGER cg2dChkResFreq
42     INTEGER nIter0
43     INTEGER nTimeSteps
44     INTEGER numStepsPerPickup
45    
46     C-- COMMON /PARM_L/ Logical valued parameters used by the model.
47     C usingCartesianGrid - If TRUE grid generation will be in a cartesian
48     C coordinate frame.
49     C usingSphericalPolarGrid - If TRUE grid generation will be in a
50     C spherical polar frame.
51     C momViscosity - Flag which turns momentum friction terms on and off.
52     C momAdvection - Flag which turns advection of momentum on and off.
53     C momForcing - Flag which turns external forcing of momentum on
54     C and off.
55     C useCoriolis - Flag which turns the coriolis terms on and off.
56     C tempDiffusion - Flag which turns diffusion of temperature on
57     C and off.
58     C tempAdvection - Flag which turns advection of temperature on
59     C and off.
60     C tempForcing - Flag which turns external forcing of temperature on
61     C and off.
62     C saltDiffusion - Flag which turns diffusion of salinit on
63     C and off.
64     C saltAdvection - Flag which turns advection of salinit on
65     C and off.
66     C saltForcing - Flag which turns external forcing of salinit on
67     C and off.
68     COMMON /PARM_L/ usingCartesianGrid, usingSphericalPolarGrid,
69     & momViscosity, momAdvection, momForcing, useCoriolis,
70     & tempDiffusion, tempAdvection, tempForcing,
71     & saltDiffusion, saltAdvection, saltForcing
72     LOGICAL usingCartesianGrid
73     LOGICAL usingSphericalPolarGrid
74     LOGICAL momViscosity
75     LOGICAL momAdvection
76     LOGICAL momForcing
77     LOGICAL useCoriolis
78     LOGICAL tempDiffusion
79     LOGICAL tempAdvection
80     LOGICAL tempForcing
81     LOGICAL saltDiffusion
82     LOGICAL saltAdvection
83     LOGICAL saltForcing
84    
85     C-- COMMON /PARM_R/ "Real" valued parameters used by the model.
86     C cg2dTargetResidual
87     C - Target residual for cg2d solver.
88     C delZ - Vertical grid spacing (Pa) - delZ is the distance
89     C between "w" surfaces.
90     C delX - Separation between cell faces (m) or (deg), depending
91     C delY on input flags.
92     C gravity - Accel. due to gravity ( m/s^2 )
93     C ronil - Reference density
94     C startTime - Start time for model
95     C oBandBeg - Offline bands start and end times.
96     C oBandEnd
97     C oPeriodLength - Lenght of offline period.
98     C phiMin - Latitude of southern most cell face.
99     C thetaMin - Longitude of western most cell face (this
100     C is an "inert" parameter but it is included
101     C to make geographical references simple.)
102     C rSphere - Radius of sphere for a spherical polar grid.
103     C f0 - Reference coriolis parameter ( 1/s )
104     C ( Southern edge f for beta plane )
105     C beta - df/dy ( s^-1.m^-1 )
106     C viscAh - Eddy viscosity coeff. for mixing of
107     C momentum laterally ( m^2/s )
108     C viscAz - Eddy viscosity coeff. for mixing of
109     C momentum vertically ( m^2/s )
110     C viscA4 - Biharmonic viscosity coeff. for mixing of
111     C momentum laterally ( m^4/s )
112     C diffKhT - Laplacian diffusion coeff. for mixing of
113     C heat laterally ( m^2/s )
114     C diffKzT - Laplacian diffusion coeff. for mixing of
115     C heat vertically ( m^2/s )
116     C diffK4T - Biharmonic diffusion coeff. for mixing of
117     C heat laterally ( m^4/s )
118     C diffKhS - Laplacian diffusion coeff. for mixing of
119     C salt laterally ( m^2/s )
120     C diffKzS - Laplacian diffusion coeff. for mixing of
121     C salt vertically ( m^2/s )
122     C diffK4S - Biharmonic diffusion coeff. for mixing of
123     C salt laterally ( m^4/s )
124     C delt - Timestep ( s )
125     C tauCD - CD scheme coupling timescale ( 1/s )
126     C rCD - CD scheme normalised coupling parameter ( 0-1 )
127     C startTime - Starting time for this integration ( s ).
128     C endTime - Ending time for this integration ( s ).
129     C chkPtFreq - Frequency of check pointing ( s ).
130     C dumpFreq - Frequency with which model state is written to
131     C post-processing files ( s ).
132     COMMON /PARM_R/ cg2dTargetResidual, delZ, delX, delY,
133     & deltaTmom, deltaTtracer, abeps, startTime, oBandBeg, oBandEnd,
134     & oPeriodLength, phiMin, thetaMin, rSphere, f0, fCori, beta,
135     & viscAh, viscAz, viscA4, diffKhT, diffKzT, diffK4T,
136     & diffKhS, diffKzS, diffK4S, delT, tauCD, rCD,
137     & tAlpha, sBeta, gravity, rhonil, tRef, sRef,
138     & endTime, chkPtFreq, dumpFreq
139     REAL cg2dTargetResidual
140     REAL delZ(Nz)
141     REAL delX(Nx)
142     REAL delY(Ny)
143     REAL deltaTmom
144     REAL deltaTtracer
145     REAL abeps
146     REAL oBandBeg(nOBands),oBandEnd(nOBands)
147     REAL oPeriodLength
148     REAL phiMin
149     REAL thetaMin
150     REAL rSphere
151     REAL f0
152     _RL beta
153     REAL viscAh
154     REAL viscAz
155     REAL viscA4
156     REAL diffKhT
157     REAL diffKzT
158     REAL diffK4T
159     REAL diffKhS
160     REAL diffKzS
161     REAL diffK4S
162     REAL delt
163     REAL tauCD
164     REAL rCD
165     REAL tAlpha
166     REAL sBeta
167     REAL gravity
168     REAL rhonil
169     REAL tRef(Nz)
170     REAL sRef(Nz)
171     real Fcori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
172     REAL startTime
173     REAL endTime
174     REAL chkPtFreq
175     REAL dumpFreq
176     COMMON /PARM_A/ HeatCapacity_Cp,
177     & Lamba_theta
178     REAL HeatCapacity_Cp
179     REAL Lamba_theta

  ViewVC Help
Powered by ViewVC 1.1.22