1 |
C $Header$ |
C $Header$ |
2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
CBOP |
CBOP |
5 |
C !ROUTINE: DYNVARS.h |
C !ROUTINE: DYNVARS.h |
6 |
C !INTERFACE: |
C !INTERFACE: |
23 |
C theta - potential temperature (oC, held at pressure/tracer point) |
C theta - potential temperature (oC, held at pressure/tracer point) |
24 |
C salt - salinity (ppt, held at pressure/tracer point) |
C salt - salinity (ppt, held at pressure/tracer point) |
25 |
C gX, gXNM1 - Time tendencies at current and prvious time levels. |
C gX, gXNM1 - Time tendencies at current and prvious time levels. |
|
C uVelD - D grid zonal velocity |
|
|
C vVelD - D grid meridional velocity |
|
26 |
C etaH - surface r-anomaly, advanced in time consistently |
C etaH - surface r-anomaly, advanced in time consistently |
27 |
C with 2.D flow divergence (Exact-Conservation): |
C with 2.D flow divergence (Exact-Conservation): |
28 |
C etaH^n+1 = etaH^n - delta_t*Div.(H^n U^n) |
C etaH^n+1 = etaH^n - delta_t*Div.(H^n U^n) |
50 |
_RL gtNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
_RL gtNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
51 |
_RL gsNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
_RL gsNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
52 |
|
|
|
#ifdef INCLUDE_CD_CODE |
|
|
COMMON /DYNVARS_CD/ |
|
|
& uVelD, vVelD, |
|
|
& etaNm1, |
|
|
& uNM1, vNM1, |
|
|
& guCD, gvCD |
|
|
_RL uVeld (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
|
|
_RL vVeld (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
|
|
_RL etaNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
|
|
_RL uNm1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
|
|
_RL vNm1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
|
|
_RL guCD (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
|
|
_RL gvCD (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
|
|
#endif |
|
|
|
|
53 |
#ifdef ALLOW_NONHYDROSTATIC |
#ifdef ALLOW_NONHYDROSTATIC |
54 |
COMMON /DYNVARS_NH/ phi_nh |
COMMON /DYNVARS_NH/ phi_nh |
55 |
_RL phi_nh(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
_RL phi_nh(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
77 |
cph |
cph |
78 |
cph) |
cph) |
79 |
|
|
80 |
C diagnostic variable: holds phiHyd at the rigid surface |
C diagnostic variables: |
81 |
C (bottom in z-coordinates, top in p-coordinates) |
C phiHydLow :: Phi-Hydrostatic at r-lower boundary |
82 |
COMMON /DYNVARS_R_DIAG/ phiHydLow |
C (bottom in z-coordinates, top in p-coordinates) |
83 |
|
C totPhiHyd :: total hydrostatic Potential (anomaly, for now), |
84 |
|
C at cell center level ; includes surface contribution. |
85 |
|
C (for diagnostic + used in Z-coord with EOS_funct_P) |
86 |
|
C IVDConvCount :: Impl.Vert.Diffusion convection counter: |
87 |
|
C = 0 (not convecting) or 1 (convecting) |
88 |
|
COMMON /DYNVARS_DIAG/ phiHydLow, totPhiHyd, IVDConvCount |
89 |
_RL phiHydLow(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
_RL phiHydLow(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
90 |
|
_RL totPhiHyd(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
91 |
|
_RL IVDConvCount(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
92 |
|
|