1 |
jmc |
1.1 |
C $Header: $ |
2 |
|
|
C $Name: $ |
3 |
|
|
|
4 |
|
|
CBOP |
5 |
|
|
C !ROUTINE: NH_VARS.h |
6 |
|
|
C !INTERFACE: |
7 |
|
|
C include "NH_VARS.h" |
8 |
|
|
C !DESCRIPTION: |
9 |
|
|
C \bv |
10 |
|
|
C *==========================================================* |
11 |
|
|
C | NH_VARS.h |
12 |
|
|
C | o Additional state variables for non-hydrostatic model |
13 |
|
|
C *==========================================================* |
14 |
|
|
C | In N-H mode, wVel becomes a prognostic variable: need |
15 |
|
|
C | to hold two levels of time tendency for w (for AB-2) |
16 |
|
|
C *==========================================================* |
17 |
|
|
C \ev |
18 |
|
|
CEOP |
19 |
|
|
|
20 |
|
|
#ifdef ALLOW_NONHYDROSTATIC |
21 |
|
|
C-- COMMON /NH_VARS_R/ REAL NH state variables |
22 |
|
|
C phi_nh :: Non-hydrostatic potential (=NH-Pressure/rhoConst) |
23 |
|
|
C gX, gxNm1 :: Time tendencies at current and previous time levels. |
24 |
|
|
|
25 |
|
|
COMMON /NH_VARS_R/ |
26 |
|
|
& phi_nh, |
27 |
|
|
& gW, gwNm1 |
28 |
|
|
_RL phi_nh(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
29 |
|
|
_RL gW (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
30 |
|
|
_RL gwNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy) |
31 |
|
|
|
32 |
|
|
#endif /* ALLOW_NONHYDROSTATIC */ |