| 1 |
afe |
1.1 |
C $Header: /u/gcmpack/MITgcm_contrib/osse/code/config_summary.F,v 1.1 2004/04/26 14:08:04 afe Exp $ |
| 2 |
|
|
C $Name: $ |
| 3 |
|
|
|
| 4 |
|
|
#include "CPP_OPTIONS.h" |
| 5 |
|
|
|
| 6 |
|
|
CBOP |
| 7 |
|
|
C !ROUTINE: CONFIG_SUMMARY |
| 8 |
|
|
C !INTERFACE: |
| 9 |
|
|
SUBROUTINE CONFIG_SUMMARY( myThid ) |
| 10 |
|
|
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 |
|
|
IMPLICIT NONE |
| 27 |
|
|
C === Global variables === |
| 28 |
|
|
#include "SIZE.h" |
| 29 |
|
|
#include "EEPARAMS.h" |
| 30 |
|
|
#include "PARAMS.h" |
| 31 |
|
|
#include "EOS.h" |
| 32 |
|
|
#include "GRID.h" |
| 33 |
|
|
#include "DYNVARS.h" |
| 34 |
|
|
|
| 35 |
|
|
C !INPUT/OUTPUT PARAMETERS: |
| 36 |
|
|
C == Routine arguments == |
| 37 |
|
|
C myThid - Number of this instance of CONFIG_SUMMARY |
| 38 |
|
|
INTEGER myThid |
| 39 |
|
|
CEndOfInterface |
| 40 |
|
|
|
| 41 |
|
|
C !LOCAL VARIABLES: |
| 42 |
|
|
C == Local variables == |
| 43 |
|
|
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 |
|
|
CHARACTER*(MAX_LEN_MBUF) msgBuf |
| 50 |
|
|
INTEGER I,J,K |
| 51 |
|
|
INTEGER bi, bj |
| 52 |
|
|
_RL xcoord(Nx) |
| 53 |
|
|
_RL ycoord(Ny) |
| 54 |
|
|
_RL rcoord(Nr+1) |
| 55 |
|
|
INTEGER coordLine |
| 56 |
|
|
INTEGER tileLine |
| 57 |
|
|
CEOP |
| 58 |
|
|
|
| 59 |
|
|
|
| 60 |
|
|
_BARRIER |
| 61 |
|
|
_BEGIN_MASTER(myThid) |
| 62 |
|
|
|
| 63 |
|
|
WRITE(msgBuf,'(A)') |
| 64 |
|
|
&'// =======================================================' |
| 65 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 66 |
|
|
& SQUEEZE_RIGHT , 1) |
| 67 |
|
|
WRITE(msgBuf,'(A)') '// Model configuration' |
| 68 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 69 |
|
|
& SQUEEZE_RIGHT , 1) |
| 70 |
|
|
WRITE(msgBuf,'(A)') |
| 71 |
|
|
&'// =======================================================' |
| 72 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 73 |
|
|
& SQUEEZE_RIGHT , 1) |
| 74 |
|
|
|
| 75 |
|
|
WRITE(msgBuf,'(A)') '// ' |
| 76 |
|
|
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 |
|
|
WRITE(msgBuf,'(A)') '// ' |
| 83 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 84 |
|
|
& SQUEEZE_RIGHT , 1) |
| 85 |
|
|
WRITE(msgBuf,'(A,A40)') 'buoyancyRelation = ', buoyancyRelation |
| 86 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 87 |
|
|
& SQUEEZE_RIGHT , 1) |
| 88 |
|
|
CALL WRITE_1D_R8( tRef, Nr, INDEX_K,'tRef =', |
| 89 |
|
|
&' /* Reference temperature profile ( oC or oK ) */') |
| 90 |
|
|
CALL WRITE_1D_R8( sRef, Nr, INDEX_K,'sRef =', |
| 91 |
|
|
&' /* Reference salinity profile ( ppt ) */') |
| 92 |
|
|
CALL WRITE_0D_R8( viscAh, INDEX_NONE,'viscAh =', |
| 93 |
|
|
&' /* Lateral eddy viscosity ( m^2/s ) */') |
| 94 |
|
|
CALL WRITE_0D_R8( viscA4, INDEX_NONE,'viscAh =', |
| 95 |
|
|
&' /* Lateral biharmonic viscosity ( m^4/s ) */') |
| 96 |
|
|
CALL WRITE_0D_L( no_slip_sides, INDEX_NONE, |
| 97 |
|
|
& 'no_slip_sides =', ' /* Viscous BCs: No-slip sides */') |
| 98 |
|
|
IF ( viscAz .NE. UNSET_RL ) THEN |
| 99 |
|
|
CALL WRITE_0D_R8( viscAz, INDEX_NONE,'viscAz =', |
| 100 |
|
|
& ' /* Vertical eddy viscosity ( m^2/s ) */') |
| 101 |
|
|
ENDIF |
| 102 |
|
|
IF ( viscAp .NE. UNSET_RL ) THEN |
| 103 |
|
|
CALL WRITE_0D_R8( viscAp, INDEX_NONE,'viscAp =', |
| 104 |
|
|
& ' /* Vertical eddy viscosity ( Pa^2/s ) */') |
| 105 |
|
|
ENDIF |
| 106 |
|
|
CALL WRITE_0D_R8( viscAr, INDEX_NONE,'viscAr =', |
| 107 |
|
|
&' /* Vertical eddy viscosity ( units of r^2/s ) */') |
| 108 |
|
|
CALL WRITE_0D_R8( diffKhT, INDEX_NONE,'diffKhT =', |
| 109 |
|
|
&' /* Laplacian diffusion of heat laterally ( m^2/s ) */') |
| 110 |
|
|
CALL WRITE_0D_R8( diffK4T, INDEX_NONE,'diffK4T =', |
| 111 |
|
|
&' /* Bihaarmonic diffusion of heat laterally ( m^4/s ) */') |
| 112 |
|
|
CALL WRITE_0D_R8( diffKzT, INDEX_NONE,'diffKzT =', |
| 113 |
|
|
&' /* Laplacian diffusion of heat vertically ( m^2/s ) */') |
| 114 |
|
|
CALL WRITE_0D_R8( diffKrT, INDEX_NONE,'diffKrT =', |
| 115 |
|
|
&' /* Laplacian diffusion of heat vertically ( m^2/s ) */') |
| 116 |
|
|
CALL WRITE_0D_R8( diffKhS, INDEX_NONE,'diffKhS =', |
| 117 |
|
|
&' /* Laplacian diffusion of salt laterally ( m^2/s ) */') |
| 118 |
|
|
CALL WRITE_0D_R8( diffK4S, INDEX_NONE,'diffK4S =', |
| 119 |
|
|
&' /* Bihaarmonic diffusion of salt laterally ( m^4/s ) */') |
| 120 |
|
|
CALL WRITE_0D_R8( diffKzS, INDEX_NONE,'diffKzS =', |
| 121 |
|
|
&' /* Laplacian diffusion of salt vertically ( m^2/s ) */') |
| 122 |
|
|
CALL WRITE_0D_R8( diffKrS, INDEX_NONE,'diffKrS =', |
| 123 |
|
|
&' /* Laplacian diffusion of salt vertically ( m^2/s ) */') |
| 124 |
|
|
WRITE(msgBuf,'(2A)') ' Equation of State : eosType = ', eosType |
| 125 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 126 |
|
|
& SQUEEZE_RIGHT , 1) |
| 127 |
|
|
CALL WRITE_0D_R8( tAlpha, INDEX_NONE,'tAlpha =', |
| 128 |
|
|
&' /* Linear EOS thermal expansion coefficient ( 1/degree ) */') |
| 129 |
|
|
CALL WRITE_0D_R8( sBeta, INDEX_NONE,'sBeta =', |
| 130 |
|
|
&' /* Linear EOS haline contraction coefficient ( 1/ppt ) */') |
| 131 |
|
|
IF ( eosType .EQ. 'POLY3' ) THEN |
| 132 |
|
|
WRITE(msgBuf,'(A)') |
| 133 |
|
|
& '// Polynomial EQS parameters ( from POLY3.COEFFS ) ' |
| 134 |
|
|
DO K = 1, Nr |
| 135 |
|
|
WRITE(msgBuf,'(I3,13F8.3)') |
| 136 |
|
|
& K,eosRefT(K),eosRefS(K),eosSig0(K), (eosC(I,K),I=1,9) |
| 137 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 138 |
|
|
& SQUEEZE_RIGHT , 1) |
| 139 |
|
|
ENDDO |
| 140 |
|
|
ENDIF |
| 141 |
|
|
IF ( buoyancyRelation .eq. 'ATMOSPHERIC' ) THEN |
| 142 |
|
|
CALL WRITE_0D_R8( atm_Rd, INDEX_NONE, 'atm_Rd =', |
| 143 |
|
|
& ' /* gas constant for dry air ( J/kg/K ) */') |
| 144 |
|
|
CALL WRITE_0D_R8( atm_Cp, INDEX_NONE, 'atm_Cp =', |
| 145 |
|
|
& ' /* specific heat (Cp) of dry air ( J/kg/K ) */') |
| 146 |
|
|
CALL WRITE_0D_R8( atm_kappa, INDEX_NONE, 'atm_kappa =', |
| 147 |
|
|
& ' /* kappa (=Rd/Cp ) of dry air */') |
| 148 |
|
|
CALL WRITE_0D_R8( atm_Po, INDEX_NONE, 'atm_Po =', |
| 149 |
|
|
& ' /* standard reference pressure ( Pa ) */') |
| 150 |
|
|
CALL WRITE_0D_I( integr_GeoPot, INDEX_NONE, 'integr_GeoPot =', |
| 151 |
|
|
& ' /* select how the geopotential is integrated */') |
| 152 |
|
|
CALL WRITE_0D_I( selectFindRoSurf, INDEX_NONE, |
| 153 |
|
|
& 'selectFindRoSurf=', |
| 154 |
|
|
& ' /* select how Surf.Ref. pressure is defined */') |
| 155 |
|
|
ENDIF |
| 156 |
|
|
CALL WRITE_0D_R8( rhonil, INDEX_NONE,'rhonil =', |
| 157 |
|
|
&' /* Reference density ( kg/m^3 ) */') |
| 158 |
|
|
CALL WRITE_0D_R8( rhoConst, INDEX_NONE,'rhoConst =', |
| 159 |
|
|
&' /* Reference density ( kg/m^3 ) */') |
| 160 |
|
|
CALL WRITE_0D_R8( rhoConstFresh, INDEX_NONE,'rhoConstFresh =', |
| 161 |
|
|
&' /* Reference density ( kg/m^3 ) */') |
| 162 |
|
|
CALL WRITE_0D_R8( gravity, INDEX_NONE,'gravity =', |
| 163 |
|
|
&' /* Gravitational acceleration ( m/s^2 ) */') |
| 164 |
|
|
CALL WRITE_0D_R8( gBaro, INDEX_NONE,'gBaro =', |
| 165 |
|
|
&' /* Barotropic gravity ( m/s^2 ) */') |
| 166 |
|
|
CALL WRITE_0D_R8( f0, INDEX_NONE,'f0 =', |
| 167 |
|
|
&' /* Reference coriolis parameter ( 1/s ) */') |
| 168 |
|
|
CALL WRITE_0D_R8( beta, INDEX_NONE,'beta =', |
| 169 |
|
|
&' /* Beta ( 1/(m.s) ) */') |
| 170 |
|
|
|
| 171 |
|
|
CALL WRITE_0D_R8( freeSurfFac, INDEX_NONE,'freeSurfFac =', |
| 172 |
|
|
&' /* Implicit free surface factor */') |
| 173 |
|
|
CALL WRITE_0D_L( implicitFreeSurface, INDEX_NONE, |
| 174 |
|
|
& 'implicitFreeSurface =', |
| 175 |
|
|
&' /* Implicit free surface on/off flag */') |
| 176 |
|
|
CALL WRITE_0D_L( rigidLid, INDEX_NONE, |
| 177 |
|
|
& 'rigidLid =', |
| 178 |
|
|
&' /* Rigid lid on/off flag */') |
| 179 |
|
|
CALL WRITE_0D_R8( implicSurfPress, INDEX_NONE, |
| 180 |
|
|
&'implicSurfPress =', |
| 181 |
|
|
&' /* Surface Pressure implicit factor (0-1)*/') |
| 182 |
|
|
CALL WRITE_0D_R8( implicDiv2Dflow, INDEX_NONE, |
| 183 |
|
|
&'implicDiv2Dflow =', |
| 184 |
|
|
&' /* Barot. Flow Div. implicit factor (0-1)*/') |
| 185 |
|
|
CALL WRITE_0D_L( exactConserv, INDEX_NONE, |
| 186 |
|
|
&'exactConserv =', |
| 187 |
|
|
&' /* Exact Volume Conservation on/off flag*/') |
| 188 |
|
|
CALL WRITE_0D_L( uniformLin_PhiSurf, INDEX_NONE, |
| 189 |
|
|
&'uniformLin_PhiSurf =', |
| 190 |
|
|
&' /* use uniform Bo_surf on/off flag*/') |
| 191 |
|
|
CALL WRITE_0D_I( nonlinFreeSurf, INDEX_NONE, |
| 192 |
|
|
&'nonlinFreeSurf =', |
| 193 |
|
|
&' /* Non-linear Free Surf. options (-1,0,1,2,3)*/') |
| 194 |
|
|
WRITE(msgBuf,'(2A)') ' -1,0= Off ; 1,2,3= On,', |
| 195 |
|
|
& ' 2=+rescale gU,gV, 3=+update cg2d solv.' |
| 196 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 197 |
|
|
& SQUEEZE_RIGHT , 1) |
| 198 |
|
|
CALL WRITE_0D_R8( hFacInf, INDEX_NONE, |
| 199 |
|
|
&'hFacInf =', |
| 200 |
|
|
&' /* lower threshold for hFac (nonlinFreeSurf only)*/') |
| 201 |
|
|
CALL WRITE_0D_R8( hFacSup, INDEX_NONE, |
| 202 |
|
|
&'hFacSup =', |
| 203 |
|
|
&' /* upper threshold for hFac (nonlinFreeSurf only)*/') |
| 204 |
|
|
CALL WRITE_0D_L( useRealFreshWaterFlux, INDEX_NONE, |
| 205 |
|
|
&'useRealFreshWaterFlux =', |
| 206 |
|
|
&' /* Real Fresh Water Flux on/off flag*/') |
| 207 |
|
|
IF (useRealFreshWaterFlux .AND. nonlinFreeSurf.GT.0) THEN |
| 208 |
|
|
CALL WRITE_0D_R8( temp_EvPrRn, INDEX_NONE, |
| 209 |
|
|
&'temp_EvPrRn =', |
| 210 |
|
|
&' /* Temp. of Evap/Prec/R (UNSET=use local T)(oC)*/') |
| 211 |
|
|
CALL WRITE_0D_R8( salt_EvPrRn, INDEX_NONE, |
| 212 |
|
|
&'salt_EvPrRn =', |
| 213 |
|
|
&' /* Salin. of Evap/Prec/R (UNSET=use local S)(ppt)*/') |
| 214 |
|
|
CALL WRITE_0D_R8( trac_EvPrRn, INDEX_NONE, |
| 215 |
|
|
&'trac_EvPrRn =', |
| 216 |
|
|
&' /* Tracer in Evap/Prec/R (UNSET=use local Tr)*/') |
| 217 |
|
|
ELSE |
| 218 |
|
|
CALL WRITE_0D_R8( convertFW2Salt, INDEX_NONE, |
| 219 |
|
|
&'convertFW2Salt =', |
| 220 |
|
|
&' /* convert F.W. Flux to Salt Flux (-1=use local S)(ppt)*/') |
| 221 |
|
|
ENDIF |
| 222 |
|
|
|
| 223 |
|
|
CALL WRITE_0D_L( multiDimAdvection, INDEX_NONE, |
| 224 |
|
|
& 'multiDimAdvection =', |
| 225 |
|
|
&' /* enable/disable Multi-Dim Advection */') |
| 226 |
|
|
CALL WRITE_0D_L( staggerTimeStep, INDEX_NONE, |
| 227 |
|
|
& 'staggerTimeStep =', |
| 228 |
|
|
&' /* Stagger time stepping on/off flag */') |
| 229 |
|
|
CALL WRITE_0D_L( momStepping, INDEX_NONE, |
| 230 |
|
|
& 'momStepping =', ' /* Momentum equation on/off flag */') |
| 231 |
|
|
CALL WRITE_0D_L( momAdvection, INDEX_NONE, |
| 232 |
|
|
& 'momAdvection =', ' /* Momentum advection on/off flag */') |
| 233 |
|
|
CALL WRITE_0D_L( momViscosity, INDEX_NONE, |
| 234 |
|
|
& 'momViscosity =', ' /* Momentum viscosity on/off flag */') |
| 235 |
|
|
CALL WRITE_0D_L( useCoriolis, INDEX_NONE, |
| 236 |
|
|
& 'useCoriolis =', ' /* Coriolis on/off flag */') |
| 237 |
|
|
CALL WRITE_0D_L( momForcing, INDEX_NONE, |
| 238 |
|
|
& 'momForcing =', ' /* Momentum forcing on/off flag */') |
| 239 |
|
|
CALL WRITE_0D_L( momPressureForcing, INDEX_NONE, |
| 240 |
|
|
& 'momPressureForcing =', |
| 241 |
|
|
& ' /* Momentum pressure term on/off flag */') |
| 242 |
|
|
CALL WRITE_0D_L( tempStepping, INDEX_NONE, |
| 243 |
|
|
& 'tempStepping =', ' /* Temperature equation on/off flag */') |
| 244 |
|
|
CALL WRITE_0D_L( tempAdvection, INDEX_NONE, |
| 245 |
|
|
& 'tempAdvection=', ' /* Temperature advection on/off flag */') |
| 246 |
|
|
CALL WRITE_0D_L( tempForcing, INDEX_NONE, |
| 247 |
|
|
& 'tempForcing =', ' /* Temperature forcing on/off flag */') |
| 248 |
|
|
CALL WRITE_0D_L( saltStepping, INDEX_NONE, |
| 249 |
|
|
& 'saltStepping =', ' /* Salinity equation on/off flag */') |
| 250 |
|
|
CALL WRITE_0D_L( saltAdvection, INDEX_NONE, |
| 251 |
|
|
& 'saltAdvection=', ' /* Salinity advection on/off flag */') |
| 252 |
|
|
CALL WRITE_0D_L( saltForcing, INDEX_NONE, |
| 253 |
|
|
& 'saltForcing =', ' /* Salinity forcing on/off flag */') |
| 254 |
|
|
CALL WRITE_0D_L( nonHydrostatic, INDEX_NONE, |
| 255 |
|
|
& 'nonHydrostatic =', ' /* Non-Hydrostatic on/off flag */') |
| 256 |
|
|
WRITE(msgBuf,'(A)') '// ' |
| 257 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 258 |
|
|
& SQUEEZE_RIGHT , 1) |
| 259 |
|
|
|
| 260 |
|
|
WRITE(msgBuf,'(A)') |
| 261 |
|
|
& '// Elliptic solver(s) paramters ( PARM02 in namelist ) ' |
| 262 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 263 |
|
|
& SQUEEZE_RIGHT , 1) |
| 264 |
|
|
WRITE(msgBuf,'(A)') '// ' |
| 265 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 266 |
|
|
& SQUEEZE_RIGHT , 1) |
| 267 |
|
|
CALL WRITE_0D_I( cg2dMaxIters, INDEX_NONE,'cg2dMaxIters =', |
| 268 |
|
|
&' /* Upper limit on 2d con. grad iterations */') |
| 269 |
|
|
CALL WRITE_0D_I( cg2dChkResFreq, INDEX_NONE,'cg2dChkResFreq =', |
| 270 |
|
|
&' /* 2d con. grad convergence test frequency */') |
| 271 |
|
|
CALL WRITE_0D_R8( cg2dTargetResidual, INDEX_NONE, |
| 272 |
|
|
& 'cg2dTargetResidual =', |
| 273 |
|
|
&' /* 2d con. grad target residual */') |
| 274 |
|
|
|
| 275 |
|
|
WRITE(msgBuf,'(A)') '// ' |
| 276 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 277 |
|
|
& SQUEEZE_RIGHT , 1) |
| 278 |
|
|
WRITE(msgBuf,'(A)') |
| 279 |
|
|
& '// Time stepping paramters ( PARM03 in namelist ) ' |
| 280 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 281 |
|
|
& SQUEEZE_RIGHT , 1) |
| 282 |
|
|
WRITE(msgBuf,'(A)') '// ' |
| 283 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 284 |
|
|
& SQUEEZE_RIGHT , 1) |
| 285 |
|
|
CALL WRITE_0D_I( nIter0, INDEX_NONE,'nIter0 =', |
| 286 |
|
|
&' /* Base timestep number */') |
| 287 |
|
|
CALL WRITE_0D_I( nTimeSteps, INDEX_NONE,'nTimeSteps =', |
| 288 |
|
|
&' /* Number of timesteps */') |
| 289 |
|
|
CALL WRITE_0D_R8( deltaTmom, INDEX_NONE,'deltatTmom =', |
| 290 |
|
|
&' /* Momentum equation timestep ( s ) */') |
| 291 |
|
|
CALL WRITE_0D_R8( deltaTfreesurf,INDEX_NONE,'deltaTfreesurf =', |
| 292 |
|
|
&' /* FreeSurface equation timestep ( s ) */') |
| 293 |
|
|
CALL WRITE_0D_R8( deltaTtracer, INDEX_NONE,'deltatTtracer =', |
| 294 |
|
|
&' /* Tracer equation timestep ( s ) */') |
| 295 |
|
|
CALL WRITE_0D_R8( deltaTClock, INDEX_NONE,'deltatTClock =', |
| 296 |
|
|
&' /* Model clock timestep ( s ) */') |
| 297 |
|
|
CALL WRITE_0D_R8( cAdjFreq, INDEX_NONE,'cAdjFreq =', |
| 298 |
|
|
&' /* Convective adjustment interval ( s ) */') |
| 299 |
|
|
CALL WRITE_0D_L( forcing_In_AB,INDEX_NONE,'forcing_In_AB =', |
| 300 |
|
|
&' /* put T,S Forcing in Adams-Bash. stepping */') |
| 301 |
|
|
CALL WRITE_0D_R8( abeps, INDEX_NONE,'abeps =', |
| 302 |
|
|
&' /* Adams-Bashforth stabilizing weight */') |
| 303 |
|
|
CALL WRITE_0D_R8( tauCD, INDEX_NONE,'tauCD =', |
| 304 |
|
|
&' /* CD coupling time-scale ( s ) */') |
| 305 |
|
|
CALL WRITE_0D_R8( rCD, INDEX_NONE,'rCD =', |
| 306 |
|
|
&' /* Normalised CD coupling parameter */') |
| 307 |
|
|
CALL WRITE_0D_R8( startTime, INDEX_NONE,'startTime =', |
| 308 |
|
|
&' /* Run start time ( s ). */') |
| 309 |
|
|
CALL WRITE_0D_R8( endTime, INDEX_NONE,'endTime =', |
| 310 |
|
|
&' /* Integration ending time ( s ). */') |
| 311 |
|
|
CALL WRITE_0D_R8( pChkPtFreq, INDEX_NONE,'pChkPtFreq =', |
| 312 |
|
|
&' /* Permanent restart/checkpoint file interval ( s ). */') |
| 313 |
|
|
CALL WRITE_0D_R8( chkPtFreq, INDEX_NONE,'chkPtFreq =', |
| 314 |
|
|
&' /* Rolling restart/checkpoint file interval ( s ). */') |
| 315 |
|
|
CALL WRITE_0D_R8( dumpFreq, INDEX_NONE,'dumpFreq =', |
| 316 |
|
|
&' /* Model state write out interval ( s ). */') |
| 317 |
|
|
|
| 318 |
|
|
WRITE(msgBuf,'(A)') '// ' |
| 319 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 320 |
|
|
& SQUEEZE_RIGHT , 1) |
| 321 |
|
|
WRITE(msgBuf,'(A)') |
| 322 |
|
|
& '// Gridding paramters ( PARM04 in namelist ) ' |
| 323 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 324 |
|
|
& SQUEEZE_RIGHT , 1) |
| 325 |
|
|
WRITE(msgBuf,'(A)') '// ' |
| 326 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 327 |
|
|
& SQUEEZE_RIGHT , 1) |
| 328 |
|
|
CALL WRITE_0D_L( usingCartesianGrid, INDEX_NONE, |
| 329 |
|
|
& 'usingCartesianGrid =', |
| 330 |
|
|
&' /* Cartesian coordinates flag ( True / False ) */') |
| 331 |
|
|
CALL WRITE_0D_L( usingSphericalPolarGrid, INDEX_NONE, |
| 332 |
|
|
& 'usingSphericalPolarGrid =', |
| 333 |
|
|
&' /* Spherical coordinates flag ( True / False ) */') |
| 334 |
|
|
CALL WRITE_0D_L( bUseCylindricalGrid, INDEX_NONE, |
| 335 |
|
|
& 'usingCylindricalGrid =', |
| 336 |
|
|
&' /* Spherical coordinates flag ( True / False ) */') |
| 337 |
|
|
CALL WRITE_0D_L( groundAtK1, INDEX_NONE, 'groundAtK1 =', |
| 338 |
|
|
&' /* Lower Boundary (ground) at the surface(k=1) ( T / F ) */') |
| 339 |
|
|
CALL WRITE_0D_R8( Ro_SeaLevel, INDEX_NONE,'Ro_SeaLevel =', |
| 340 |
|
|
&' /* r(1) ( units of r ) */') |
| 341 |
|
|
CALL WRITE_0D_R8( rkFac, INDEX_NONE,'rkFac =', |
| 342 |
|
|
&' /* minus Vertical index orientation */') |
| 343 |
|
|
CALL WRITE_0D_R8( horiVertRatio, INDEX_NONE,'horiVertRatio =', |
| 344 |
|
|
&' /* Ratio on units : Horiz - Vertical */') |
| 345 |
|
|
c CALL WRITE_1D_R8( delZ,Nr, INDEX_K,'delZ = ', |
| 346 |
|
|
c &' /* W spacing ( m ) */') |
| 347 |
|
|
c CALL WRITE_1D_R8( delP,Nr, INDEX_K,'delP = ', |
| 348 |
|
|
c &' /* W spacing ( Pa ) */') |
| 349 |
|
|
c CALL WRITE_1D_R8( delR,Nr, INDEX_K,'delR = ', |
| 350 |
|
|
c &' /* W spacing ( units of r ) */') |
| 351 |
|
|
CALL WRITE_1D_R8( drC,Nr, INDEX_K,'drC = ', |
| 352 |
|
|
&' /* C spacing ( units of r ) */') |
| 353 |
|
|
CALL WRITE_1D_R8( drF,Nr, INDEX_K,'drF = ', |
| 354 |
|
|
&' /* W spacing ( units of r ) */') |
| 355 |
|
|
CALL WRITE_1D_R8( delX, Nx, INDEX_I,'delX = ', |
| 356 |
|
|
&' /* U spacing ( m - cartesian, degrees - spherical ) */') |
| 357 |
|
|
CALL WRITE_1D_R8( delY, Ny, INDEX_J,'delY = ', |
| 358 |
|
|
&' /* V spacing ( m - cartesian, degrees - spherical ) */') |
| 359 |
|
|
CALL WRITE_0D_R8( phiMin, INDEX_NONE,'phiMin = ', |
| 360 |
|
|
&' /* South edge (ignored - cartesian, degrees - spherical ) */') |
| 361 |
|
|
CALL WRITE_0D_R8( thetaMin, INDEX_NONE,'thetaMin = ', |
| 362 |
|
|
&' /* West edge ( ignored - cartesian, degrees - spherical ) */') |
| 363 |
|
|
CALL WRITE_0D_R8( rSphere, INDEX_NONE,'rSphere = ', |
| 364 |
|
|
&' /* Radius ( ignored - cartesian, m - spherical ) */') |
| 365 |
|
|
DO bi=1,nSx |
| 366 |
|
|
DO I=1,sNx |
| 367 |
|
|
xcoord((bi-1)*sNx+I) = xC(I,1,bi,1) |
| 368 |
|
|
ENDDO |
| 369 |
|
|
ENDDO |
| 370 |
|
|
CALL WRITE_1D_R8( xcoord, sNx*nSx, INDEX_I,'xcoord = ', |
| 371 |
|
|
&' /* P-point X coord ( m - cartesian, degrees - spherical ) */') |
| 372 |
|
|
DO bj=1,nSy |
| 373 |
|
|
DO J=1,sNy |
| 374 |
|
|
ycoord((bj-1)*sNy+J) = yC(1,J,1,bj) |
| 375 |
|
|
ENDDO |
| 376 |
|
|
ENDDO |
| 377 |
|
|
CALL WRITE_1D_R8( ycoord, sNy*nSy, INDEX_J,'ycoord = ', |
| 378 |
|
|
&' /* P-point Y coord ( m - cartesian, degrees - spherical ) */') |
| 379 |
|
|
DO K=1,Nr |
| 380 |
|
|
rcoord(K) = rC(K) |
| 381 |
|
|
ENDDO |
| 382 |
|
|
CALL WRITE_1D_R8( rcoord, Nr, INDEX_K,'rcoord = ', |
| 383 |
|
|
&' /* P-point R coordinate ( units of r ) */') |
| 384 |
|
|
DO K=1,Nr+1 |
| 385 |
|
|
rcoord(K) = rF(K) |
| 386 |
|
|
ENDDO |
| 387 |
|
|
CALL WRITE_1D_R8( rcoord, Nr+1, INDEX_K,'rF = ', |
| 388 |
|
|
&' /* W-Interf. R coordinate ( units of r ) */') |
| 389 |
|
|
|
| 390 |
|
|
C Grid along selected grid lines |
| 391 |
|
|
coordLine = 1 |
| 392 |
|
|
tileLine = 1 |
| 393 |
|
|
CALL WRITE_XY_XLINE_RS( dxF, coordLine, tileLine, |
| 394 |
|
|
I 'dxF','( m - cartesian, degrees - spherical )') |
| 395 |
|
|
CALL WRITE_XY_YLINE_RS( dxF, coordLine, tileLine, |
| 396 |
|
|
I 'dxF','( m - cartesian, degrees - spherical )') |
| 397 |
|
|
CALL WRITE_XY_XLINE_RS( dyF, coordLine, tileLine, |
| 398 |
|
|
I 'dyF','( m - cartesian, degrees - spherical )') |
| 399 |
|
|
CALL WRITE_XY_YLINE_RS( dyF, coordLine, tileLine, |
| 400 |
|
|
I 'dyF','( m - cartesian, degrees - spherical )') |
| 401 |
|
|
CALL WRITE_XY_XLINE_RS( dxG, coordLine, tileLine, |
| 402 |
|
|
I 'dxG','( m - cartesian, degrees - spherical )') |
| 403 |
|
|
CALL WRITE_XY_YLINE_RS( dxG, coordLine, tileLine, |
| 404 |
|
|
I 'dxG','( m - cartesian, degrees - spherical )') |
| 405 |
|
|
CALL WRITE_XY_XLINE_RS( dyG, coordLine, tileLine, |
| 406 |
|
|
I 'dyG','( m - cartesian, degrees - spherical )') |
| 407 |
|
|
CALL WRITE_XY_YLINE_RS( dyG, coordLine, tileLine, |
| 408 |
|
|
I 'dyG','( m - cartesian, degrees - spherical )') |
| 409 |
|
|
CALL WRITE_XY_XLINE_RS( dxC, coordLine, tileLine, |
| 410 |
|
|
I 'dxC','( m - cartesian, degrees - spherical )') |
| 411 |
|
|
CALL WRITE_XY_YLINE_RS( dxC, coordLine, tileLine, |
| 412 |
|
|
I 'dxC','( m - cartesian, degrees - spherical )') |
| 413 |
|
|
CALL WRITE_XY_XLINE_RS( dyC, coordLine, tileLine, |
| 414 |
|
|
I 'dyC','( m - cartesian, degrees - spherical )') |
| 415 |
|
|
CALL WRITE_XY_YLINE_RS( dyC, coordLine, tileLine, |
| 416 |
|
|
I 'dyC','( m - cartesian, degrees - spherical )') |
| 417 |
|
|
CALL WRITE_XY_XLINE_RS( dxV, coordLine, tileLine, |
| 418 |
|
|
I 'dxV','( m - cartesian, degrees - spherical )') |
| 419 |
|
|
CALL WRITE_XY_YLINE_RS( dxV, coordLine, tileLine, |
| 420 |
|
|
I 'dxV','( m - cartesian, degrees - spherical )') |
| 421 |
|
|
CALL WRITE_XY_XLINE_RS( dyU, coordLine, tileLine, |
| 422 |
|
|
I 'dyU','( m - cartesian, degrees - spherical )') |
| 423 |
|
|
CALL WRITE_XY_YLINE_RS( dyU, coordLine, tileLine, |
| 424 |
|
|
I 'dyU','( m - cartesian, degrees - spherical )') |
| 425 |
|
|
CALL WRITE_XY_XLINE_RS( rA, coordLine, tileLine, |
| 426 |
|
|
I 'rA','( m - cartesian, degrees - spherical )') |
| 427 |
|
|
CALL WRITE_XY_YLINE_RS( rA, coordLine, tileLine, |
| 428 |
|
|
I 'rA','( m - cartesian, degrees - spherical )') |
| 429 |
|
|
CALL WRITE_XY_XLINE_RS( rAw, coordLine, tileLine, |
| 430 |
|
|
I 'rAw','( m - cartesian, degrees - spherical )') |
| 431 |
|
|
CALL WRITE_XY_YLINE_RS( rAw, coordLine, tileLine, |
| 432 |
|
|
I 'rAw','( m - cartesian, degrees - spherical )') |
| 433 |
|
|
CALL WRITE_XY_XLINE_RS( rAs, coordLine, tileLine, |
| 434 |
|
|
I 'rAs','( m - cartesian, degrees - spherical )') |
| 435 |
|
|
CALL WRITE_XY_YLINE_RS( rAs, coordLine, tileLine, |
| 436 |
|
|
I 'rAs','( m - cartesian, degrees - spherical )') |
| 437 |
|
|
|
| 438 |
|
|
WRITE(msgBuf,'(A)') ' ' |
| 439 |
|
|
CALL PRINT_MESSAGE( msgBuf, standardMessageUnit, |
| 440 |
|
|
& SQUEEZE_RIGHT , 1) |
| 441 |
|
|
|
| 442 |
|
|
_END_MASTER(myThid) |
| 443 |
|
|
_BARRIER |
| 444 |
|
|
|
| 445 |
|
|
|
| 446 |
|
|
RETURN |
| 447 |
|
|
100 FORMAT(A, |
| 448 |
|
|
&' ' |
| 449 |
|
|
&) |
| 450 |
|
|
END |
| 451 |
|
|
|