/[MITgcm]/MITgcm/model/src/config_summary.F
ViewVC logotype

Annotation of /MITgcm/model/src/config_summary.F

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


Revision 1.56 - (hide annotations) (download)
Tue Sep 7 21:32:10 2004 UTC (19 years, 9 months ago) by edhill
Branch: MAIN
Changes since 1.55: +5 -1 lines
 o make the mon_iotype setup in monitor the poster child for MNC/MDSIO
   flag handling

1 edhill 1.56 C $Header: /u/gcmpack/MITgcm/model/src/config_summary.F,v 1.55 2004/09/01 14:04:39 jmc Exp $
2 cnh 1.26 C $Name: $
3 cnh 1.1
4 cnh 1.18 #include "CPP_OPTIONS.h"
5 cnh 1.1
6 cnh 1.30 CBOP
7     C !ROUTINE: CONFIG_SUMMARY
8     C !INTERFACE:
9 cnh 1.1 SUBROUTINE CONFIG_SUMMARY( myThid )
10 cnh 1.30 C !DESCRIPTION: \bv
11     C *=========================================================*
12     C | SUBROUTINE CONFIG_SUMMARY
13     C | o Summarize model parameter settings.
14     C *=========================================================*
15     C | This routine writes a tabulated summary of the kernel
16     C | model configuration. Information describes all the
17     C | parameter setting in force and the meaning and units of
18     C | those parameters. Individal packages report a similar
19     C | table for each package using the same format as employed
20     C | here. If parameters are missing or incorrectly described
21     C | or dimensioned please contact support@mitgcm.org
22     C *=========================================================*
23     C \ev
24    
25     C !USES:
26 adcroft 1.19 IMPLICIT NONE
27 cnh 1.1 C === Global variables ===
28     #include "SIZE.h"
29     #include "EEPARAMS.h"
30     #include "PARAMS.h"
31 mlosch 1.34 #include "EOS.h"
32 cnh 1.1 #include "GRID.h"
33     #include "DYNVARS.h"
34    
35 cnh 1.30 C !INPUT/OUTPUT PARAMETERS:
36 cnh 1.1 C == Routine arguments ==
37     C myThid - Number of this instance of CONFIG_SUMMARY
38     INTEGER myThid
39     CEndOfInterface
40    
41 cnh 1.30 C !LOCAL VARIABLES:
42 cnh 1.1 C == Local variables ==
43 cnh 1.30 C msgBuf :: Temp. for building output string.
44     C I,J,K :: Loop counters.
45     C bi,bj :: Tile loop counters.
46     C xcoord :: Temps. for building lists of values for uni-dimensionally
47     C ycoord :: varying parameters.
48     C zcoord ::
49 cnh 1.1 CHARACTER*(MAX_LEN_MBUF) msgBuf
50 cnh 1.5 INTEGER I,J,K
51 cnh 1.6 INTEGER bi, bj
52 heimbach 1.22 _RL xcoord(Nx)
53     _RL ycoord(Ny)
54 jmc 1.32 _RL rcoord(Nr+1)
55 cnh 1.26 INTEGER coordLine
56     INTEGER tileLine
57 cnh 1.30 CEOP
58 cnh 1.5
59 cnh 1.1
60     _BARRIER
61 cnh 1.5 _BEGIN_MASTER(myThid)
62 cnh 1.1
63     WRITE(msgBuf,'(A)')
64     &'// ======================================================='
65 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
66     & SQUEEZE_RIGHT , 1)
67 cnh 1.1 WRITE(msgBuf,'(A)') '// Model configuration'
68 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
69     & SQUEEZE_RIGHT , 1)
70 cnh 1.1 WRITE(msgBuf,'(A)')
71     &'// ======================================================='
72     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
73     & SQUEEZE_RIGHT , 1)
74 cnh 1.5
75 cnh 1.6 WRITE(msgBuf,'(A)') '// '
76 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
77     & SQUEEZE_RIGHT , 1)
78     WRITE(msgBuf,'(A)')
79     & '// "Physical" paramters ( PARM01 in namelist ) '
80     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
81     & SQUEEZE_RIGHT , 1)
82 cnh 1.6 WRITE(msgBuf,'(A)') '// '
83 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
84     & SQUEEZE_RIGHT , 1)
85 jmc 1.37 WRITE(msgBuf,'(A,A40)') 'buoyancyRelation = ', buoyancyRelation
86     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
87     & SQUEEZE_RIGHT , 1)
88 cnh 1.13 CALL WRITE_1D_R8( tRef, Nr, INDEX_K,'tRef =',
89 cnh 1.5 &' /* Reference temperature profile ( oC or oK ) */')
90 cnh 1.13 CALL WRITE_1D_R8( sRef, Nr, INDEX_K,'sRef =',
91 cnh 1.6 &' /* Reference salinity profile ( ppt ) */')
92 heimbach 1.22 CALL WRITE_0D_R8( viscAh, INDEX_NONE,'viscAh =',
93 cnh 1.5 &' /* Lateral eddy viscosity ( m^2/s ) */')
94 adcroft 1.47 CALL WRITE_0D_R8( viscAhMax, INDEX_NONE,'viscAhMax =',
95     &' /* Maximum lateral eddy viscosity ( m^2/s ) */')
96     CALL WRITE_0D_R8( viscAhGrid, INDEX_NONE,'viscAhGrid =',
97     &' /* Grid dependent lateral eddy viscosity ( non-dim. ) */')
98 adcroft 1.48 CALL WRITE_0D_R8( viscC2leith, INDEX_NONE,'viscC2leith =',
99     &' /* Leith harmonic viscosity factor ( non-dom. ) */')
100 jmc 1.45 CALL WRITE_0D_R8( viscA4, INDEX_NONE,'viscA4 =',
101 cnh 1.14 &' /* Lateral biharmonic viscosity ( m^4/s ) */')
102 adcroft 1.47 CALL WRITE_0D_R8( viscA4Max, INDEX_NONE,'viscA4Max =',
103     &' /* Maximum biharmonic viscosity ( m^2/s ) */')
104     CALL WRITE_0D_R8( viscA4Grid, INDEX_NONE,'viscA4Grid =',
105     &' /* Grid dependent biharmonic viscosity ( non-dim. ) */')
106 adcroft 1.48 CALL WRITE_0D_R8( viscC4leith, INDEX_NONE,'viscC4leith =',
107     &' /* Leith biharmonic viscosity factor ( non-dom. ) */')
108 heimbach 1.22 CALL WRITE_0D_L( no_slip_sides, INDEX_NONE,
109 adcroft 1.20 & 'no_slip_sides =', ' /* Viscous BCs: No-slip sides */')
110 heimbach 1.22 CALL WRITE_0D_R8( viscAr, INDEX_NONE,'viscAr =',
111 cnh 1.16 &' /* Vertical eddy viscosity ( units of r^2/s ) */')
112 jmc 1.55 CALL WRITE_0D_L( no_slip_bottom, INDEX_NONE,
113     & 'no_slip_bottom =', ' /* Viscous BCs: No-slip bottom */')
114 heimbach 1.22 CALL WRITE_0D_R8( diffKhT, INDEX_NONE,'diffKhT =',
115 cnh 1.5 &' /* Laplacian diffusion of heat laterally ( m^2/s ) */')
116 heimbach 1.22 CALL WRITE_0D_R8( diffK4T, INDEX_NONE,'diffK4T =',
117 adcroft 1.20 &' /* Bihaarmonic diffusion of heat laterally ( m^4/s ) */')
118 heimbach 1.22 CALL WRITE_0D_R8( diffKrT, INDEX_NONE,'diffKrT =',
119 adcroft 1.20 &' /* Laplacian diffusion of heat vertically ( m^2/s ) */')
120 heimbach 1.22 CALL WRITE_0D_R8( diffKhS, INDEX_NONE,'diffKhS =',
121 cnh 1.5 &' /* Laplacian diffusion of salt laterally ( m^2/s ) */')
122 heimbach 1.22 CALL WRITE_0D_R8( diffK4S, INDEX_NONE,'diffK4S =',
123 adcroft 1.20 &' /* Bihaarmonic diffusion of salt laterally ( m^4/s ) */')
124 heimbach 1.22 CALL WRITE_0D_R8( diffKrS, INDEX_NONE,'diffKrS =',
125 adcroft 1.20 &' /* Laplacian diffusion of salt vertically ( m^2/s ) */')
126 adcroft 1.50 CALL WRITE_0D_R8( diffKrBL79surf, INDEX_NONE,'diffKrBL79surf =',
127     &' /* Surface diffusion for Bryan and Lewis 1979 ( m^2/s ) */')
128     CALL WRITE_0D_R8( diffKrBL79deep, INDEX_NONE,'diffKrBL79deep =',
129     &' /* Deep diffusion for Bryan and Lewis 1979 ( m^2/s ) */')
130     CALL WRITE_0D_R8( diffKrBL79scl, INDEX_NONE,'diffKrBL79scl =',
131     &' /* Depth scale for Bryan and Lewis 1979 ( m ) */')
132     CALL WRITE_0D_R8( diffKrBL79Ho, INDEX_NONE,'diffKrBL79Ho =',
133     &' /* Turning depth for Bryan and Lewis 1979 ( m ) */')
134 jmc 1.37 WRITE(msgBuf,'(2A)') ' Equation of State : eosType = ', eosType
135     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
136     & SQUEEZE_RIGHT , 1)
137 heimbach 1.22 CALL WRITE_0D_R8( tAlpha, INDEX_NONE,'tAlpha =',
138 cnh 1.6 &' /* Linear EOS thermal expansion coefficient ( 1/degree ) */')
139 heimbach 1.22 CALL WRITE_0D_R8( sBeta, INDEX_NONE,'sBeta =',
140 cnh 1.6 &' /* Linear EOS haline contraction coefficient ( 1/ppt ) */')
141 cnh 1.16 IF ( eosType .EQ. 'POLY3' ) THEN
142 cnh 1.17 WRITE(msgBuf,'(A)')
143     & '// Polynomial EQS parameters ( from POLY3.COEFFS ) '
144 cnh 1.16 DO K = 1, Nr
145     WRITE(msgBuf,'(I3,13F8.3)')
146     & K,eosRefT(K),eosRefS(K),eosSig0(K), (eosC(I,K),I=1,9)
147 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
148     & SQUEEZE_RIGHT , 1)
149 cnh 1.16 ENDDO
150     ENDIF
151 jmc 1.37 IF ( buoyancyRelation .eq. 'ATMOSPHERIC' ) THEN
152     CALL WRITE_0D_R8( atm_Rd, INDEX_NONE, 'atm_Rd =',
153     & ' /* gas constant for dry air ( J/kg/K ) */')
154     CALL WRITE_0D_R8( atm_Cp, INDEX_NONE, 'atm_Cp =',
155     & ' /* specific heat (Cp) of dry air ( J/kg/K ) */')
156     CALL WRITE_0D_R8( atm_kappa, INDEX_NONE, 'atm_kappa =',
157     & ' /* kappa (=Rd/Cp ) of dry air */')
158 jmc 1.42 CALL WRITE_0D_R8( atm_Rq, INDEX_NONE, 'atm_Rq =',
159     & ' /* water vap. specific vol. anomaly relative to dry air */')
160 jmc 1.37 CALL WRITE_0D_R8( atm_Po, INDEX_NONE, 'atm_Po =',
161     & ' /* standard reference pressure ( Pa ) */')
162     CALL WRITE_0D_I( integr_GeoPot, INDEX_NONE, 'integr_GeoPot =',
163     & ' /* select how the geopotential is integrated */')
164     CALL WRITE_0D_I( selectFindRoSurf, INDEX_NONE,
165     & 'selectFindRoSurf=',
166     & ' /* select how Surf.Ref. pressure is defined */')
167     ENDIF
168 heimbach 1.22 CALL WRITE_0D_R8( rhonil, INDEX_NONE,'rhonil =',
169 cnh 1.6 &' /* Reference density ( kg/m^3 ) */')
170 heimbach 1.22 CALL WRITE_0D_R8( rhoConst, INDEX_NONE,'rhoConst =',
171 mlosch 1.35 &' /* Reference density ( kg/m^3 ) */')
172     CALL WRITE_0D_R8( rhoConstFresh, INDEX_NONE,'rhoConstFresh =',
173 adcroft 1.20 &' /* Reference density ( kg/m^3 ) */')
174 heimbach 1.22 CALL WRITE_0D_R8( gravity, INDEX_NONE,'gravity =',
175 cnh 1.6 &' /* Gravitational acceleration ( m/s^2 ) */')
176 jmc 1.29 CALL WRITE_0D_R8( gBaro, INDEX_NONE,'gBaro =',
177     &' /* Barotropic gravity ( m/s^2 ) */')
178 jmc 1.40 CALL WRITE_0D_R8(rotationPeriod,INDEX_NONE,'rotationPeriod =',
179     &' /* Rotation Period ( s ) */')
180     CALL WRITE_0D_R8( omega, INDEX_NONE,'omega =',
181     &' /* Angular velocity ( rad/s ) */')
182 heimbach 1.22 CALL WRITE_0D_R8( f0, INDEX_NONE,'f0 =',
183 cnh 1.6 &' /* Reference coriolis parameter ( 1/s ) */')
184 heimbach 1.22 CALL WRITE_0D_R8( beta, INDEX_NONE,'beta =',
185 cnh 1.6 &' /* Beta ( 1/(m.s) ) */')
186 jmc 1.31
187 heimbach 1.22 CALL WRITE_0D_R8( freeSurfFac, INDEX_NONE,'freeSurfFac =',
188 jmc 1.27 &' /* Implicit free surface factor */')
189 heimbach 1.22 CALL WRITE_0D_L( implicitFreeSurface, INDEX_NONE,
190 cnh 1.8 & 'implicitFreeSurface =',
191     &' /* Implicit free surface on/off flag */')
192 heimbach 1.22 CALL WRITE_0D_L( rigidLid, INDEX_NONE,
193 cnh 1.8 & 'rigidLid =',
194     &' /* Rigid lid on/off flag */')
195 jmc 1.27 CALL WRITE_0D_R8( implicSurfPress, INDEX_NONE,
196     &'implicSurfPress =',
197     &' /* Surface Pressure implicit factor (0-1)*/')
198     CALL WRITE_0D_R8( implicDiv2Dflow, INDEX_NONE,
199     &'implicDiv2Dflow =',
200     &' /* Barot. Flow Div. implicit factor (0-1)*/')
201 jmc 1.31 CALL WRITE_0D_L( exactConserv, INDEX_NONE,
202     &'exactConserv =',
203     &' /* Exact Volume Conservation on/off flag*/')
204     CALL WRITE_0D_L( uniformLin_PhiSurf, INDEX_NONE,
205     &'uniformLin_PhiSurf =',
206     &' /* use uniform Bo_surf on/off flag*/')
207     CALL WRITE_0D_I( nonlinFreeSurf, INDEX_NONE,
208     &'nonlinFreeSurf =',
209     &' /* Non-linear Free Surf. options (-1,0,1,2,3)*/')
210     WRITE(msgBuf,'(2A)') ' -1,0= Off ; 1,2,3= On,',
211     & ' 2=+rescale gU,gV, 3=+update cg2d solv.'
212     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
213     & SQUEEZE_RIGHT , 1)
214     CALL WRITE_0D_R8( hFacInf, INDEX_NONE,
215     &'hFacInf =',
216     &' /* lower threshold for hFac (nonlinFreeSurf only)*/')
217     CALL WRITE_0D_R8( hFacSup, INDEX_NONE,
218     &'hFacSup =',
219     &' /* upper threshold for hFac (nonlinFreeSurf only)*/')
220 jmc 1.38 CALL WRITE_0D_I( select_rStar, INDEX_NONE,
221     &'select_rStar =',
222     &' /* r* Coordinate options (not yet implemented)*/')
223 jmc 1.31 CALL WRITE_0D_L( useRealFreshWaterFlux, INDEX_NONE,
224     &'useRealFreshWaterFlux =',
225     &' /* Real Fresh Water Flux on/off flag*/')
226     IF (useRealFreshWaterFlux .AND. nonlinFreeSurf.GT.0) THEN
227     CALL WRITE_0D_R8( temp_EvPrRn, INDEX_NONE,
228     &'temp_EvPrRn =',
229     &' /* Temp. of Evap/Prec/R (UNSET=use local T)(oC)*/')
230     CALL WRITE_0D_R8( salt_EvPrRn, INDEX_NONE,
231     &'salt_EvPrRn =',
232     &' /* Salin. of Evap/Prec/R (UNSET=use local S)(ppt)*/')
233     CALL WRITE_0D_R8( trac_EvPrRn, INDEX_NONE,
234     &'trac_EvPrRn =',
235     &' /* Tracer in Evap/Prec/R (UNSET=use local Tr)*/')
236     ELSE
237     CALL WRITE_0D_R8( convertFW2Salt, INDEX_NONE,
238     &'convertFW2Salt =',
239     &' /* convert F.W. Flux to Salt Flux (-1=use local S)(ppt)*/')
240     ENDIF
241    
242 jmc 1.46 CALL WRITE_0D_L( nonHydrostatic, INDEX_NONE,
243     & 'nonHydrostatic =', ' /* Non-Hydrostatic on/off flag */')
244 heimbach 1.22 CALL WRITE_0D_L( momStepping, INDEX_NONE,
245 cnh 1.10 & 'momStepping =', ' /* Momentum equation on/off flag */')
246 heimbach 1.22 CALL WRITE_0D_L( momAdvection, INDEX_NONE,
247 cnh 1.10 & 'momAdvection =', ' /* Momentum advection on/off flag */')
248 heimbach 1.22 CALL WRITE_0D_L( momViscosity, INDEX_NONE,
249 cnh 1.9 & 'momViscosity =', ' /* Momentum viscosity on/off flag */')
250 jmc 1.46 CALL WRITE_0D_L( momImplVertAdv, INDEX_NONE, 'momImplVertAdv =',
251     & '/* Momentum implicit vert. advection on/off*/')
252     CALL WRITE_0D_L( implicitViscosity, INDEX_NONE,
253     & 'implicitViscosity =', ' /* Implicit viscosity on/off flag */')
254 heimbach 1.22 CALL WRITE_0D_L( useCoriolis, INDEX_NONE,
255 cnh 1.9 & 'useCoriolis =', ' /* Coriolis on/off flag */')
256 jmc 1.46 CALL WRITE_0D_L( useCDscheme, INDEX_NONE,
257     & 'useCDscheme =', ' /* CD scheme on/off flag */')
258     CALL WRITE_0D_L( useJamartWetPoints, INDEX_NONE,
259     & 'useJamartWetPoints=',' /* Coriolis WetPoints method flag */')
260 adcroft 1.51 CALL WRITE_0D_L( useJamartMomAdv, INDEX_NONE,
261     & 'useJamartMomAdv=',' /* V.I. Non-linear terms Jamart flag */')
262 adcroft 1.49 CALL WRITE_0D_L( SadournyCoriolis, INDEX_NONE,
263     & 'SadournyCoriolis=',' /* Sadourny Coriolis discr. flag */')
264     CALL WRITE_0D_L( upwindVorticity, INDEX_NONE,
265     & 'upwindVorticity=',' /* Upwind bias vorticity flag */')
266     CALL WRITE_0D_L( useAbsVorticity, INDEX_NONE,
267     & 'useAbsVorticity=',' /* Work with f+zeta in Coriolis */')
268     CALL WRITE_0D_L( highOrderVorticity, INDEX_NONE,
269     & 'highOrderVorticity=',' /* High order interp. of vort. flag */')
270 heimbach 1.22 CALL WRITE_0D_L( momForcing, INDEX_NONE,
271 cnh 1.9 & 'momForcing =', ' /* Momentum forcing on/off flag */')
272 heimbach 1.22 CALL WRITE_0D_L( momPressureForcing, INDEX_NONE,
273 cnh 1.17 & 'momPressureForcing =',
274     & ' /* Momentum pressure term on/off flag */')
275 jmc 1.46 CALL WRITE_0D_L( staggerTimeStep, INDEX_NONE,
276     & 'staggerTimeStep =',
277     &' /* Stagger time stepping on/off flag */')
278     CALL WRITE_0D_L( multiDimAdvection, INDEX_NONE,
279     & 'multiDimAdvection =',
280     &' /* enable/disable Multi-Dim Advection */')
281 jmc 1.53 CALL WRITE_0D_L( useMultiDimAdvec, INDEX_NONE,
282     & 'useMultiDimAdvec =',
283     &' /* Multi-Dim Advection is/is-not used */')
284 jmc 1.46 CALL WRITE_0D_L( implicitDiffusion, INDEX_NONE,
285     & 'implicitDiffusion =','/* Implicit Diffusion on/off flag */')
286 heimbach 1.22 CALL WRITE_0D_L( tempStepping, INDEX_NONE,
287 cnh 1.10 & 'tempStepping =', ' /* Temperature equation on/off flag */')
288 jmc 1.33 CALL WRITE_0D_L( tempAdvection, INDEX_NONE,
289     & 'tempAdvection=', ' /* Temperature advection on/off flag */')
290 jmc 1.46 CALL WRITE_0D_L( tempImplVertAdv,INDEX_NONE,'tempImplVertAdv =',
291     & '/* Temp. implicit vert. advection on/off */')
292 jmc 1.33 CALL WRITE_0D_L( tempForcing, INDEX_NONE,
293     & 'tempForcing =', ' /* Temperature forcing on/off flag */')
294     CALL WRITE_0D_L( saltStepping, INDEX_NONE,
295     & 'saltStepping =', ' /* Salinity equation on/off flag */')
296     CALL WRITE_0D_L( saltAdvection, INDEX_NONE,
297     & 'saltAdvection=', ' /* Salinity advection on/off flag */')
298 jmc 1.46 CALL WRITE_0D_L( saltImplVertAdv,INDEX_NONE,'saltImplVertAdv =',
299     & '/* Sali. implicit vert. advection on/off */')
300 jmc 1.33 CALL WRITE_0D_L( saltForcing, INDEX_NONE,
301     & 'saltForcing =', ' /* Salinity forcing on/off flag */')
302 cnh 1.6 WRITE(msgBuf,'(A)') '// '
303 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
304     & SQUEEZE_RIGHT , 1)
305 cnh 1.9
306 cnh 1.17 WRITE(msgBuf,'(A)')
307     & '// Elliptic solver(s) paramters ( PARM02 in namelist ) '
308     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
309     & SQUEEZE_RIGHT , 1)
310 cnh 1.6 WRITE(msgBuf,'(A)') '// '
311 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
312     & SQUEEZE_RIGHT , 1)
313 heimbach 1.22 CALL WRITE_0D_I( cg2dMaxIters, INDEX_NONE,'cg2dMaxIters =',
314 cnh 1.6 &' /* Upper limit on 2d con. grad iterations */')
315 heimbach 1.22 CALL WRITE_0D_I( cg2dChkResFreq, INDEX_NONE,'cg2dChkResFreq =',
316 cnh 1.6 &' /* 2d con. grad convergence test frequency */')
317 heimbach 1.22 CALL WRITE_0D_R8( cg2dTargetResidual, INDEX_NONE,
318 cnh 1.17 & 'cg2dTargetResidual =',
319 cnh 1.6 &' /* 2d con. grad target residual */')
320 jmc 1.54 CALL WRITE_0D_R8( cg2dTargetResWunit, INDEX_NONE,
321     & 'cg2dTargetResWunit =',
322     &' /* CG2d target residual [W units] */')
323     CALL WRITE_0D_I( cg2dPreCondFreq, INDEX_NONE,'cg2dPreCondFreq =',
324     &' /* Freq. for updating cg2d preconditioner */')
325 cnh 1.6
326     WRITE(msgBuf,'(A)') '// '
327 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
328     & SQUEEZE_RIGHT , 1)
329     WRITE(msgBuf,'(A)')
330     & '// Time stepping paramters ( PARM03 in namelist ) '
331     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
332     & SQUEEZE_RIGHT , 1)
333 cnh 1.6 WRITE(msgBuf,'(A)') '// '
334 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
335     & SQUEEZE_RIGHT , 1)
336 heimbach 1.22 CALL WRITE_0D_I( nIter0, INDEX_NONE,'nIter0 =',
337 cnh 1.6 &' /* Base timestep number */')
338 heimbach 1.22 CALL WRITE_0D_I( nTimeSteps, INDEX_NONE,'nTimeSteps =',
339 cnh 1.6 &' /* Number of timesteps */')
340 heimbach 1.22 CALL WRITE_0D_R8( deltaTmom, INDEX_NONE,'deltatTmom =',
341 cnh 1.6 &' /* Momentum equation timestep ( s ) */')
342 jmc 1.37 CALL WRITE_0D_R8( deltaTfreesurf,INDEX_NONE,'deltaTfreesurf =',
343     &' /* FreeSurface equation timestep ( s ) */')
344 heimbach 1.22 CALL WRITE_0D_R8( deltaTtracer, INDEX_NONE,'deltatTtracer =',
345 cnh 1.6 &' /* Tracer equation timestep ( s ) */')
346 heimbach 1.22 CALL WRITE_0D_R8( deltaTClock, INDEX_NONE,'deltatTClock =',
347 cnh 1.12 &' /* Model clock timestep ( s ) */')
348 heimbach 1.22 CALL WRITE_0D_R8( cAdjFreq, INDEX_NONE,'cAdjFreq =',
349 cnh 1.9 &' /* Convective adjustment interval ( s ) */')
350 jmc 1.33 CALL WRITE_0D_L( forcing_In_AB,INDEX_NONE,'forcing_In_AB =',
351     &' /* put T,S Forcing in Adams-Bash. stepping */')
352 heimbach 1.22 CALL WRITE_0D_R8( abeps, INDEX_NONE,'abeps =',
353 cnh 1.6 &' /* Adams-Bashforth stabilizing weight */')
354 jmc 1.41 IF (useCDscheme) THEN
355 heimbach 1.22 CALL WRITE_0D_R8( tauCD, INDEX_NONE,'tauCD =',
356 cnh 1.6 &' /* CD coupling time-scale ( s ) */')
357 heimbach 1.22 CALL WRITE_0D_R8( rCD, INDEX_NONE,'rCD =',
358 cnh 1.6 &' /* Normalised CD coupling parameter */')
359 jmc 1.41 ENDIF
360 heimbach 1.22 CALL WRITE_0D_R8( startTime, INDEX_NONE,'startTime =',
361 cnh 1.6 &' /* Run start time ( s ). */')
362 heimbach 1.22 CALL WRITE_0D_R8( endTime, INDEX_NONE,'endTime =',
363 cnh 1.6 &' /* Integration ending time ( s ). */')
364 heimbach 1.22 CALL WRITE_0D_R8( pChkPtFreq, INDEX_NONE,'pChkPtFreq =',
365 cnh 1.7 &' /* Permanent restart/checkpoint file interval ( s ). */')
366 heimbach 1.22 CALL WRITE_0D_R8( chkPtFreq, INDEX_NONE,'chkPtFreq =',
367 cnh 1.7 &' /* Rolling restart/checkpoint file interval ( s ). */')
368 heimbach 1.22 CALL WRITE_0D_R8( dumpFreq, INDEX_NONE,'dumpFreq =',
369 cnh 1.6 &' /* Model state write out interval ( s ). */')
370 edhill 1.56 CALL WRITE_0D_R8( monitorFreq, INDEX_NONE,'monitorFreq =',
371     &' /* Monitor output interval ( s ). */')
372     CALL WRITE_0D_I( mon_iotype, INDEX_NONE,'mon_iotype =',
373     &' /* Monitor IO flags. */')
374 jmc 1.43 CALL WRITE_0D_R8( externForcingPeriod, INDEX_NONE,
375     & 'externForcingPeriod =', ' /* forcing period (s) */')
376     CALL WRITE_0D_R8( externForcingCycle, INDEX_NONE,
377     & 'externForcingCycle =', ' /* period of the cyle (s). */')
378     CALL WRITE_0D_R8( tauThetaClimRelax, INDEX_NONE,
379     & 'tauThetaClimRelax =', ' /* relaxation time scale (s) */')
380     CALL WRITE_0D_R8( tauSaltClimRelax, INDEX_NONE,
381     & 'tauSaltClimRelax =', ' /* relaxation time scale (s) */')
382     CALL WRITE_0D_R8( latBandClimRelax, INDEX_NONE,
383     & 'latBandClimRelax =', ' /* max. Lat. where relaxation */')
384 cnh 1.6 WRITE(msgBuf,'(A)') '// '
385 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
386     & SQUEEZE_RIGHT , 1)
387     WRITE(msgBuf,'(A)')
388     & '// Gridding paramters ( PARM04 in namelist ) '
389     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
390     & SQUEEZE_RIGHT , 1)
391 cnh 1.6 WRITE(msgBuf,'(A)') '// '
392 cnh 1.17 CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
393     & SQUEEZE_RIGHT , 1)
394 heimbach 1.22 CALL WRITE_0D_L( usingCartesianGrid, INDEX_NONE,
395 cnh 1.17 & 'usingCartesianGrid =',
396 cnh 1.6 &' /* Cartesian coordinates flag ( True / False ) */')
397 heimbach 1.22 CALL WRITE_0D_L( usingSphericalPolarGrid, INDEX_NONE,
398 cnh 1.17 & 'usingSphericalPolarGrid =',
399 cnh 1.6 &' /* Spherical coordinates flag ( True / False ) */')
400 afe 1.52 CALL WRITE_0D_L( usingCylindricalGrid, INDEX_NONE,
401     & 'usingCylindricalGrid =',
402     &' /* Spherical coordinates flag ( True / False ) */')
403 adcroft 1.24 CALL WRITE_0D_L( groundAtK1, INDEX_NONE, 'groundAtK1 =',
404     &' /* Lower Boundary (ground) at the surface(k=1) ( T / F ) */')
405 adcroft 1.36 CALL WRITE_0D_R8( Ro_SeaLevel, INDEX_NONE,'Ro_SeaLevel =',
406 adcroft 1.24 &' /* r(1) ( units of r ) */')
407 adcroft 1.36 CALL WRITE_0D_R8( rkFac, INDEX_NONE,'rkFac =',
408 adcroft 1.24 &' /* minus Vertical index orientation */')
409 adcroft 1.36 CALL WRITE_0D_R8( horiVertRatio, INDEX_NONE,'horiVertRatio =',
410 adcroft 1.24 &' /* Ratio on units : Horiz - Vertical */')
411 jmc 1.32 c CALL WRITE_1D_R8( delZ,Nr, INDEX_K,'delZ = ',
412     c &' /* W spacing ( m ) */')
413     c CALL WRITE_1D_R8( delP,Nr, INDEX_K,'delP = ',
414     c &' /* W spacing ( Pa ) */')
415     c CALL WRITE_1D_R8( delR,Nr, INDEX_K,'delR = ',
416     c &' /* W spacing ( units of r ) */')
417     CALL WRITE_1D_R8( drC,Nr, INDEX_K,'drC = ',
418     &' /* C spacing ( units of r ) */')
419     CALL WRITE_1D_R8( drF,Nr, INDEX_K,'drF = ',
420 cnh 1.15 &' /* W spacing ( units of r ) */')
421 cnh 1.6 CALL WRITE_1D_R8( delX, Nx, INDEX_I,'delX = ',
422     &' /* U spacing ( m - cartesian, degrees - spherical ) */')
423     CALL WRITE_1D_R8( delY, Ny, INDEX_J,'delY = ',
424     &' /* V spacing ( m - cartesian, degrees - spherical ) */')
425 heimbach 1.22 CALL WRITE_0D_R8( phiMin, INDEX_NONE,'phiMin = ',
426 cnh 1.17 &' /* South edge (ignored - cartesian, degrees - spherical ) */')
427 heimbach 1.22 CALL WRITE_0D_R8( thetaMin, INDEX_NONE,'thetaMin = ',
428 cnh 1.17 &' /* West edge ( ignored - cartesian, degrees - spherical ) */')
429 heimbach 1.22 CALL WRITE_0D_R8( rSphere, INDEX_NONE,'rSphere = ',
430 cnh 1.6 &' /* Radius ( ignored - cartesian, m - spherical ) */')
431     DO bi=1,nSx
432     DO I=1,sNx
433 heimbach 1.22 xcoord((bi-1)*sNx+I) = xC(I,1,bi,1)
434 cnh 1.6 ENDDO
435     ENDDO
436 cnh 1.11 CALL WRITE_1D_R8( xcoord, sNx*nSx, INDEX_I,'xcoord = ',
437 cnh 1.17 &' /* P-point X coord ( m - cartesian, degrees - spherical ) */')
438 cnh 1.6 DO bj=1,nSy
439     DO J=1,sNy
440 heimbach 1.22 ycoord((bj-1)*sNy+J) = yC(1,J,1,bj)
441 cnh 1.6 ENDDO
442     ENDDO
443 cnh 1.11 CALL WRITE_1D_R8( ycoord, sNy*nSy, INDEX_J,'ycoord = ',
444 cnh 1.17 &' /* P-point Y coord ( m - cartesian, degrees - spherical ) */')
445 cnh 1.13 DO K=1,Nr
446 heimbach 1.22 rcoord(K) = rC(K)
447 cnh 1.6 ENDDO
448 cnh 1.13 CALL WRITE_1D_R8( rcoord, Nr, INDEX_K,'rcoord = ',
449     &' /* P-point R coordinate ( units of r ) */')
450 jmc 1.32 DO K=1,Nr+1
451     rcoord(K) = rF(K)
452     ENDDO
453     CALL WRITE_1D_R8( rcoord, Nr+1, INDEX_K,'rF = ',
454     &' /* W-Interf. R coordinate ( units of r ) */')
455 cnh 1.6
456 cnh 1.26 C Grid along selected grid lines
457     coordLine = 1
458     tileLine = 1
459     CALL WRITE_XY_XLINE_RS( dxF, coordLine, tileLine,
460     I 'dxF','( m - cartesian, degrees - spherical )')
461     CALL WRITE_XY_YLINE_RS( dxF, coordLine, tileLine,
462     I 'dxF','( m - cartesian, degrees - spherical )')
463     CALL WRITE_XY_XLINE_RS( dyF, coordLine, tileLine,
464     I 'dyF','( m - cartesian, degrees - spherical )')
465     CALL WRITE_XY_YLINE_RS( dyF, coordLine, tileLine,
466     I 'dyF','( m - cartesian, degrees - spherical )')
467     CALL WRITE_XY_XLINE_RS( dxG, coordLine, tileLine,
468     I 'dxG','( m - cartesian, degrees - spherical )')
469     CALL WRITE_XY_YLINE_RS( dxG, coordLine, tileLine,
470     I 'dxG','( m - cartesian, degrees - spherical )')
471     CALL WRITE_XY_XLINE_RS( dyG, coordLine, tileLine,
472     I 'dyG','( m - cartesian, degrees - spherical )')
473     CALL WRITE_XY_YLINE_RS( dyG, coordLine, tileLine,
474     I 'dyG','( m - cartesian, degrees - spherical )')
475     CALL WRITE_XY_XLINE_RS( dxC, coordLine, tileLine,
476     I 'dxC','( m - cartesian, degrees - spherical )')
477     CALL WRITE_XY_YLINE_RS( dxC, coordLine, tileLine,
478     I 'dxC','( m - cartesian, degrees - spherical )')
479     CALL WRITE_XY_XLINE_RS( dyC, coordLine, tileLine,
480     I 'dyC','( m - cartesian, degrees - spherical )')
481     CALL WRITE_XY_YLINE_RS( dyC, coordLine, tileLine,
482     I 'dyC','( m - cartesian, degrees - spherical )')
483     CALL WRITE_XY_XLINE_RS( dxV, coordLine, tileLine,
484     I 'dxV','( m - cartesian, degrees - spherical )')
485     CALL WRITE_XY_YLINE_RS( dxV, coordLine, tileLine,
486     I 'dxV','( m - cartesian, degrees - spherical )')
487     CALL WRITE_XY_XLINE_RS( dyU, coordLine, tileLine,
488     I 'dyU','( m - cartesian, degrees - spherical )')
489     CALL WRITE_XY_YLINE_RS( dyU, coordLine, tileLine,
490     I 'dyU','( m - cartesian, degrees - spherical )')
491     CALL WRITE_XY_XLINE_RS( rA, coordLine, tileLine,
492     I 'rA','( m - cartesian, degrees - spherical )')
493     CALL WRITE_XY_YLINE_RS( rA, coordLine, tileLine,
494     I 'rA','( m - cartesian, degrees - spherical )')
495     CALL WRITE_XY_XLINE_RS( rAw, coordLine, tileLine,
496     I 'rAw','( m - cartesian, degrees - spherical )')
497     CALL WRITE_XY_YLINE_RS( rAw, coordLine, tileLine,
498     I 'rAw','( m - cartesian, degrees - spherical )')
499     CALL WRITE_XY_XLINE_RS( rAs, coordLine, tileLine,
500     I 'rAs','( m - cartesian, degrees - spherical )')
501     CALL WRITE_XY_YLINE_RS( rAs, coordLine, tileLine,
502     I 'rAs','( m - cartesian, degrees - spherical )')
503 cnh 1.5
504 cnh 1.1 WRITE(msgBuf,'(A)') ' '
505     CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
506     & SQUEEZE_RIGHT , 1)
507 cnh 1.5
508 cnh 1.1 _END_MASTER(myThid)
509     _BARRIER
510    
511    
512     RETURN
513     100 FORMAT(A,
514 cnh 1.4 &' '
515 cnh 1.1 &)
516     END
517    

  ViewVC Help
Powered by ViewVC 1.1.22