173 |
C and off. |
C and off. |
174 |
C saltForcing :: Flag which turns external forcing of salinit on |
C saltForcing :: Flag which turns external forcing of salinit on |
175 |
C and off. |
C and off. |
176 |
|
C useRealFreshWaterFlux :: if true (=Natural BCS), treats P+R-E flux |
177 |
|
C as a real Fresh Water (=> changes the seal level) |
178 |
|
C if false, converts P+R-E to virtual salt flux |
179 |
C rigidLid :: Set to true to use rigid lid |
C rigidLid :: Set to true to use rigid lid |
180 |
C implicitFreeSurface :: Set to true to use implcit free surface |
C implicitFreeSurface :: Set to true to use implcit free surface |
181 |
C exactConserv :: Set to true to conserve exactly the total Volume |
C exactConserv :: Set to true to conserve exactly the total Volume |
199 |
C coords. |
C coords. |
200 |
C usingZCoords :: Set to indicate that we are working in height |
C usingZCoords :: Set to indicate that we are working in height |
201 |
C coords. |
C coords. |
202 |
|
C setCenterDr :: set cell Center depth and put Interface at the middle |
203 |
C nonHydrostatic :: Using non-hydrostatic terms |
C nonHydrostatic :: Using non-hydrostatic terms |
204 |
C globalFiles :: Selects between "global" and "tiled" files |
C globalFiles :: Selects between "global" and "tiled" files |
205 |
C allowFreezing :: Allows water to freeze and form ice |
C allowFreezing :: Allows water to freeze and form ice |
213 |
& momPressureForcing, vectorInvariantMomentum, |
& momPressureForcing, vectorInvariantMomentum, |
214 |
& tempDiffusion, tempAdvection, tempForcing, |
& tempDiffusion, tempAdvection, tempForcing, |
215 |
& saltDiffusion, saltAdvection, saltForcing, |
& saltDiffusion, saltAdvection, saltForcing, |
216 |
|
& useRealFreshWaterFlux, |
217 |
& rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf, |
& rigidLid, implicitFreeSurface, exactConserv, uniformLin_PhiSurf, |
218 |
& momStepping, tempStepping, saltStepping, tr1Stepping, |
& momStepping, tempStepping, saltStepping, tr1Stepping, |
219 |
& metricTerms, usingSphericalPolarMTerms, |
& metricTerms, usingSphericalPolarMTerms, |
220 |
& useConstantF, useBetaPlaneF, useSphereF, |
& useConstantF, useBetaPlaneF, useSphereF, |
221 |
& implicitDiffusion, implicitViscosity, |
& implicitDiffusion, implicitViscosity, |
222 |
& doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax, |
& doThetaClimRelax, doSaltClimRelax, doTr1ClimRelax, |
223 |
& periodicExternalForcing, usingPCoords, usingZCoords, |
& periodicExternalForcing, |
224 |
|
& usingPCoords, usingZCoords, setCenterDr, |
225 |
& nonHydrostatic, globalFiles, |
& nonHydrostatic, globalFiles, |
226 |
& allowFreezing, groundAtK1, |
& allowFreezing, groundAtK1, |
227 |
& usePickupBeforeC35, debugMode, |
& usePickupBeforeC35, debugMode, |
247 |
LOGICAL saltDiffusion |
LOGICAL saltDiffusion |
248 |
LOGICAL saltAdvection |
LOGICAL saltAdvection |
249 |
LOGICAL saltForcing |
LOGICAL saltForcing |
250 |
|
LOGICAL useRealFreshWaterFlux |
251 |
LOGICAL rigidLid |
LOGICAL rigidLid |
252 |
LOGICAL implicitFreeSurface |
LOGICAL implicitFreeSurface |
253 |
LOGICAL exactConserv |
LOGICAL exactConserv |
268 |
LOGICAL periodicExternalForcing |
LOGICAL periodicExternalForcing |
269 |
LOGICAL usingPCoords |
LOGICAL usingPCoords |
270 |
LOGICAL usingZCoords |
LOGICAL usingZCoords |
271 |
|
LOGICAL setCenterDr |
272 |
LOGICAL nonHydrostatic |
LOGICAL nonHydrostatic |
273 |
LOGICAL globalFiles |
LOGICAL globalFiles |
274 |
LOGICAL allowFreezing |
LOGICAL allowFreezing |
305 |
C delP :: Vertical grid spacing ( Pa ). |
C delP :: Vertical grid spacing ( Pa ). |
306 |
C delZ :: Vertical grid spacing ( m ). |
C delZ :: Vertical grid spacing ( m ). |
307 |
C delR :: Vertical grid spacing ( units of r ). |
C delR :: Vertical grid spacing ( units of r ). |
308 |
|
C delRc :: Vertical grid spacing between cell centers (r unit). |
309 |
C delX :: Separation between cell faces (m) or (deg), depending |
C delX :: Separation between cell faces (m) or (deg), depending |
310 |
C delY on input flags. |
C delY on input flags. |
311 |
C gravity :: Accel. due to gravity ( m/s^2 ) |
C gravity :: Accel. due to gravity ( m/s^2 ) |
405 |
C externForcingCycle :: Is the repeat time of the forcing (eg. 1 year) |
C externForcingCycle :: Is the repeat time of the forcing (eg. 1 year) |
406 |
C (note: externForcingCycle must be an integer |
C (note: externForcingCycle must be an integer |
407 |
C number times externForcingPeriod) |
C number times externForcingPeriod) |
408 |
|
C convertFW2Salt :: salinity, used to convert Fresh-Water Flux to Salt Flux |
409 |
|
C (use model surface (local) value if set to -1) |
410 |
|
C temp_EvPrRn :: temperature of Rain & Evap. |
411 |
|
C salt_EvPrRn :: salinity of Rain & Evap. |
412 |
|
C trac_EvPrRn :: tracer concentration in Rain & Evap. |
413 |
|
C (notes: a) tracer content of Rain/Evap only used if both |
414 |
|
C NonLin_FrSurf & useRealFreshWater are set. |
415 |
|
C b) use model surface (local) value if set to UNSET_RL) |
416 |
C horiVertRatio :: Ratio on units in vertical to units in horizontal. |
C horiVertRatio :: Ratio on units in vertical to units in horizontal. |
417 |
C recip_horiVertRatio ( 1 if horiz in m and vertical in m ). |
C recip_horiVertRatio ( 1 if horiz in m and vertical in m ). |
418 |
C ( g*rho if horiz in m and vertical in Pa ). |
C ( g*rho if horiz in m and vertical in Pa ). |
422 |
C --"-"-- Quadratic ( linear: 1/s, quadratic: 1/m ) |
C --"-"-- Quadratic ( linear: 1/s, quadratic: 1/m ) |
423 |
COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit, |
COMMON /PARM_R/ cg2dTargetResidual, cg2dTargetResWunit, |
424 |
& cg2dpcOffDFac, cg3dTargetResidual, |
& cg2dpcOffDFac, cg3dTargetResidual, |
425 |
& delP, delZ, delR, delX, delY, |
& delP, delZ, delR, delRc, delX, delY, |
426 |
& deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, |
& deltaT,deltaTmom, deltaTtracer, deltaTClock,abeps, startTime, |
427 |
& phiMin, thetaMin, rSphere, recip_RSphere, f0, beta, |
& phiMin, thetaMin, rSphere, recip_RSphere, f0, beta, |
428 |
& fCori, fCoriG, |
& fCori, fCoriG, |
441 |
& tauSaltClimRelax, lambdaSaltClimRelax, |
& tauSaltClimRelax, lambdaSaltClimRelax, |
442 |
& tauTr1ClimRelax, lambdaTr1ClimRelax, |
& tauTr1ClimRelax, lambdaTr1ClimRelax, |
443 |
& externForcingCycle, externForcingPeriod, |
& externForcingCycle, externForcingPeriod, |
444 |
|
& convertFW2Salt, temp_EvPrRn, salt_EvPrRn, trac_EvPrRn, |
445 |
& viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp, |
& viscAp, diffKpT, diffKpS, hFacMinDr, hFacMinDp, |
446 |
& theta_S, specVol_S, horiVertRatio, recip_horiVertRatio, |
& horiVertRatio, recip_horiVertRatio, |
447 |
& ivdc_kappa, Ro_SeaLevel, |
& ivdc_kappa, Ro_SeaLevel, |
448 |
& bottomDragLinear,bottomDragQuadratic |
& bottomDragLinear,bottomDragQuadratic |
449 |
|
|
454 |
_RL delZ(Nr) |
_RL delZ(Nr) |
455 |
_RL delP(Nr) |
_RL delP(Nr) |
456 |
_RL delR(Nr) |
_RL delR(Nr) |
457 |
|
_RL delRc(Nr+1) |
458 |
_RL delX(Nx) |
_RL delX(Nx) |
459 |
_RL delY(Ny) |
_RL delY(Ny) |
460 |
_RL deltaT |
_RL deltaT |
504 |
_RL recip_rhonil |
_RL recip_rhonil |
505 |
_RL rhoConst |
_RL rhoConst |
506 |
_RL recip_rhoConst |
_RL recip_rhoConst |
|
_RL specVol_S(Nr) |
|
507 |
_RL tRef(Nr) |
_RL tRef(Nr) |
|
_RL theta_S(Nr) |
|
508 |
_RL sRef(Nr) |
_RL sRef(Nr) |
509 |
_RS fCori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
_RS fCori(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
510 |
_RS fCoriG(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
_RS fCoriG(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
533 |
_RL lambdaTr1ClimRelax |
_RL lambdaTr1ClimRelax |
534 |
_RL externForcingCycle |
_RL externForcingCycle |
535 |
_RL externForcingPeriod |
_RL externForcingPeriod |
536 |
|
_RL convertFW2Salt |
537 |
|
_RL temp_EvPrRn |
538 |
|
_RL salt_EvPrRn |
539 |
|
_RL trac_EvPrRn |
540 |
_RL horiVertRatio |
_RL horiVertRatio |
541 |
_RL recip_horiVertRatio |
_RL recip_horiVertRatio |
542 |
_RL ivdc_kappa |
_RL ivdc_kappa |
582 |
LOGICAL useSHAP_FILT |
LOGICAL useSHAP_FILT |
583 |
LOGICAL useZONAL_FILT |
LOGICAL useZONAL_FILT |
584 |
LOGICAL useFLT |
LOGICAL useFLT |
585 |
|
LOGICAL usePTRACERS |
586 |
COMMON /PARM_PACKAGES/ |
COMMON /PARM_PACKAGES/ |
587 |
& useKPP, useGMRedi, useOBCS, useAIM, useECCO, |
& useKPP, useGMRedi, useOBCS, useAIM, useECCO, |
588 |
& useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT |
& useSHAP_FILT, useZONAL_FILT, useGrdchk, useFLT, |
589 |
|
& usePTRACERS |
590 |
|
|