1 |
C $Header: /u/gcmpack/models/MITgcmUV/model/inc/SURFACE.h,v 1.4 2001/09/21 15:13:31 cnh Exp $ |
2 |
C $Name: checkpoint43 $ |
3 |
C |
4 |
CBOP |
5 |
C !ROUTINE: SURFACE.h |
6 |
C !INTERFACE: |
7 |
C include SURFACE.h |
8 |
C !DESCRIPTION: \bv |
9 |
C *==========================================================* |
10 |
C | SURFACE.h |
11 |
C | o Header file defining surface-related model varaibles |
12 |
C *==========================================================* |
13 |
C | Contains variables relative to the surface position |
14 |
C | that are held fixed in linear free-surface formulation |
15 |
C | but can vary with time with a non-linear free-surface. |
16 |
C *==========================================================* |
17 |
C \ev |
18 |
CEOP |
19 |
|
20 |
C-- COMMON /SOLVE_BAROT/ Barotropic variables common block |
21 |
C Bo_surf :: Boyancy|1/rho [ocean|atmos] at surface level [= g | alpha(p_o)] |
22 |
C recip_Bo :: 1/Bo_surf |
23 |
COMMON /SOLVE_BAROT/ Bo_surf, recip_Bo |
24 |
_RL Bo_surf(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
25 |
_RL recip_Bo(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
26 |
|
27 |
C-- COMMON /SURF_INDEX/ Common block for surface related index |
28 |
C ksurfC :: vertical index of the surface tracer cell |
29 |
C ksurfW :: vertical index of the surface U point |
30 |
C ksurfS :: vertical index of the surface V point |
31 |
C IMPORTANT: ksurfC,W,S = Nr+1 where the fluid column is empty (continent) |
32 |
COMMON /SURF_INDEX/ ksurfC, ksurfW, ksurfS |
33 |
INTEGER ksurfC(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
34 |
INTEGER ksurfW(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
35 |
INTEGER ksurfS(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
36 |
|
37 |
#ifdef EXACT_CONSERV |
38 |
C hDivFlow :: Div. Barotropic Flow at current time [transport unit m3/s] |
39 |
COMMON /EXACT_ETA_LOCAL/ hDivFlow |
40 |
_RL hDivFlow(1-Olx:sNx+Olx,1-Oly:sNy+Oly,nSx,nSy) |
41 |
#endif |
42 |
|
43 |
#ifdef NONLIN_FRSURF |
44 |
C-- COMMON /SURF_CHANGE/ transient varariable used for Non-Lin Free-Surf |
45 |
C hFac_surfC :: New thickness factor of the surface level |
46 |
C center (Tracer point) |
47 |
C hFac_surfW :: idem, West interface (U point) |
48 |
C hFac_surfS :: idem, South interface (V point) |
49 |
COMMON /SURF_CHANGE/ |
50 |
& hFac_surfC, hFac_surfW, hFac_surfS |
51 |
_RS hFac_surfC(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
52 |
_RS hFac_surfW(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
53 |
_RS hFac_surfS(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
54 |
#endif /* NONLIN_FRSURF */ |