File indexing completed on 2024-02-01 06:10:06 UTC
view on githubraw file Latest commit 427e24e1 on 2024-01-31 16:50:14 UTC
4f691ee729 Jean*0001 #include "PACKAGES_CONFIG.h"
1dbaea09ee Chri*0002 #include "CPP_OPTIONS.h"
b9b591469d Jean*0003 #ifdef ALLOW_EXCH2
0004 # include "W2_OPTIONS.h"
0005 #endif /* ALLOW_EXCH2 */
7eb4b63721 Jean*0006 #ifdef ALLOW_MOM_COMMON
0007 # include "MOM_COMMON_OPTIONS.h"
0008 #endif
924557e60a Chri*0009
a30418b6b9 Ed H*0010
9366854e02 Chri*0011
0012
a30418b6b9 Ed H*0013
9366854e02 Chri*0014
924557e60a Chri*0015 SUBROUTINE CONFIG_SUMMARY( myThid )
a30418b6b9 Ed H*0016
0017
0018
0019
0020
0021
0022
0023
0024
924557e60a Chri*0025
9366854e02 Chri*0026
0027 IMPLICIT NONE
924557e60a Chri*0028 #include "SIZE.h"
0029 #include "EEPARAMS.h"
0030 #include "PARAMS.h"
b9b591469d Jean*0031 #ifdef ALLOW_EXCH2
0032 # include "W2_EXCH2_SIZE.h"
0033 # include "W2_EXCH2_TOPOLOGY.h"
0034 #endif /* ALLOW_EXCH2 */
a37a13034c Mart*0035 #include "EOS.h"
924557e60a Chri*0036 #include "GRID.h"
7eb4b63721 Jean*0037 #ifdef ALLOW_MOM_COMMON
0038 # include "MOM_VISC.h"
0039 #endif
1e574fbca1 Jean*0040
0041 #include "SET_GRID.h"
4f691ee729 Jean*0042 #ifdef ALLOW_MNC
0043 #include "MNC_PARAMS.h"
0044 #endif
924557e60a Chri*0045
9366854e02 Chri*0046
a30418b6b9 Ed H*0047
924557e60a Chri*0048 INTEGER myThid
a30418b6b9 Ed H*0049
924557e60a Chri*0050
ddd90829e1 Jean*0051
0052 INTEGER ILNBLNK
0053 EXTERNAL ILNBLNK
0054
9366854e02 Chri*0055
0056
e03b710d9c Jean*0057
e35a804907 Jean*0058
f04f2001af Jean*0059
924557e60a Chri*0060 CHARACTER*(MAX_LEN_MBUF) msgBuf
e03b710d9c Jean*0061 CHARACTER*2 rUnits
c07cd3bfa8 Jean*0062 CHARACTER*10 endList
e35a804907 Jean*0063 INTEGER ioUnit
f04f2001af Jean*0064 INTEGER i, k
371cb3b182 Jean*0065 _RL bufRL(Nr+1)
08a6f65fd0 Jean*0066 INTEGER buffI(1)
f5205fb9ad Chri*0067 INTEGER coordLine
0068 INTEGER tileLine
b9b591469d Jean*0069 INTEGER gridNx, gridNy
924557e60a Chri*0070
7a7a4899b4 Chri*0071 _BARRIER
924557e60a Chri*0072 _BEGIN_MASTER(myThid)
7a7a4899b4 Chri*0073
e35a804907 Jean*0074 ioUnit = standardMessageUnit
e03b710d9c Jean*0075 rUnits = ' m'
c07cd3bfa8 Jean*0076 endList = ' ; '
e03b710d9c Jean*0077 IF ( usingPCoords ) rUnits = 'Pa'
b9b591469d Jean*0078 #ifdef ALLOW_EXCH2
0079 gridNx = exch2_mydNx(1)
0080 gridNy = exch2_mydNy(1)
0081 #else /* ALLOW_EXCH2 */
0082 gridNx = Nx
0083 gridNy = Ny
0084 #endif /* ALLOW_EXCH2 */
e03b710d9c Jean*0085
924557e60a Chri*0086 WRITE(msgBuf,'(A)')
0087 &'// ======================================================='
e35a804907 Jean*0088 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
924557e60a Chri*0089 WRITE(msgBuf,'(A)') '// Model configuration'
e35a804907 Jean*0090 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
924557e60a Chri*0091 WRITE(msgBuf,'(A)')
0092 &'// ======================================================='
e35a804907 Jean*0093 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
7a7a4899b4 Chri*0094
16708c0db0 Chri*0095 WRITE(msgBuf,'(A)') '// '
e35a804907 Jean*0096 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
89084dd1cf Jean*0097 WRITE(msgBuf,'(A)')
46dc4f419b Chri*0098 & '// "Physical" paramters ( PARM01 in namelist ) '
e35a804907 Jean*0099 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
16708c0db0 Chri*0100 WRITE(msgBuf,'(A)') '// '
e35a804907 Jean*0101 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
38a63a3c62 Jean*0102 CALL WRITE_0D_C( buoyancyRelation, -1, INDEX_NONE,
0103 & 'buoyancyRelation =', ' /* Type of relation to get Buoyancy */')
e99e7fe4e6 Jean*0104 CALL WRITE_0D_L( fluidIsAir, INDEX_NONE,
f15994caab Jean*0105 & 'fluidIsAir =', ' /* fluid major constituent is Air */')
e99e7fe4e6 Jean*0106 CALL WRITE_0D_L( fluidIsWater, INDEX_NONE,
f15994caab Jean*0107 & 'fluidIsWater =', ' /* fluid major constituent is Water */')
e99e7fe4e6 Jean*0108 CALL WRITE_0D_L( usingPCoords, INDEX_NONE,
0109 & 'usingPCoords =', ' /* use p (or p*) vertical coordinate */')
0110 CALL WRITE_0D_L( usingZCoords, INDEX_NONE,
0111 & 'usingZCoords =', ' /* use z (or z*) vertical coordinate */')
371cb3b182 Jean*0112 CALL WRITE_1D_RL( tRef, Nr, INDEX_K, 'tRef =',
f15994caab Jean*0113 & ' /* Reference temperature profile ( oC or K ) */')
371cb3b182 Jean*0114 CALL WRITE_1D_RL( sRef, Nr, INDEX_K, 'sRef =',
ba0b047096 Mart*0115 & ' /* Reference salinity profile ( g/kg ) */')
5b172de0d2 Jean*0116 CALL WRITE_1D_RL( rhoRef, Nr, INDEX_K, 'rhoRef =',
0117 & ' /* Density vertical profile from (Ref,sRef)( kg/m^3 ) */')
0118 CALL WRITE_1D_RL( dBdrRef, Nr, INDEX_K, 'dBdrRef =',
0119 & ' /* Vertical grad. of reference buoyancy [(m/s/r)^2] */')
7eb4b63721 Jean*0120
0121 #ifdef ALLOW_MOM_COMMON
0122 CALL WRITE_0D_L( useStrainTensionVisc, INDEX_NONE,
0123 & 'useStrainTensionVisc=',
0124 & ' /* Use StrainTension Form of Viscous Operator */')
0125 CALL WRITE_0D_L( useVariableVisc, INDEX_NONE,
dc3adfb09b Jean*0126 & 'useVariableVisc =', ' /* Use variable horizontal viscosity */')
7eb4b63721 Jean*0127 CALL WRITE_0D_L( useHarmonicVisc, INDEX_NONE,
dc3adfb09b Jean*0128 & 'useHarmonicVisc =', ' /* Use harmonic horizontal viscosity */')
7eb4b63721 Jean*0129 CALL WRITE_0D_L( useBiharmonicVisc, INDEX_NONE,
dc3adfb09b Jean*0130 & 'useBiharmonicVisc=', ' /* Use biharmonic horiz. viscosity */')
0131 CALL WRITE_0D_L( useSmag3D, INDEX_NONE,
0132 & 'useSmag3D =', ' /* Use isotropic 3-D Smagorinsky viscosity */')
0133 IF ( useSmag3D )
0134 & CALL WRITE_0D_RL( smag3D_coeff, INDEX_NONE, 'smag3D_coeff =',
0135 & ' /* Smagorinsky 3-D coefficient (Cs^2) (-) */')
2d5bb917cc Jean*0136 IF ( smag3D_diffCoeff.GT.zeroRL )
0137 & CALL WRITE_0D_RL( smag3D_diffCoeff, INDEX_NONE,
0138 & 'smag3D_diffCoeff =',
0139 & ' /* Smagorinsky 3-D diffusion coefficient (-) */')
f15994caab Jean*0140 CALL WRITE_0D_RL( viscAh, INDEX_NONE, 'viscAh = ',
7eb4b63721 Jean*0141 & ' /* Lateral harmonic viscosity ( m^2/s ) */')
89084dd1cf Jean*0142 IF ( viscAhD.NE.viscAh )
f15994caab Jean*0143 & CALL WRITE_0D_RL( viscAhD, INDEX_NONE, 'viscAhD = ',
7eb4b63721 Jean*0144 & ' /* Lateral harmonic viscosity (Divergence)( m^2/s ) */')
89084dd1cf Jean*0145 IF ( viscAhZ.NE.viscAh )
f15994caab Jean*0146 & CALL WRITE_0D_RL( viscAhZ, INDEX_NONE, 'viscAhZ = ',
7eb4b63721 Jean*0147 & ' /* Lateral harmonic viscosity (Vorticity) ( m^2/s ) */')
0148 IF ( nonHydrostatic )
0149 & CALL WRITE_0D_RL( viscAhW, INDEX_NONE, 'viscAhW = ',
0150 & ' /* Lateral harmonic viscosity in W eq. ( m^2/s ) */')
0151 IF ( useVariableVisc ) THEN
0152 CALL WRITE_0D_RL( viscAhMax, INDEX_NONE, 'viscAhMax =',
0153 & ' /* Maximum lateral harmonic viscosity ( m^2/s ) */')
0154 CALL WRITE_0D_RL( viscAhGrid, INDEX_NONE, 'viscAhGrid =',
0155 & ' /* Grid dependent lateral harmonic viscosity ( non-dim. ) */')
0156 CALL WRITE_0D_L( useFullLeith, INDEX_NONE, 'useFullLeith =',
f15994caab Jean*0157 & ' /* Use Full Form of Leith Viscosity on/off flag*/')
7eb4b63721 Jean*0158 CALL WRITE_0D_L( useAreaViscLength, INDEX_NONE,
f15994caab Jean*0159 & 'useAreaViscLength =',
0160 & ' /* Use area for visc length instead of geom. mean*/')
7eb4b63721 Jean*0161 CALL WRITE_0D_RL( viscC2leith, INDEX_NONE, 'viscC2leith =',
f15994caab Jean*0162 & ' /* Leith harmonic visc. factor (on grad(vort),non-dim.) */')
7eb4b63721 Jean*0163 CALL WRITE_0D_RL( viscC2leithD, INDEX_NONE, 'viscC2leithD =',
f15994caab Jean*0164 & ' /* Leith harmonic viscosity factor (on grad(div),non-dim.)*/')
f59d76b0dd Ed D*0165 CALL WRITE_0D_RL( viscC2LeithQG, INDEX_NONE, 'viscC2LeithQG =',
0166 & ' /* QG Leith harmonic viscosity factor (non-dim.)*/')
7eb4b63721 Jean*0167 CALL WRITE_0D_RL( viscC2smag, INDEX_NONE, 'viscC2smag =',
f15994caab Jean*0168 & ' /* Smagorinsky harmonic viscosity factor (non-dim.) */')
7eb4b63721 Jean*0169 ENDIF
f15994caab Jean*0170 CALL WRITE_0D_RL( viscA4, INDEX_NONE, 'viscA4 = ',
0171 & ' /* Lateral biharmonic viscosity ( m^4/s ) */')
89084dd1cf Jean*0172 IF ( viscA4D.NE.viscA4 )
f15994caab Jean*0173 & CALL WRITE_0D_RL( viscA4D, INDEX_NONE, 'viscA4D = ',
0174 & ' /* Lateral biharmonic viscosity (Divergence)( m^4/s ) */')
89084dd1cf Jean*0175 IF ( viscA4Z.NE.viscA4 )
f15994caab Jean*0176 & CALL WRITE_0D_RL( viscA4Z, INDEX_NONE, 'viscA4Z = ',
0177 & ' /* Lateral biharmonic viscosity (Vorticity) ( m^4/s ) */')
7eb4b63721 Jean*0178 IF ( nonHydrostatic )
0179 & CALL WRITE_0D_RL( viscA4W, INDEX_NONE, 'viscA4W = ',
0180 & ' /* Lateral biharmonic viscosity in W eq. ( m^2/s ) */')
0181 IF ( useVariableVisc ) THEN
0182 CALL WRITE_0D_RL( viscA4Max, INDEX_NONE, 'viscA4Max =',
f15994caab Jean*0183 & ' /* Maximum biharmonic viscosity ( m^2/s ) */')
7eb4b63721 Jean*0184 CALL WRITE_0D_RL( viscA4Grid, INDEX_NONE, 'viscA4Grid =',
f15994caab Jean*0185 & ' /* Grid dependent biharmonic viscosity ( non-dim. ) */')
7eb4b63721 Jean*0186 CALL WRITE_0D_RL( viscC4leith, INDEX_NONE,'viscC4leith =',
f15994caab Jean*0187 & ' /* Leith biharm viscosity factor (on grad(vort), non-dim.)*/')
7eb4b63721 Jean*0188 CALL WRITE_0D_RL( viscC4leithD, INDEX_NONE,'viscC4leithD =',
f15994caab Jean*0189 & ' /* Leith biharm viscosity factor (on grad(div), non-dim.) */')
7eb4b63721 Jean*0190 CALL WRITE_0D_RL( viscC4Smag, INDEX_NONE,'viscC4Smag =',
f15994caab Jean*0191 & ' /* Smagorinsky biharm viscosity factor (non-dim) */')
7eb4b63721 Jean*0192 ENDIF
8adf9f02ba Patr*0193 CALL WRITE_0D_L( no_slip_sides, INDEX_NONE,
88830be691 Alis*0194 & 'no_slip_sides =', ' /* Viscous BCs: No-slip sides */')
bd3e0a5ff9 Jean*0195 CALL WRITE_0D_RL( sideDragFactor, INDEX_NONE, 'sideDragFactor =',
f4b9df5e2d Jean*0196 & ' /* side-drag scaling factor (non-dim) */')
7eb4b63721 Jean*0197
2d15ad3a83 Jean*0198 CALL WRITE_1D_RL( viscArNr, Nr, INDEX_K, 'viscArNr =',
0199 & ' /* vertical profile of vertical viscosity ('
0200 & //rUnits//'^2/s )*/')
df3a5aa235 Jean*0201 CALL WRITE_0D_L( no_slip_bottom, INDEX_NONE,
0202 & 'no_slip_bottom =', ' /* Viscous BCs: No-slip bottom */')
f9ef55fa0c Jean*0203 CALL WRITE_0D_L( bottomVisc_pCell, INDEX_NONE,
0204 & 'bottomVisc_pCell =', ' /* Partial-cell in bottom Visc. BC */')
bd3e0a5ff9 Jean*0205 CALL WRITE_0D_RL( bottomDragLinear, INDEX_NONE,
f4b9df5e2d Jean*0206 & 'bottomDragLinear =',
eb84db4ed7 Jean*0207 & ' /* linear bottom-drag coefficient ( m/s ) */')
bd3e0a5ff9 Jean*0208 CALL WRITE_0D_RL( bottomDragQuadratic, INDEX_NONE,
f4b9df5e2d Jean*0209 & 'bottomDragQuadratic =',
eb84db4ed7 Jean*0210 & ' /* quadratic bottom-drag coefficient (-) */')
ab47de63dc Mart*0211 # ifdef ALLOW_BOTTOMDRAG_ROUGHNESS
0212 CALL WRITE_0D_RL( zRoughBot, INDEX_NONE, 'zRoughBot =',
0213 & ' /* roughness length for bottom friction (m) */')
0214 # endif
f9ef55fa0c Jean*0215 CALL WRITE_0D_I( selectBotDragQuadr, INDEX_NONE,
0216 & 'selectBotDragQuadr =',
0217 & ' /* select quadratic bottom drag options */')
7eb4b63721 Jean*0218 #endif /* ALLOW_MOM_COMMON */
bd3e0a5ff9 Jean*0219 CALL WRITE_0D_RL( diffKhT, INDEX_NONE,'diffKhT =',
7a7a4899b4 Chri*0220 &' /* Laplacian diffusion of heat laterally ( m^2/s ) */')
bd3e0a5ff9 Jean*0221 CALL WRITE_0D_RL( diffK4T, INDEX_NONE,'diffK4T =',
e03b710d9c Jean*0222 &' /* Biharmonic diffusion of heat laterally ( m^4/s ) */')
bd3e0a5ff9 Jean*0223 CALL WRITE_0D_RL( diffKhS, INDEX_NONE,'diffKhS =',
7a7a4899b4 Chri*0224 &' /* Laplacian diffusion of salt laterally ( m^2/s ) */')
bd3e0a5ff9 Jean*0225 CALL WRITE_0D_RL( diffK4S, INDEX_NONE,'diffK4S =',
e03b710d9c Jean*0226 &' /* Biharmonic diffusion of salt laterally ( m^4/s ) */')
371cb3b182 Jean*0227 CALL WRITE_1D_RL( diffKrNrT, Nr, INDEX_K, 'diffKrNrT =',
e03b710d9c Jean*0228 & ' /* vertical profile of vertical diffusion of Temp ('
0229 & //rUnits//'^2/s )*/')
bf6138bedc Jean*0230 IF ( tempVertDiff4 )
0231 & CALL WRITE_1D_RL( diffKr4T, Nr, INDEX_K, 'diffKr4T =',
0232 & ' /* profile of vertical biharmonic diffusion of Temp ('
0233 & //rUnits//'^4/s )*/')
371cb3b182 Jean*0234 CALL WRITE_1D_RL( diffKrNrS, Nr, INDEX_K, 'diffKrNrS =',
e03b710d9c Jean*0235 & ' /* vertical profile of vertical diffusion of Salt ('
0236 & //rUnits//'^2/s )*/')
bf6138bedc Jean*0237 IF ( saltVertDiff4 )
0238 & CALL WRITE_1D_RL( diffKr4S, Nr, INDEX_K, 'diffKr4S =',
0239 & ' /* profile of vertical biharmonic diffusion of Salt ('
0240 & //rUnits//'^4/s )*/')
bd3e0a5ff9 Jean*0241 CALL WRITE_0D_RL( diffKrBL79surf, INDEX_NONE,'diffKrBL79surf =',
e03b710d9c Jean*0242 & ' /* Surface diffusion for Bryan and Lewis 79 ( m^2/s ) */')
bd3e0a5ff9 Jean*0243 CALL WRITE_0D_RL( diffKrBL79deep, INDEX_NONE,'diffKrBL79deep =',
e03b710d9c Jean*0244 & ' /* Deep diffusion for Bryan and Lewis 1979 ( m^2/s ) */')
bd3e0a5ff9 Jean*0245 CALL WRITE_0D_RL( diffKrBL79scl, INDEX_NONE,'diffKrBL79scl =',
e03b710d9c Jean*0246 & ' /* Depth scale for Bryan and Lewis 1979 ( m ) */')
bd3e0a5ff9 Jean*0247 CALL WRITE_0D_RL( diffKrBL79Ho, INDEX_NONE,'diffKrBL79Ho =',
e03b710d9c Jean*0248 & ' /* Turning depth for Bryan and Lewis 1979 ( m ) */')
bd3e0a5ff9 Jean*0249 CALL WRITE_0D_RL( ivdc_kappa, INDEX_NONE,'ivdc_kappa =',
e03b710d9c Jean*0250 & ' /* Implicit Vertical Diffusivity for Convection ('
f15994caab Jean*0251 & //rUnits//'^2/s) */')
bd3e0a5ff9 Jean*0252 CALL WRITE_0D_RL( hMixCriteria, INDEX_NONE,'hMixCriteria=',
385f8651c3 Jean*0253 & ' /* Criteria for mixed-layer diagnostic */')
f15994caab Jean*0254 CALL WRITE_0D_RL( dRhoSmall, INDEX_NONE,'dRhoSmall =',
7c01d59526 Davi*0255 & ' /* Parameter for mixed-layer diagnostic */')
bd3e0a5ff9 Jean*0256 CALL WRITE_0D_RL( hMixSmooth, INDEX_NONE,'hMixSmooth=',
d1b0368d70 Davi*0257 & ' /* Smoothing parameter for mixed-layer diagnostic */')
7843dde2de jm-c 0258
38a63a3c62 Jean*0259 CALL WRITE_0D_C( eosType, 0, INDEX_NONE, 'eosType =',
0260 & ' /* Type of Equation of State */')
6e502e80c0 Jean*0261 IF ( eosType .EQ. 'LINEAR' ) THEN
0262 CALL WRITE_0D_RL( tAlpha, INDEX_NONE,'tAlpha =',
0263 & ' /* Linear EOS thermal expansion coefficient ( 1/oC ) */')
0264 CALL WRITE_0D_RL( sBeta, INDEX_NONE,'sBeta =',
ba0b047096 Mart*0265 & ' /* Linear EOS haline contraction coefficient ( 1/(g/kg) ) */')
6e502e80c0 Jean*0266 CALL WRITE_0D_RL( rhoNil, INDEX_NONE, 'rhoNil =',
0267 & ' /* Reference density for Linear EOS ( kg/m^3 ) */')
9330bd8273 Jean*0268 ELSEIF ( eosType .EQ. 'POLY3 ' ) THEN
89084dd1cf Jean*0269 WRITE(msgBuf,'(A)')
ca3007f690 Jean*0270 & 'Polynomial EQS parameters ( from POLY3.COEFFS ):'
0271 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
f04f2001af Jean*0272 DO k = 1, Nr
910f05e765 Chri*0273 WRITE(msgBuf,'(I3,13F8.3)')
f04f2001af Jean*0274 & k,eosRefT(k),eosRefS(k),eosSig0(k), (eosC(i,k),i=1,9)
e35a804907 Jean*0275 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
910f05e765 Chri*0276 ENDDO
ca3007f690 Jean*0277 WRITE(msgBuf,'(A)') ' ;'
0278 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
9330bd8273 Jean*0279 ELSEIF ( eosType .NE. 'IDEALG' ) THEN
0280 CALL WRITE_0D_RL( eosRefP0, INDEX_NONE, 'eosRefP0 =',
0281 & ' /* Reference atmospheric pressure for EOS ( Pa ) */')
910f05e765 Chri*0282 ENDIF
6ef71429db Jean*0283 IF ( usingZCoords ) THEN
0284 WRITE(msgBuf,'(2A)') 'selectP_inEOS_Zc =',
0285 & ' /* select pressure to use in EOS (0,1,2,3) */'
0286 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0287 buffI(1) = selectP_inEOS_Zc
0288 CALL PRINT_LIST_I( buffI, 1, 1, INDEX_NONE,
0289 & .FALSE., .TRUE., ioUnit )
0290 WRITE(msgBuf,'(2A)') ' 0= -g*rhoConst*z ; ',
0291 & '1= pRef (from tRef,sRef); 2= Hyd P ; 3= Hyd+NH P'
0292 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0293 CALL PRINT_MESSAGE(endList, ioUnit, SQUEEZE_RIGHT, myThid )
0294 ENDIF
7843dde2de jm-c 0295
9330bd8273 Jean*0296 CALL WRITE_0D_RL( surf_pRef, INDEX_NONE, 'surf_pRef =',
0297 & ' /* Surface reference pressure ( Pa ) */')
aad87ebb4c Jean*0298 IF ( fluidIsWater ) THEN
0299 CALL WRITE_0D_RL( HeatCapacity_Cp, INDEX_NONE,
0300 & 'HeatCapacity_Cp =',
0301 & ' /* Specific heat capacity ( J/kg/K ) */')
0302 ENDIF
6e502e80c0 Jean*0303 CALL WRITE_0D_RL( celsius2K, INDEX_NONE, 'celsius2K =',
0304 & ' /* 0 degree Celsius converted to Kelvin ( K ) */')
e99e7fe4e6 Jean*0305 IF ( fluidIsAir ) THEN
aad87ebb4c Jean*0306 CALL WRITE_0D_RL( atm_Rd, INDEX_NONE, 'atm_Rd = ',
463053c692 Jean*0307 & ' /* gas constant for dry air ( J/kg/K ) */')
aad87ebb4c Jean*0308 CALL WRITE_0D_RL( atm_Cp, INDEX_NONE, 'atm_Cp = ',
463053c692 Jean*0309 & ' /* specific heat (Cp) of dry air ( J/kg/K ) */')
aad87ebb4c Jean*0310 CALL WRITE_0D_RL( atm_kappa, INDEX_NONE, 'atm_kappa =',
0311 & ' /* kappa (=Rd/Cp ) of dry air */')
0312 CALL WRITE_0D_RL( atm_Rq, INDEX_NONE, 'atm_Rq = ',
1aedd07e9b Jean*0313 & ' /* water vap. specific vol. anomaly relative to dry air */')
aad87ebb4c Jean*0314 CALL WRITE_0D_RL( atm_Po, INDEX_NONE, 'atm_Po = ',
463053c692 Jean*0315 & ' /* standard reference pressure ( Pa ) */')
aad87ebb4c Jean*0316 CALL WRITE_0D_RL( thetaConst, INDEX_NONE, 'thetaConst=',
0317 & ' /* constant reference for potential temperature ( K ) */')
0318 CALL WRITE_0D_I( integr_GeoPot, INDEX_NONE, 'integr_GeoPot =',
463053c692 Jean*0319 & ' /* select how the geopotential is integrated */')
aad87ebb4c Jean*0320 CALL WRITE_0D_I( selectFindRoSurf, INDEX_NONE,
463053c692 Jean*0321 & 'selectFindRoSurf=',
0322 & ' /* select how Surf.Ref. pressure is defined */')
0323 ENDIF
6e502e80c0 Jean*0324 CALL WRITE_0D_RL( rhoConst, INDEX_NONE,'rhoConst =',
0325 & ' /* Reference density (Boussinesq) ( kg/m^3 ) */')
371cb3b182 Jean*0326 CALL WRITE_1D_RL( rhoFacC, Nr, INDEX_K, 'rhoFacC = ',
4606c28752 Jean*0327 & ' /* normalized Reference density @ cell-Center (-) */')
371cb3b182 Jean*0328 CALL WRITE_1D_RL( rhoFacF, Nr+1, INDEX_K, 'rhoFacF = ',
4606c28752 Jean*0329 & ' /* normalized Reference density @ W-Interface (-) */')
bd3e0a5ff9 Jean*0330 CALL WRITE_0D_RL( rhoConstFresh, INDEX_NONE,'rhoConstFresh =',
6e502e80c0 Jean*0331 & ' /* Fresh-water reference density ( kg/m^3 ) */')
bd3e0a5ff9 Jean*0332 CALL WRITE_0D_RL( gravity, INDEX_NONE,'gravity =',
16708c0db0 Chri*0333 &' /* Gravitational acceleration ( m/s^2 ) */')
bd3e0a5ff9 Jean*0334 CALL WRITE_0D_RL( gBaro, INDEX_NONE,'gBaro =',
2bdd4f6287 Jean*0335 &' /* Barotropic gravity ( m/s^2 ) */')
6ef71429db Jean*0336 CALL WRITE_1D_RL( gravFacC, Nr, INDEX_K, 'gravFacC = ',
0337 & ' /* gravity factor (vs surf.) @ cell-Center (-) */')
0338 CALL WRITE_1D_RL( gravFacF, Nr+1, INDEX_K, 'gravFacF = ',
0339 & ' /* gravity factor (vs surf.) @ W-Interface (-) */')
bd3e0a5ff9 Jean*0340 CALL WRITE_0D_RL(rotationPeriod,INDEX_NONE,'rotationPeriod =',
81a2602dac Jean*0341 &' /* Rotation Period ( s ) */')
bd3e0a5ff9 Jean*0342 CALL WRITE_0D_RL( omega, INDEX_NONE,'omega =',
81a2602dac Jean*0343 &' /* Angular velocity ( rad/s ) */')
bd3e0a5ff9 Jean*0344 CALL WRITE_0D_RL( f0, INDEX_NONE,'f0 =',
16708c0db0 Chri*0345 &' /* Reference coriolis parameter ( 1/s ) */')
bd3e0a5ff9 Jean*0346 CALL WRITE_0D_RL( beta, INDEX_NONE,'beta =',
16708c0db0 Chri*0347 &' /* Beta ( 1/(m.s) ) */')
c07cd3bfa8 Jean*0348 CALL WRITE_0D_RL( fPrime, INDEX_NONE,'fPrime =',
0349 &' /* Second coriolis parameter ( 1/s ) */')
f15994caab Jean*0350 CALL WRITE_0D_L( rigidLid, INDEX_NONE, 'rigidLid =',
0351 &' /* Rigid lid on/off flag */')
8adf9f02ba Patr*0352 CALL WRITE_0D_L( implicitFreeSurface, INDEX_NONE,
c0a4efc370 Chri*0353 & 'implicitFreeSurface =',
0354 &' /* Implicit free surface on/off flag */')
f15994caab Jean*0355 CALL WRITE_0D_RL( freeSurfFac, INDEX_NONE,'freeSurfFac =',
0356 &' /* Implicit free surface factor */')
bd3e0a5ff9 Jean*0357 CALL WRITE_0D_RL( implicSurfPress, INDEX_NONE,
f15994caab Jean*0358 & 'implicSurfPress =',
0320e25227 Mart*0359 & ' /* Surface Pressure implicit factor (0-1) */')
9e44938df7 Jean*0360 CALL WRITE_0D_RL( implicDiv2DFlow, INDEX_NONE,
0361 & 'implicDiv2DFlow =',
0320e25227 Mart*0362 & ' /* Barot. Flow Div. implicit factor (0-1) */')
745a0098ab Jean*0363 CALL WRITE_0D_L( uniformLin_PhiSurf, INDEX_NONE,
f15994caab Jean*0364 & 'uniformLin_PhiSurf =',
0320e25227 Mart*0365 & ' /* use uniform Bo_surf on/off flag */')
2ee74bea59 Jean*0366 CALL WRITE_0D_L( uniformFreeSurfLev, INDEX_NONE,
0367 & 'uniformFreeSurfLev =',
0320e25227 Mart*0368 & ' /* free-surface level-index is uniform */')
0369 CALL WRITE_0D_RL( sIceLoadFac, INDEX_NONE, 'sIceLoadFac =',
0370 & ' /* scale factor for sIceLoad (0-1) */')
f15994caab Jean*0371 CALL WRITE_0D_RL( hFacMin, INDEX_NONE, 'hFacMin = ',
0372 & ' /* minimum partial cell factor (hFac) */')
2fa5110e52 Jean*0373 CALL WRITE_0D_RL( hFacMinDr, INDEX_NONE, 'hFacMinDr =',
f15994caab Jean*0374 & ' /* minimum partial cell thickness ('//rUnits//') */')
2ee74bea59 Jean*0375 CALL WRITE_0D_L( exactConserv, INDEX_NONE,
0376 & 'exactConserv =',
0320e25227 Mart*0377 & ' /* Exact Volume Conservation on/off flag */')
2ee74bea59 Jean*0378 CALL WRITE_0D_L( linFSConserveTr, INDEX_NONE,
0379 & 'linFSConserveTr =',
0320e25227 Mart*0380 & ' /* Tracer correction for Lin Free Surface on/off flag */')
c07cd3bfa8 Jean*0381 WRITE(msgBuf,'(2A)') 'nonlinFreeSurf =',
0382 & ' /* Non-linear Free Surf. options (-1,0,1,2,3)*/'
0383 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0384 buffI(1) = nonlinFreeSurf
0385 CALL PRINT_LIST_I( buffI, 1, 1, INDEX_NONE,
0386 & .FALSE., .TRUE., ioUnit )
745a0098ab Jean*0387 WRITE(msgBuf,'(2A)') ' -1,0= Off ; 1,2,3= On,',
0388 & ' 2=+rescale gU,gV, 3=+update cg2d solv.'
e35a804907 Jean*0389 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
c07cd3bfa8 Jean*0390 CALL PRINT_MESSAGE(endList, ioUnit, SQUEEZE_RIGHT, myThid )
f15994caab Jean*0391 CALL WRITE_0D_RL( hFacInf, INDEX_NONE, 'hFacInf = ',
0392 & ' /* lower threshold for hFac (nonlinFreeSurf only)*/')
0393 CALL WRITE_0D_RL( hFacSup, INDEX_NONE, 'hFacSup = ',
0394 & ' /* upper threshold for hFac (nonlinFreeSurf only)*/')
0870c568ac Jean*0395 CALL WRITE_0D_I( select_rStar, INDEX_NONE,
f15994caab Jean*0396 & 'select_rStar =',
0397 & ' /* r* Vertical coord. options (=0 r coord.; >0 uses r*)*/')
745a0098ab Jean*0398 CALL WRITE_0D_L( useRealFreshWaterFlux, INDEX_NONE,
f15994caab Jean*0399 & 'useRealFreshWaterFlux =',
0400 & ' /* Real Fresh Water Flux on/off flag*/')
bd3e0a5ff9 Jean*0401 CALL WRITE_0D_RL( temp_EvPrRn, INDEX_NONE,
f15994caab Jean*0402 & 'temp_EvPrRn =',
0403 & ' /* Temp. of Evap/Prec/R (UNSET=use local T)(oC)*/')
bd3e0a5ff9 Jean*0404 CALL WRITE_0D_RL( salt_EvPrRn, INDEX_NONE,
f15994caab Jean*0405 & 'salt_EvPrRn =',
ba0b047096 Mart*0406 & ' /* Salin. of Evap/Prec/R (UNSET=use local S)(g/kg)*/')
2ee74bea59 Jean*0407 CALL WRITE_0D_I( selectAddFluid, INDEX_NONE,
0408 & 'selectAddFluid =',
0409 & ' /* option for mass source/sink of fluid (=0: off) */')
80d98e0151 Dimi*0410 CALL WRITE_0D_RL( temp_addMass, INDEX_NONE,
f15994caab Jean*0411 & 'temp_addMass =',
0412 & ' /* Temp. of addMass array (UNSET=use local T)(oC)*/')
80d98e0151 Dimi*0413 CALL WRITE_0D_RL( salt_addMass, INDEX_NONE,
f15994caab Jean*0414 & 'salt_addMass =',
ba0b047096 Mart*0415 & ' /* Salin. of addMass array (UNSET=use local S)(g/kg)*/')
d18df35fee Jean*0416 IF ( .NOT.useRealFreshWaterFlux .OR. selectAddFluid.EQ.-1
0417 & .OR. nonlinFreeSurf.LE.0 ) THEN
bd3e0a5ff9 Jean*0418 CALL WRITE_0D_RL( convertFW2Salt, INDEX_NONE,
f15994caab Jean*0419 & 'convertFW2Salt =',
ba0b047096 Mart*0420 & ' /* convert F.W. Flux to Salt Flux (-1=use local S)(g/kg)*/')
745a0098ab Jean*0421 ENDIF
0422
f9fd562f68 Jean*0423 CALL WRITE_0D_L( use3Dsolver, INDEX_NONE,
0424 & 'use3Dsolver =', ' /* use 3-D pressure solver on/off flag */')
b9d351b225 Jean*0425 CALL WRITE_0D_L( nonHydrostatic, INDEX_NONE,
0426 & 'nonHydrostatic =', ' /* Non-Hydrostatic on/off flag */')
bd3e0a5ff9 Jean*0427 CALL WRITE_0D_RL( nh_Am2, INDEX_NONE, 'nh_Am2 =',
f4b9df5e2d Jean*0428 & ' /* Non-Hydrostatic terms scaling factor */')
3fcd8a21e5 Jean*0429 CALL WRITE_0D_RL( implicitNHPress, INDEX_NONE,
0430 & 'implicitNHPress =',
0431 & ' /* Non-Hyd Pressure implicit factor (0-1)*/')
0432 CALL WRITE_0D_I( selectNHfreeSurf, INDEX_NONE,
0433 & 'selectNHfreeSurf =',
0434 & ' /* Non-Hyd (free-)Surface option */')
b0d52b5b33 Jean*0435 CALL WRITE_0D_L( quasiHydrostatic, INDEX_NONE,
0436 & 'quasiHydrostatic =', ' /* Quasi-Hydrostatic on/off flag */')
4947dcf697 Jean*0437 CALL WRITE_0D_L( calc_wVelocity, INDEX_NONE, 'calc_wVelocity =',
0438 & ' /* vertical velocity calculation on/off flag */')
8adf9f02ba Patr*0439 CALL WRITE_0D_L( momStepping, INDEX_NONE,
4fb6204e53 Chri*0440 & 'momStepping =', ' /* Momentum equation on/off flag */')
dfc250727a Jean*0441 CALL WRITE_0D_L( vectorInvariantMomentum, INDEX_NONE,
0442 & 'vectorInvariantMomentum=',
0443 & ' /* Vector-Invariant Momentum on/off */')
8adf9f02ba Patr*0444 CALL WRITE_0D_L( momAdvection, INDEX_NONE,
4fb6204e53 Chri*0445 & 'momAdvection =', ' /* Momentum advection on/off flag */')
8adf9f02ba Patr*0446 CALL WRITE_0D_L( momViscosity, INDEX_NONE,
cf8488c0fd Chri*0447 & 'momViscosity =', ' /* Momentum viscosity on/off flag */')
f15994caab Jean*0448 CALL WRITE_0D_L( momImplVertAdv, INDEX_NONE, 'momImplVertAdv=',
0449 & ' /* Momentum implicit vert. advection on/off*/')
b9d351b225 Jean*0450 CALL WRITE_0D_L( implicitViscosity, INDEX_NONE,
0451 & 'implicitViscosity =', ' /* Implicit viscosity on/off flag */')
7843dde2de jm-c 0452
9e44938df7 Jean*0453 WRITE(msgBuf,'(2A)')
0454 & 'selectImplicitDrag=', ' /* Implicit bot Drag options (0,1,2)*/'
0455 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0456 buffI(1) = selectImplicitDrag
0457 CALL PRINT_LIST_I( buffI, 1, 1, INDEX_NONE,
0458 & .FALSE., .TRUE., ioUnit )
0459 WRITE(msgBuf,'(2A)') ' 0= Expl. ; 1= Impl. on provis. Vel ;',
0460 & ' 2= Fully Impl (with surf.P)'
0461 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0462 CALL PRINT_MESSAGE(endList, ioUnit, SQUEEZE_RIGHT, myThid )
7843dde2de jm-c 0463
427e24e121 Jean*0464 CALL WRITE_0D_I( selectMetricTerms, INDEX_NONE,
0465 & 'selectMetricTerms=', ' /* Metric-Terms on/off flag (=0/1) */')
b0d52b5b33 Jean*0466 CALL WRITE_0D_L( useNHMTerms, INDEX_NONE, 'useNHMTerms =',
0467 & ' /* Non-Hydrostatic Metric-Terms on/off */')
c07cd3bfa8 Jean*0468 WRITE(msgBuf,'(2A)')
0469 & 'selectCoriMap =', ' /* Coriolis Map options (0,1,2,3)*/'
0470 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0471 buffI(1) = selectCoriMap
0472 CALL PRINT_LIST_I( buffI, 1, 1, INDEX_NONE,
0473 & .FALSE., .TRUE., ioUnit )
0474 WRITE(msgBuf,'(2A)') ' 0= f-Plane ; 1= Beta-Plane ;',
0475 & ' 2= Spherical ; 3= read from file'
0476 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0477 CALL PRINT_MESSAGE(endList, ioUnit, SQUEEZE_RIGHT, myThid )
427e24e121 Jean*0478 CALL WRITE_0D_I( select3dCoriScheme, INDEX_NONE,
0479 & 'select3dCoriScheme=', ' /* 3-D Coriolis on/off flag (=0/1) */')
8adf9f02ba Patr*0480 CALL WRITE_0D_L( useCoriolis, INDEX_NONE,
cf8488c0fd Chri*0481 & 'useCoriolis =', ' /* Coriolis on/off flag */')
b9d351b225 Jean*0482 CALL WRITE_0D_L( useCDscheme, INDEX_NONE,
0483 & 'useCDscheme =', ' /* CD scheme on/off flag */')
7843dde2de jm-c 0484
0485 WRITE(msgBuf,'(2A)') 'selectCoriScheme=',
0486 & ' /* Scheme selector for Coriolis-Term */'
e35a804907 Jean*0487 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
7843dde2de jm-c 0488 buffI(1) = selectCoriScheme
08a6f65fd0 Jean*0489 CALL PRINT_LIST_I( buffI, 1, 1, INDEX_NONE,
e35a804907 Jean*0490 & .FALSE., .TRUE., ioUnit )
7843dde2de jm-c 0491 WRITE(msgBuf,'(2A)') ' = 0 : original discretization',
0492 & ' (simple averaging, no hFac)'
e35a804907 Jean*0493 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
7843dde2de jm-c 0494 WRITE(msgBuf,'(2A)') ' = 1 : Wet-point averaging',
0495 & ' (Jamar & Ozer 1986)'
e35a804907 Jean*0496 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
7843dde2de jm-c 0497 IF ( vectorInvariantMomentum ) THEN
0498 WRITE(msgBuf,'(2A)') ' = 2 : hFac weighted average',
0499 & ' (Angular Mom. conserving)'
0500 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0501 WRITE(msgBuf,'(2A)') ' = 3 : energy conserving scheme',
0502 & ' using hFac weighted average'
0503 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0504 ELSE
0505 WRITE(msgBuf,'(2A)') ' = 2 : energy conserving scheme',
0506 & ' (no hFac weight)'
0507 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0508 WRITE(msgBuf,'(2A)') ' = 3 : energy conserving scheme',
0509 & ' using Wet-point averaging'
0510 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0511 ENDIF
0512 CALL PRINT_MESSAGE( endList, ioUnit, SQUEEZE_RIGHT, myThid )
0513 IF ( vectorInvariantMomentum ) THEN
0514
0515 CALL WRITE_0D_L( useAbsVorticity, INDEX_NONE,
0516 & 'useAbsVorticity=',' /* V.I Works with f+zeta in Coriolis */')
0517 WRITE(msgBuf,'(2A)') 'selectVortScheme=',
0518 & ' /* V.I Scheme selector for Vorticity-Term */'
0519 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0520 buffI(1) = selectVortScheme
0521 CALL PRINT_LIST_I( buffI, 1, 1, INDEX_NONE,
0522 & .FALSE., .TRUE., ioUnit )
0523 WRITE(msgBuf,'(2A)') ' = 0 : enstrophy (Shallow-Water Eq.)',
0524 & ' conserving scheme by Sadourny, JAS 75'
0525 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0526 WRITE(msgBuf,'(2A)') ' = 1 : same as 0 with modified hFac'
0527 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0528 WRITE(msgBuf,'(2A)') ' = 2 : energy conserving scheme',
e35a804907 Jean*0529 & ' (used by Sadourny in JAS 75 paper)'
7843dde2de jm-c 0530 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0531 WRITE(msgBuf,'(2A)') ' = 3 : energy (general)',
a0b3b0bdaf Jean*0532 & ' and enstrophy (2D, nonDiv.) conserving scheme'
7843dde2de jm-c 0533 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0534 WRITE(msgBuf,'(2A)') ' from Sadourny',
a0b3b0bdaf Jean*0535 & ' (Burridge & Haseler, ECMWF Rep.4, 1977)'
7843dde2de jm-c 0536 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0537
e35a804907 Jean*0538
7843dde2de jm-c 0539 CALL PRINT_MESSAGE(endList, ioUnit, SQUEEZE_RIGHT, myThid )
0540 CALL WRITE_0D_L( useJamartMomAdv, INDEX_NONE,
0541 & 'useJamartMomAdv=',' /* V.I Non-linear terms Jamart flag */')
0542 CALL WRITE_0D_L( upwindVorticity, INDEX_NONE,
9aafac1f44 Jean*0543 & 'upwindVorticity=',' /* V.I Upwind bias vorticity flag */')
7843dde2de jm-c 0544 CALL WRITE_0D_L( highOrderVorticity, INDEX_NONE,
9aafac1f44 Jean*0545 & 'highOrderVorticity=',' /* V.I High order vort. advect. flag */')
7843dde2de jm-c 0546 CALL WRITE_0D_L( upwindShear, INDEX_NONE,
9aafac1f44 Jean*0547 & 'upwindShear=',' /* V.I Upwind vertical Shear advection flag */')
7843dde2de jm-c 0548 CALL WRITE_0D_I( selectKEscheme, INDEX_NONE,
9aafac1f44 Jean*0549 & 'selectKEscheme=',' /* V.I Kinetic Energy scheme selector */')
7843dde2de jm-c 0550
0551 ENDIF
8adf9f02ba Patr*0552 CALL WRITE_0D_L( momForcing, INDEX_NONE,
cf8488c0fd Chri*0553 & 'momForcing =', ' /* Momentum forcing on/off flag */')
59b35dd864 Jean*0554 IF ( momForcing )
0555 & CALL WRITE_0D_L( momTidalForcing, INDEX_NONE,
0556 & 'momTidalForcing =',' /* Momentum Tidal forcing on/off flag */')
8adf9f02ba Patr*0557 CALL WRITE_0D_L( momPressureForcing, INDEX_NONE,
89084dd1cf Jean*0558 & 'momPressureForcing =',
46dc4f419b Chri*0559 & ' /* Momentum pressure term on/off flag */')
01fa056cae Jean*0560 CALL WRITE_0D_L( implicitIntGravWave, INDEX_NONE,
0561 & 'implicitIntGravWave=',
0562 & ' /* Implicit Internal Gravity Wave flag */')
b9d351b225 Jean*0563 CALL WRITE_0D_L( staggerTimeStep, INDEX_NONE,
627a21a418 Jean*0564 & 'staggerTimeStep = ',
0565 & ' /* Stagger time stepping on/off flag */')
0566 CALL WRITE_0D_L( doResetHFactors, INDEX_NONE,
0567 & 'doResetHFactors =',
0568 & ' /* reset thickness factors @ each time-step */')
89084dd1cf Jean*0569 CALL WRITE_0D_L( multiDimAdvection, INDEX_NONE,
b9d351b225 Jean*0570 & 'multiDimAdvection =',
627a21a418 Jean*0571 & ' /* enable/disable Multi-Dim Advection */')
89084dd1cf Jean*0572 CALL WRITE_0D_L( useMultiDimAdvec, INDEX_NONE,
ffd0966f4f Jean*0573 & 'useMultiDimAdvec =',
0574 &' /* Multi-Dim Advection is/is-not used */')
b9d351b225 Jean*0575 CALL WRITE_0D_L( implicitDiffusion, INDEX_NONE,
f15994caab Jean*0576 & 'implicitDiffusion =',' /* Implicit Diffusion on/off flag */')
8adf9f02ba Patr*0577 CALL WRITE_0D_L( tempStepping, INDEX_NONE,
4fb6204e53 Chri*0578 & 'tempStepping =', ' /* Temperature equation on/off flag */')
e1c6dcc4ea Jean*0579 CALL WRITE_0D_L( tempAdvection, INDEX_NONE,
effa2f8027 Jean*0580 & 'tempAdvection =', ' /* Temperature advection on/off flag */')
b9d351b225 Jean*0581 CALL WRITE_0D_L( tempImplVertAdv,INDEX_NONE,'tempImplVertAdv =',
f15994caab Jean*0582 & ' /* Temp. implicit vert. advection on/off */')
e1c6dcc4ea Jean*0583 CALL WRITE_0D_L( tempForcing, INDEX_NONE,
0584 & 'tempForcing =', ' /* Temperature forcing on/off flag */')
db8d49beca Jean*0585 #ifdef ALLOW_FRICTION_HEATING
0586 CALL WRITE_0D_L( addFrictionHeating, INDEX_NONE,
0587 & 'addFrictionHeating=',' /* account for frictional heating */')
0588 #endif
effa2f8027 Jean*0589 #ifdef ALLOW_BALANCE_FLUXES
0590 CALL WRITE_0D_L( balanceQnet, INDEX_NONE, 'balanceQnet =',
0591 & ' /* balance net heat-flux on/off flag */')
0592 #endif
0593 CALL WRITE_0D_L( doThetaClimRelax, INDEX_NONE,
0594 & 'doThetaClimRelax =', ' /* apply SST relaxation on/off flag */')
0595 #ifdef ALLOW_BALANCE_RELAX
0596 CALL WRITE_0D_L( balanceThetaClimRelax, INDEX_NONE,
0597 & 'balanceThetaClimRelax=',
0598 & ' /* balance SST relaxation on/off flag */')
0599 #endif
c7ad17745a Jean*0600 CALL WRITE_0D_L( tempIsActiveTr, INDEX_NONE, 'tempIsActiveTr =',
0601 & ' /* Temp. is a dynamically Active Tracer */')
e1c6dcc4ea Jean*0602 CALL WRITE_0D_L( saltStepping, INDEX_NONE,
0603 & 'saltStepping =', ' /* Salinity equation on/off flag */')
0604 CALL WRITE_0D_L( saltAdvection, INDEX_NONE,
effa2f8027 Jean*0605 & 'saltAdvection =', ' /* Salinity advection on/off flag */')
b9d351b225 Jean*0606 CALL WRITE_0D_L( saltImplVertAdv,INDEX_NONE,'saltImplVertAdv =',
f15994caab Jean*0607 & ' /* Sali. implicit vert. advection on/off */')
e1c6dcc4ea Jean*0608 CALL WRITE_0D_L( saltForcing, INDEX_NONE,
0609 & 'saltForcing =', ' /* Salinity forcing on/off flag */')
effa2f8027 Jean*0610 #ifdef ALLOW_BALANCE_FLUXES
7e00d7e8f9 Jean*0611 CALL WRITE_0D_I( selectBalanceEmPmR, INDEX_NONE,
0612 & 'selectBalanceEmPmR =',
0613 & ' /* balancing glob.mean EmPmR selector */' )
effa2f8027 Jean*0614 #endif
0615 CALL WRITE_0D_L( doSaltClimRelax, INDEX_NONE,
0616 & 'doSaltClimRelax =', ' /* apply SSS relaxation on/off flag */')
0617 #ifdef ALLOW_BALANCE_RELAX
0618 CALL WRITE_0D_L( balanceSaltClimRelax, INDEX_NONE,
0619 & 'balanceSaltClimRelax=',
0620 & ' /* balance SSS relaxation on/off flag */')
0621 #endif
c7ad17745a Jean*0622 CALL WRITE_0D_L( saltIsActiveTr, INDEX_NONE, 'saltIsActiveTr =',
0623 & ' /* Salt is a dynamically Active Tracer */')
94aba8fad9 Jean*0624 CALL WRITE_0D_I( readBinaryPrec, INDEX_NONE, ' readBinaryPrec =',
0625 & ' /* Precision used for reading binary files */')
0626 CALL WRITE_0D_I(writeBinaryPrec, INDEX_NONE, 'writeBinaryPrec =',
0627 & ' /* Precision used for writing binary files */')
6b48f6d519 Mart*0628 #ifdef ALLOW_BALANCE_FLUXES
0629 CALL WRITE_0D_L( balancePrintMean, INDEX_NONE,
7e00d7e8f9 Jean*0630 & 'balancePrintMean =',
0631 & ' /* print means for balancing fluxes */')
6b48f6d519 Mart*0632 #endif
2e3729af6b Jean*0633
0634
0635
0636 WRITE(msgBuf,'(2A)') ' rwSuffixType = ',
0637 & ' /* select format of mds file suffix */'
0638 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0639 buffI(1) = rwSuffixType
0640 CALL PRINT_LIST_I( buffI, 1, 1, INDEX_NONE,
0641 & .FALSE., .TRUE., ioUnit )
0642 WRITE(msgBuf,'(2A)') ' = 0 : myIter (I10.10) ;',
0643 & ' = 1 : 100*myTime (100th sec) ;'
0644 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0645 WRITE(msgBuf,'(2A)') ' = 2 : myTime (seconds);',
0646 & ' = 3 : myTime/360 (10th of hr);'
0647 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0648 WRITE(msgBuf,'(2A)') ' = 4 : myTime/3600 (hours)'
0649 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0650 CALL PRINT_MESSAGE(endList, ioUnit, SQUEEZE_RIGHT, myThid )
0651
94aba8fad9 Jean*0652 CALL WRITE_0D_L( globalFiles, INDEX_NONE,
0653 & ' globalFiles =',' /* write "global" (=not per tile) files */')
0654 CALL WRITE_0D_L( useSingleCpuIO, INDEX_NONE,
0655 & ' useSingleCpuIO =', ' /* only master MPI process does I/O */')
631fe75038 Dimi*0656 CALL WRITE_0D_L( useSingleCpuInput, INDEX_NONE,
0657 & ' useSingleCpuInput =', ' /* only master process reads input */')
3fe3169cf8 Jean*0658 WRITE(msgBuf,'(2A)') '/* debLev[*] :',
0659 & ' level of debug & auxiliary message printing */'
0660 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0661 WRITE(msgBuf,'(A,I3,A)') 'debLevZero =', debLevZero,
0662 & ' ; /* level of disabled aux. msg printing */'
0663 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0664 WRITE(msgBuf,'(A,I3,A)') ' debLevA =', debLevA,
0665 & ' ; /* level of minimum aux. msg printing */'
0666 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0667 WRITE(msgBuf,'(A,I3,A)') ' debLevB =', debLevB,
0668 & ' ; /* level of low aux. print (report read-file opening)*/'
0669 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0670 WRITE(msgBuf,'(A,I3,A)') ' debLevC =', debLevC,
0671 & ' ; /* level of moderate debug prt (most pkgs debug msg) */'
0672 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0673 WRITE(msgBuf,'(A,I3,A)') ' debLevD =', debLevD,
0674 & ' ; /* level of enhanced debug prt (add DEBUG_STATS prt) */'
0675 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
0676 WRITE(msgBuf,'(A,I3,A)') ' debLevE =', debLevE,
0677 & ' ; /* level of extensive debug printing */'
0678 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
1771952f12 Jean*0679 CALL WRITE_0D_I( debugLevel, INDEX_NONE,
3fe3169cf8 Jean*0680 & 'debugLevel =', ' /* select debug printing level */')
337b46d524 Jean*0681 CALL WRITE_0D_I( plotLevel, INDEX_NONE,
0682 & ' plotLevel =', ' /* select PLOT_FIELD printing level */')
f15994caab Jean*0683
16708c0db0 Chri*0684 WRITE(msgBuf,'(A)') '// '
e35a804907 Jean*0685 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
89084dd1cf Jean*0686 WRITE(msgBuf,'(A)')
46dc4f419b Chri*0687 & '// Elliptic solver(s) paramters ( PARM02 in namelist ) '
e35a804907 Jean*0688 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
16708c0db0 Chri*0689 WRITE(msgBuf,'(A)') '// '
e35a804907 Jean*0690 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
8adf9f02ba Patr*0691 CALL WRITE_0D_I( cg2dMaxIters, INDEX_NONE,'cg2dMaxIters =',
16708c0db0 Chri*0692 &' /* Upper limit on 2d con. grad iterations */')
aecc8b0f47 Mart*0693 CALL WRITE_0D_I( cg2dMinItersNSA, INDEX_NONE,'cg2dMinItersNSA =',
0694 &' /* Minimum number of iterations of 2d con. grad solver */')
b46f9da188 Jean*0695 CALL WRITE_0D_I( cg2dUseMinResSol, INDEX_NONE,
0696 & 'cg2dUseMinResSol=',
0697 & ' /* use cg2d last-iter(=0) / min-resid.(=1) solution */')
bd3e0a5ff9 Jean*0698 CALL WRITE_0D_RL( cg2dTargetResidual, INDEX_NONE,
46dc4f419b Chri*0699 & 'cg2dTargetResidual =',
16708c0db0 Chri*0700 &' /* 2d con. grad target residual */')
bd3e0a5ff9 Jean*0701 CALL WRITE_0D_RL( cg2dTargetResWunit, INDEX_NONE,
fe587f155a Jean*0702 & 'cg2dTargetResWunit =',
0703 &' /* CG2d target residual [W units] */')
0704 CALL WRITE_0D_I( cg2dPreCondFreq, INDEX_NONE,'cg2dPreCondFreq =',
0705 &' /* Freq. for updating cg2d preconditioner */')
c26312e441 Mart*0706 CALL WRITE_0D_L( useSRCGSolver, INDEX_NONE,
0707 & 'useSRCGSolver =', ' /* use single reduction CG solver(s) */')
aecc8b0f47 Mart*0708 CALL WRITE_0D_L( useNSACGSolver, INDEX_NONE,
0709 & 'useNSACGSolver =', ' /* use not-self-adjoint CG solver */')
3fe3169cf8 Jean*0710 CALL WRITE_0D_I( printResidualFreq, INDEX_NONE,
0711 & 'printResidualFreq =', ' /* Freq. for printing CG residual */')
16708c0db0 Chri*0712
0713 WRITE(msgBuf,'(A)') '// '
e35a804907 Jean*0714 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
89084dd1cf Jean*0715 WRITE(msgBuf,'(A)')
46dc4f419b Chri*0716 & '// Time stepping paramters ( PARM03 in namelist ) '
e35a804907 Jean*0717 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
16708c0db0 Chri*0718 WRITE(msgBuf,'(A)') '// '
e35a804907 Jean*0719 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
effa2f8027 Jean*0720 CALL WRITE_0D_RL( deltaTMom, INDEX_NONE,'deltaTMom =',
16708c0db0 Chri*0721 &' /* Momentum equation timestep ( s ) */')
effa2f8027 Jean*0722 CALL WRITE_0D_RL( deltaTFreeSurf,INDEX_NONE,'deltaTFreeSurf =',
371cb3b182 Jean*0723 & ' /* FreeSurface equation timestep ( s ) */')
0724 CALL WRITE_1D_RL( dTtracerLev, Nr, INDEX_K, 'dTtracerLev =',
0725 & ' /* Tracer equation timestep ( s ) */')
bd3e0a5ff9 Jean*0726 CALL WRITE_0D_RL( deltaTClock, INDEX_NONE,'deltaTClock =',
a23f9000bd Chri*0727 &' /* Model clock timestep ( s ) */')
bd3e0a5ff9 Jean*0728 CALL WRITE_0D_RL( cAdjFreq, INDEX_NONE,'cAdjFreq =',
cf8488c0fd Chri*0729 &' /* Convective adjustment interval ( s ) */')
c2b6ed6bfd Jean*0730 CALL WRITE_0D_I( momForcingOutAB, INDEX_NONE, 'momForcingOutAB =',
0731 & ' /* =1: take Momentum Forcing out of Adams-Bash. stepping */')
0732 CALL WRITE_0D_I( tracForcingOutAB, INDEX_NONE,
0733 & 'tracForcingOutAB =',
0734 & ' /* =1: take T,S,pTr Forcing out of Adams-Bash. stepping */')
b0d52b5b33 Jean*0735 CALL WRITE_0D_L( momDissip_In_AB,INDEX_NONE,'momDissip_In_AB =',
0736 & ' /* put Dissipation Tendency in Adams-Bash. stepping */')
52242443f2 Jean*0737 CALL WRITE_0D_L( doAB_onGtGs, INDEX_NONE, 'doAB_onGtGs =',
0738 & ' /* apply AB on Tendencies (rather than on T,S)*/')
bd3e0a5ff9 Jean*0739 CALL WRITE_0D_RL( abEps, INDEX_NONE,'abEps =',
92aa7be6ff Jean*0740 &' /* Adams-Bashforth-2 stabilizing weight */')
0741 #ifdef ALLOW_ADAMSBASHFORTH_3
bd3e0a5ff9 Jean*0742 CALL WRITE_0D_RL( alph_AB, INDEX_NONE,'alph_AB =',
92aa7be6ff Jean*0743 &' /* Adams-Bashforth-3 primary factor */')
bd3e0a5ff9 Jean*0744 CALL WRITE_0D_RL( beta_AB, INDEX_NONE,'beta_AB =',
92aa7be6ff Jean*0745 &' /* Adams-Bashforth-3 secondary factor */')
0746 CALL WRITE_0D_L( startFromPickupAB2, INDEX_NONE,
0747 & 'startFromPickupAB2=',' /* start from AB-2 pickup */')
0748 #endif
2a618ca8c5 Jean*0749 CALL WRITE_0D_L( applyExchUV_early, INDEX_NONE,
0750 & 'applyExchUV_early =',
0751 & ' /* Apply EXCH to U,V earlier in time-step */')
a97467b673 Jean*0752 IF (useCDscheme) THEN
bd3e0a5ff9 Jean*0753 CALL WRITE_0D_RL( tauCD, INDEX_NONE,'tauCD =',
16708c0db0 Chri*0754 &' /* CD coupling time-scale ( s ) */')
bd3e0a5ff9 Jean*0755 CALL WRITE_0D_RL( rCD, INDEX_NONE,'rCD =',
16708c0db0 Chri*0756 &' /* Normalised CD coupling parameter */')
8039e9b985 Jean*0757 CALL WRITE_0D_RL( epsAB_CD, INDEX_NONE,'epsAB_CD =',
0758 & ' /* AB-2 stabilizing weight for CD-scheme*/')
a97467b673 Jean*0759 ENDIF
f04f2001af Jean*0760 i = ILNBLNK(pickupSuff)
0761 IF ( i.GT.0 ) THEN
662285a046 Jean*0762 CALL WRITE_0D_C( pickupSuff, 0, INDEX_NONE,
0763 & 'pickupSuff =', ' /* Suffix of pickup-file to restart from */')
0764 ENDIF
0765 CALL WRITE_0D_L( pickupStrictlyMatch, INDEX_NONE,
0766 & 'pickupStrictlyMatch=',
0767 & ' /* stop if pickup do not strictly match */')
73d970d8a0 Jean*0768 CALL WRITE_0D_I( nIter0, INDEX_NONE, 'nIter0 =',
0769 &' /* Run starting timestep number */')
662285a046 Jean*0770 CALL WRITE_0D_I( nTimeSteps, INDEX_NONE,'nTimeSteps =',
73d970d8a0 Jean*0771 & ' /* Number of timesteps */')
0772 CALL WRITE_0D_I( nEndIter, INDEX_NONE, 'nEndIter =',
0773 &' /* Run ending timestep number */')
bd3e0a5ff9 Jean*0774 CALL WRITE_0D_RL( baseTime, INDEX_NONE,'baseTime =',
73d970d8a0 Jean*0775 &' /* Model base time ( s ) */')
bd3e0a5ff9 Jean*0776 CALL WRITE_0D_RL( startTime, INDEX_NONE,'startTime =',
73d970d8a0 Jean*0777 & ' /* Run start time ( s ) */')
0778 CALL WRITE_0D_RL( endTime, INDEX_NONE,'endTime =',
0779 &' /* Integration ending time ( s ) */')
bd3e0a5ff9 Jean*0780 CALL WRITE_0D_RL( pChkPtFreq, INDEX_NONE,'pChkPtFreq =',
73d970d8a0 Jean*0781 & ' /* Permanent restart/pickup file interval ( s ) */')
0782 CALL WRITE_0D_RL( chkPtFreq, INDEX_NONE,'chkPtFreq =',
0783 & ' /* Rolling restart/pickup file interval ( s ) */')
a30418b6b9 Ed H*0784 CALL WRITE_0D_L(pickup_write_mdsio,INDEX_NONE,
0785 & 'pickup_write_mdsio =', ' /* Model IO flag. */')
0786 CALL WRITE_0D_L(pickup_read_mdsio,INDEX_NONE,
0787 & 'pickup_read_mdsio =', ' /* Model IO flag. */')
0788 #ifdef ALLOW_MNC
0789 CALL WRITE_0D_L(pickup_write_mnc,INDEX_NONE,
0790 & 'pickup_write_mnc =', ' /* Model IO flag. */')
0791 CALL WRITE_0D_L(pickup_read_mnc,INDEX_NONE,
0792 & 'pickup_read_mnc =', ' /* Model IO flag. */')
0793 #endif
2845fe58ec Jean*0794
0795
8c73a5b228 Mart*0796 CALL WRITE_0D_L(writePickupAtEnd,INDEX_NONE,
0797 & 'writePickupAtEnd =',' /* Model IO flag. */')
bd3e0a5ff9 Jean*0798 CALL WRITE_0D_RL( dumpFreq, INDEX_NONE,'dumpFreq =',
16708c0db0 Chri*0799 &' /* Model state write out interval ( s ). */')
82d0948361 Jean*0800 CALL WRITE_0D_L(dumpInitAndLast,INDEX_NONE,'dumpInitAndLast=',
0801 & ' /* write out Initial & Last iter. model state */')
a30418b6b9 Ed H*0802 CALL WRITE_0D_L(snapshot_mdsio,INDEX_NONE,
0803 & 'snapshot_mdsio =', ' /* Model IO flag. */')
0804 #ifdef ALLOW_MNC
0805 CALL WRITE_0D_L(snapshot_mnc,INDEX_NONE,
0806 & 'snapshot_mnc =', ' /* Model IO flag. */')
0807 #endif
bd3e0a5ff9 Jean*0808 CALL WRITE_0D_RL( monitorFreq, INDEX_NONE,'monitorFreq =',
c815342335 Ed H*0809 &' /* Monitor output interval ( s ). */')
f804abbd25 Jean*0810 CALL WRITE_0D_I( monitorSelect, INDEX_NONE, 'monitorSelect =',
0811 & ' /* select group of variables to monitor */')
b6356366ca Ed H*0812 CALL WRITE_0D_L(monitor_stdio,INDEX_NONE,
0813 & 'monitor_stdio =', ' /* Model IO flag. */')
a30418b6b9 Ed H*0814 #ifdef ALLOW_MNC
0815 CALL WRITE_0D_L(monitor_mnc,INDEX_NONE,
0816 & 'monitor_mnc =', ' /* Model IO flag. */')
0817 #endif
bd3e0a5ff9 Jean*0818 CALL WRITE_0D_RL( externForcingPeriod, INDEX_NONE,
36b12bb7ff Jean*0819 & 'externForcingPeriod =', ' /* forcing period (s) */')
bd3e0a5ff9 Jean*0820 CALL WRITE_0D_RL( externForcingCycle, INDEX_NONE,
36b12bb7ff Jean*0821 & 'externForcingCycle =', ' /* period of the cyle (s). */')
bd3e0a5ff9 Jean*0822 CALL WRITE_0D_RL( tauThetaClimRelax, INDEX_NONE,
36b12bb7ff Jean*0823 & 'tauThetaClimRelax =', ' /* relaxation time scale (s) */')
bd3e0a5ff9 Jean*0824 CALL WRITE_0D_RL( tauSaltClimRelax, INDEX_NONE,
36b12bb7ff Jean*0825 & 'tauSaltClimRelax =', ' /* relaxation time scale (s) */')
bd3e0a5ff9 Jean*0826 CALL WRITE_0D_RL( latBandClimRelax, INDEX_NONE,
36b12bb7ff Jean*0827 & 'latBandClimRelax =', ' /* max. Lat. where relaxation */')
f15994caab Jean*0828
16708c0db0 Chri*0829 WRITE(msgBuf,'(A)') '// '
e35a804907 Jean*0830 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
89084dd1cf Jean*0831 WRITE(msgBuf,'(A)')
46dc4f419b Chri*0832 & '// Gridding paramters ( PARM04 in namelist ) '
e35a804907 Jean*0833 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
16708c0db0 Chri*0834 WRITE(msgBuf,'(A)') '// '
e35a804907 Jean*0835 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
8adf9f02ba Patr*0836 CALL WRITE_0D_L( usingCartesianGrid, INDEX_NONE,
46dc4f419b Chri*0837 & 'usingCartesianGrid =',
4606c28752 Jean*0838 & ' /* Cartesian coordinates flag ( True/False ) */')
0ac260a803 Andr*0839 CALL WRITE_0D_L( usingCylindricalGrid, INDEX_NONE,
0840 & 'usingCylindricalGrid =',
4606c28752 Jean*0841 & ' /* Cylindrical coordinates flag ( True/False ) */')
0842 CALL WRITE_0D_L( usingSphericalPolarGrid, INDEX_NONE,
0843 & 'usingSphericalPolarGrid =',
0844 & ' /* Spherical coordinates flag ( True/False ) */')
0845 CALL WRITE_0D_L( usingCurvilinearGrid, INDEX_NONE,
0846 & 'usingCurvilinearGrid =',
0847 & ' /* Curvilinear coordinates flag ( True/False ) */')
dd9374dd6b Jean*0848 CALL WRITE_0D_L( useMin4hFacEdges, INDEX_NONE,
0849 & 'useMin4hFacEdges =',
0850 & ' /* set hFacW,S as minimum of adjacent hFacC factor */')
bb2fd3f1ad Jean*0851 CALL WRITE_0D_L( interViscAr_pCell, INDEX_NONE,
0852 & 'interViscAr_pCell =',
0853 & ' /* account for partial-cell in interior vert. viscosity */')
0854 CALL WRITE_0D_L( interDiffKr_pCell, INDEX_NONE,
0855 & 'interDiffKr_pCell =',
0856 & ' /* account for partial-cell in interior vert. diffusion */')
0857 CALL WRITE_0D_I( pCellMix_select, INDEX_NONE,
0858 & 'pCellMix_select =',
0859 & ' /* option to enhance mixing near surface & bottom */')
0860 IF ( pCellMix_select.NE.0 ) THEN
0861 CALL WRITE_0D_RL( pCellMix_maxFac, INDEX_NONE,
0862 & 'pCellMix_maxFac =', ' /* maximum enhanced mixing factor */')
0863 CALL WRITE_0D_RL( pCellMix_delR, INDEX_NONE, 'pCellMix_delR =',
0864 & ' /* thickness criteria for too thin partial-cell ( '
0865 & //rUnits//' ) */')
0866 CALL WRITE_1D_RL( pCellMix_viscAr, Nr, INDEX_K,
0867 & 'pCellMix_viscAr = ',
0868 & ' /* vertical viscosity for too thin partial-cell */')
0869 CALL WRITE_1D_RL( pCellMix_diffKr, Nr, INDEX_K,
0870 & 'pCellMix_diffKr = ',
0871 & ' /* vertical diffusivity for too thin partial-cell */')
0872 ENDIF
f15994caab Jean*0873 CALL WRITE_0D_I( selectSigmaCoord, INDEX_NONE,
0874 & 'selectSigmaCoord =',
0875 & ' /* Hybrid-Sigma Vert. Coordinate option */')
0876 CALL WRITE_0D_RL( rSigmaBnd, INDEX_NONE, 'rSigmaBnd =',
2ad79bdf32 Jean*0877 & ' /* r/sigma transition ( units of r == '//rUnits//' ) */')
bd3e0a5ff9 Jean*0878 CALL WRITE_0D_RL( rkSign, INDEX_NONE,'rkSign =',
da40681a8e Jean*0879 &' /* index orientation relative to vertical coordinate */')
bd3e0a5ff9 Jean*0880 CALL WRITE_0D_RL( gravitySign, INDEX_NONE,'gravitySign =',
4606c28752 Jean*0881 & ' /* gravity orientation relative to vertical coordinate */')
2ad79bdf32 Jean*0882 CALL WRITE_0D_RL( seaLev_Z, INDEX_NONE, 'seaLev_Z =',
0883 & ' /* reference height of sea-level [m] */')
599be48d9a Jean*0884 IF ( usingZCoords ) THEN
2ad79bdf32 Jean*0885 CALL WRITE_0D_RL( top_Pres, INDEX_NONE, 'top_Pres =',
0886 & ' /* reference pressure at the top [Pa] */')
bd3e0a5ff9 Jean*0887 CALL WRITE_0D_RL( mass2rUnit, INDEX_NONE,'mass2rUnit =',
2ad79bdf32 Jean*0888 & ' /* convert mass per unit area [kg/m2] to r-units [m] */')
bd3e0a5ff9 Jean*0889 CALL WRITE_0D_RL( rUnit2mass, INDEX_NONE,'rUnit2mass =',
2ad79bdf32 Jean*0890 & ' /* convert r-units [m] to mass per unit area [kg/m2] */')
599be48d9a Jean*0891 ENDIF
0892 IF ( usingPCoords ) THEN
2ad79bdf32 Jean*0893 CALL WRITE_0D_RL( top_Pres, INDEX_NONE, 'top_Pres =',
0894 & ' /* pressure at the top (r-axis origin) [Pa] */')
bd3e0a5ff9 Jean*0895 CALL WRITE_0D_RL( mass2rUnit, INDEX_NONE,'mass2rUnit =',
2ad79bdf32 Jean*0896 & ' /* convert mass per unit area [kg/m2] to r-units [Pa] */')
bd3e0a5ff9 Jean*0897 CALL WRITE_0D_RL( rUnit2mass, INDEX_NONE,'rUnit2mass =',
2ad79bdf32 Jean*0898 & ' /* convert r-units [Pa] to mass per unit area [kg/m2] */')
599be48d9a Jean*0899 ENDIF
fe486fda6e Jean*0900 CALL WRITE_COPY1D_RS( bufRL, drC,Nr+1,INDEX_K, 'drC = ',
c28ce1627a Jean*0901 &' /* C spacing ( units of r ) */')
371cb3b182 Jean*0902 CALL WRITE_COPY1D_RS( bufRL, drF, Nr, INDEX_K, 'drF = ',
b915494633 Chri*0903 &' /* W spacing ( units of r ) */')
f15994caab Jean*0904 IF ( selectSigmaCoord.NE.0 ) THEN
0905 CALL WRITE_COPY1D_RS( bufRL,dAHybSigF,Nr,INDEX_K,'dAHybSigF =',
0906 & ' /* vertical increment of Hybrid-sigma Coeff. (-) */')
0907 CALL WRITE_COPY1D_RS( bufRL,dBHybSigF,Nr,INDEX_K,'dBHybSigF =',
0908 & ' /* vertical increment of Hybrid-sigma Coeff. (-) */')
0909 ENDIF
33964d001d Jean*0910 IF ( usingCurvilinearGrid ) THEN
0911 CALL WRITE_0D_RL( radius_fromHorizGrid, INDEX_NONE,
0912 & 'radius_fromHorizGrid = ',
0913 & '/* sphere Radius of input horiz. grid */')
0914 ELSE
b9b591469d Jean*0915 CALL WRITE_1D_RL( delX, gridNx, INDEX_I, 'delX = ',
371cb3b182 Jean*0916 & ' /* U spacing ( m - cartesian, degrees - spherical ) */')
b9b591469d Jean*0917 CALL WRITE_1D_RL( delY, gridNy, INDEX_J, 'delY = ',
371cb3b182 Jean*0918 & ' /* V spacing ( m - cartesian, degrees - spherical ) */')
33964d001d Jean*0919 CALL WRITE_0D_RL( xgOrigin, INDEX_NONE,'xgOrigin = ',
0920 & '/* X-axis origin of West edge (cartesian: m, lat-lon: deg) */')
0921 CALL WRITE_0D_RL( ygOrigin, INDEX_NONE,'ygOrigin = ',
0922 & '/* Y-axis origin of South edge (cartesian: m, lat-lon: deg) */')
371cb3b182 Jean*0923 ENDIF
bd3e0a5ff9 Jean*0924 CALL WRITE_0D_RL( rSphere, INDEX_NONE,'rSphere = ',
4606c28752 Jean*0925 & ' /* Radius ( ignored - cartesian, m - spherical ) */')
0926 CALL WRITE_0D_L(deepAtmosphere,INDEX_NONE, 'deepAtmosphere =',
0927 & ' /* Deep/Shallow Atmosphere flag (True/False) */')
bd3e0a5ff9 Jean*0928 coordLine = 1
0929 tileLine = 1
0930 CALL WRITE_XY_XLINE_RS( xC, coordLine, tileLine, 'xC',
0931 I ': P-point X coord ( deg. or m if cartesian)')
0932 CALL WRITE_XY_YLINE_RS( yC, coordLine, tileLine, 'yC',
0933 I ': P-point Y coord ( deg. or m if cartesian)')
371cb3b182 Jean*0934 CALL WRITE_COPY1D_RS( bufRL, rC, Nr, INDEX_K, 'rcoord =',
0935 & ' /* P-point R coordinate ( units of r ) */')
0936 CALL WRITE_COPY1D_RS( bufRL, rF,Nr+1,INDEX_K, 'rF = ',
c28ce1627a Jean*0937 &' /* W-Interf. R coordinate ( units of r ) */')
f15994caab Jean*0938 IF ( selectSigmaCoord.NE.0 ) THEN
0939 CALL WRITE_COPY1D_RS(bufRL,aHybSigmF,Nr+1,INDEX_K,'aHybSigmF =',
0940 & ' /* Hybrid-sigma vert. Coord coeff. @ W-Interface (-) */')
0941 CALL WRITE_COPY1D_RS(bufRL,bHybSigmF,Nr+1,INDEX_K,'bHybSigmF =',
0942 & ' /* Hybrid-sigma vert. Coord coeff. @ W-Interface (-) */')
0943 ENDIF
371cb3b182 Jean*0944 CALL WRITE_1D_RL( deepFacC, Nr, INDEX_K, 'deepFacC = ',
4606c28752 Jean*0945 & ' /* deep-model grid factor @ cell-Center (-) */')
371cb3b182 Jean*0946 CALL WRITE_1D_RL( deepFacF, Nr+1, INDEX_K, 'deepFacF = ',
4606c28752 Jean*0947 & ' /* deep-model grid factor @ W-Interface (-) */')
5b172de0d2 Jean*0948 IF ( usingPCoords ) THEN
0949 CALL WRITE_1D_RL( rVel2wUnit, Nr+1, INDEX_K, 'rVel2wUnit =',
0950 & ' /* convert units: rVel [Pa/s] -> wSpeed [m/s] */')
0951 CALL WRITE_1D_RL( wUnit2rVel, Nr+1, INDEX_K, 'wUnit2rVel =',
0952 & ' /* convert units: wSpeed [m/s] -> rVel [Pa/s] */')
0953 CALL WRITE_1D_RL( rUnit2z, Nr, INDEX_K, 'rUnit2z =',
0954 & ' /* convert units (@ center): dr [Pa] -> dz [m] */')
0955 CALL WRITE_1D_RL( z2rUnit, Nr, INDEX_K, 'z2rUnit =',
0956 & ' /* convert units (@ center): dz [m] -> dr [Pa] */')
0957 ENDIF
7514c1bd55 Mart*0958 CALL WRITE_0D_L( rotateGrid, INDEX_NONE,
0959 & 'rotateGrid =',' /* use rotated grid ( True/False ) */')
bd3e0a5ff9 Jean*0960 CALL WRITE_0D_RL( phiEuler, INDEX_NONE,'phiEuler =',
7514c1bd55 Mart*0961 &' /* Euler angle, rotation about original z-coordinate [rad] */')
bd3e0a5ff9 Jean*0962 CALL WRITE_0D_RL( thetaEuler, INDEX_NONE,'thetaEuler =',
7514c1bd55 Mart*0963 & ' /* Euler angle, rotation about new x-coordinate [rad] */')
bd3e0a5ff9 Jean*0964 CALL WRITE_0D_RL( psiEuler, INDEX_NONE,'psiEuler =',
7514c1bd55 Mart*0965 & ' /* Euler angle, rotation about new z-coordinate [rad] */')
16708c0db0 Chri*0966
f5205fb9ad Chri*0967
0968 coordLine = 1
0969 tileLine = 1
89084dd1cf Jean*0970 CALL WRITE_XY_XLINE_RS( dxF, coordLine, tileLine, 'dxF',
0971 I '( units: m )' )
0972 CALL WRITE_XY_YLINE_RS( dxF, coordLine, tileLine, 'dxF',
0973 I '( units: m )' )
0974 CALL WRITE_XY_XLINE_RS( dyF, coordLine, tileLine, 'dyF',
0975 I '( units: m )' )
0976 CALL WRITE_XY_YLINE_RS( dyF, coordLine, tileLine, 'dyF',
0977 I '( units: m )' )
0978 CALL WRITE_XY_XLINE_RS( dxG, coordLine, tileLine, 'dxG',
0979 I '( units: m )' )
0980 CALL WRITE_XY_YLINE_RS( dxG, coordLine, tileLine, 'dxG',
0981 I '( units: m )' )
0982 CALL WRITE_XY_XLINE_RS( dyG, coordLine, tileLine, 'dyG',
0983 I '( units: m )' )
0984 CALL WRITE_XY_YLINE_RS( dyG, coordLine, tileLine, 'dyG',
0985 I '( units: m )' )
0986 CALL WRITE_XY_XLINE_RS( dxC, coordLine, tileLine, 'dxC',
0987 I '( units: m )' )
0988 CALL WRITE_XY_YLINE_RS( dxC, coordLine, tileLine, 'dxC',
0989 I '( units: m )' )
0990 CALL WRITE_XY_XLINE_RS( dyC, coordLine, tileLine, 'dyC',
0991 I '( units: m )' )
0992 CALL WRITE_XY_YLINE_RS( dyC, coordLine, tileLine, 'dyC',
0993 I '( units: m )' )
0994 CALL WRITE_XY_XLINE_RS( dxV, coordLine, tileLine, 'dxV',
0995 I '( units: m )' )
0996 CALL WRITE_XY_YLINE_RS( dxV, coordLine, tileLine, 'dxV',
0997 I '( units: m )' )
0998 CALL WRITE_XY_XLINE_RS( dyU, coordLine, tileLine, 'dyU',
0999 I '( units: m )' )
1000 CALL WRITE_XY_YLINE_RS( dyU, coordLine, tileLine, 'dyU',
1001 I '( units: m )' )
1002 CALL WRITE_XY_XLINE_RS( rA , coordLine, tileLine, 'rA ',
1003 I '( units: m^2 )' )
1004 CALL WRITE_XY_YLINE_RS( rA , coordLine, tileLine, 'rA ',
1005 I '( units: m^2 )' )
1006 CALL WRITE_XY_XLINE_RS( rAw, coordLine, tileLine, 'rAw',
1007 I '( units: m^2 )' )
1008 CALL WRITE_XY_YLINE_RS( rAw, coordLine, tileLine, 'rAw',
1009 I '( units: m^2 )' )
1010 CALL WRITE_XY_XLINE_RS( rAs, coordLine, tileLine, 'rAs',
1011 I '( units: m^2 )' )
1012 CALL WRITE_XY_YLINE_RS( rAs, coordLine, tileLine, 'rAs',
1013 I '( units: m^2 )' )
1014
bd3e0a5ff9 Jean*1015 CALL WRITE_0D_RL( globalArea, INDEX_NONE, 'globalArea =',
89084dd1cf Jean*1016 & ' /* Integrated horizontal Area (m^2) */')
33964d001d Jean*1017 IF ( useCubedSphereExchange ) THEN
1018 CALL WRITE_0D_L( hasWetCSCorners,INDEX_NONE,'hasWetCSCorners =',
1019 & ' /* Domain contains CS corners (True/False) */')
1020 ENDIF
7a7a4899b4 Chri*1021
f04f2001af Jean*1022 i = ILNBLNK(the_run_name)
1023 IF ( i.GT.0 ) THEN
1024 CALL WRITE_0D_C( the_run_name, i, INDEX_NONE,
38a63a3c62 Jean*1025 & 'the_run_name = ', '/* Name of this simulation */' )
ddd90829e1 Jean*1026 ENDIF
1027
8914e51ef9 Jean*1028 WRITE(msgBuf,'(A)')
1029 &'// ======================================================='
e35a804907 Jean*1030 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
8914e51ef9 Jean*1031 WRITE(msgBuf,'(A)') '// End of Model config. summary'
e35a804907 Jean*1032 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
8914e51ef9 Jean*1033 WRITE(msgBuf,'(A)')
1034 &'// ======================================================='
e35a804907 Jean*1035 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
924557e60a Chri*1036 WRITE(msgBuf,'(A)') ' '
e35a804907 Jean*1037 CALL PRINT_MESSAGE( msgBuf, ioUnit, SQUEEZE_RIGHT, myThid )
924557e60a Chri*1038
7a7a4899b4 Chri*1039 _END_MASTER(myThid)
924557e60a Chri*1040 _BARRIER
1041
1042 RETURN
1043 END