/[MITgcm]/MITgcm/model/inc/SURFACE.h
ViewVC logotype

Annotation of /MITgcm/model/inc/SURFACE.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.10 - (hide annotations) (download)
Tue May 13 17:25:22 2003 UTC (21 years ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint51k_post, checkpoint52l_pre, hrcube4, hrcube5, checkpoint52d_pre, checkpoint52j_pre, checkpoint51o_pre, checkpoint51l_post, checkpoint52l_post, checkpoint52k_post, checkpoint51, checkpoint53, checkpoint52, checkpoint52f_post, checkpoint51f_post, checkpoint51d_post, checkpoint51t_post, checkpoint51n_post, checkpoint52i_pre, hrcube_1, hrcube_2, hrcube_3, checkpoint51s_post, checkpoint51j_post, checkpoint52e_pre, checkpoint52e_post, checkpoint51n_pre, checkpoint53d_post, checkpoint52b_pre, checkpoint51l_pre, checkpoint52m_post, checkpoint51q_post, checkpoint51b_pre, checkpoint52b_post, checkpoint52c_post, checkpoint51h_pre, checkpoint50f_post, checkpoint50f_pre, checkpoint52f_pre, checkpoint53c_post, branchpoint-genmake2, checkpoint51r_post, checkpoint51i_post, checkpoint51b_post, checkpoint51c_post, checkpoint53a_post, checkpoint52d_post, checkpoint50g_post, checkpoint52a_pre, checkpoint50h_post, checkpoint52i_post, checkpoint50e_pre, checkpoint50i_post, checkpoint51i_pre, checkpoint52h_pre, checkpoint53f_post, checkpoint52j_post, checkpoint50e_post, branch-netcdf, checkpoint52n_post, checkpoint53b_pre, checkpoint51e_post, checkpoint51o_post, checkpoint51f_pre, checkpoint53b_post, checkpoint52a_post, checkpoint51g_post, ecco_c52_e35, checkpoint51m_post, checkpoint53d_pre, checkpoint51a_post, checkpoint51p_post, checkpoint51u_post
Branch point for: branch-genmake2, branch-nonh, tg2-branch, netcdf-sm0, checkpoint51n_branch
Changes since 1.9: +2 -2 lines
File MIME type: text/plain
Removed single quotes from comments.

1 adcroft 1.10 C $Header: /u/gcmpack/models/MITgcmUV/model/inc/SURFACE.h,v 1.9 2003/01/26 21:03:00 jmc Exp $
2 jmc 1.6 C $Name: $
3 jmc 1.1 C
4 cnh 1.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 jmc 1.1
20 jmc 1.7 C-- COMMON /SURF_FIXED/ fixed surface arrays (Real)
21     C Bo_surf :: Boyancy|1/rho [ocean|atmos] at surface level [=g|alpha(p_o)]
22     C recip_Bo :: 1/Bo_surf
23     C topoZ :: topographic height [m] (used mainly for atmosphere)
24 adcroft 1.10 C phi0surf :: starting point for integrating phi_Hyd
25 jmc 1.8 COMMON /SURF_FIXED/ Bo_surf, recip_Bo, topoZ, phi0surf
26 jmc 1.7 _RL Bo_surf (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
27 jmc 1.1 _RL recip_Bo(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
28 jmc 1.7 _RS topoZ (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
29 jmc 1.8 _RS phi0surf(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
30 jmc 1.1
31 adcroft 1.2 C-- COMMON /SURF_INDEX/ Common block for surface related index
32 cnh 1.4 C ksurfC :: vertical index of the surface tracer cell
33     C ksurfW :: vertical index of the surface U point
34     C ksurfS :: vertical index of the surface V point
35 jmc 1.3 C IMPORTANT: ksurfC,W,S = Nr+1 where the fluid column is empty (continent)
36     COMMON /SURF_INDEX/ ksurfC, ksurfW, ksurfS
37     INTEGER ksurfC(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
38     INTEGER ksurfW(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
39     INTEGER ksurfS(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
40 heimbach 1.5
41     #ifdef EXACT_CONSERV
42     C hDivFlow :: Div. Barotropic Flow at current time [transport unit m3/s]
43     COMMON /EXACT_ETA_LOCAL/ hDivFlow
44     _RL hDivFlow(1-Olx:sNx+Olx,1-Oly:sNy+Oly,nSx,nSy)
45     #endif
46 jmc 1.3
47     #ifdef NONLIN_FRSURF
48 jmc 1.9 C-- COMMON /SURF_CHANGE/ transient variables used for Non-Lin Free-Surf
49 cnh 1.4 C hFac_surfC :: New thickness factor of the surface level
50 jmc 1.3 C center (Tracer point)
51 cnh 1.4 C hFac_surfW :: idem, West interface (U point)
52     C hFac_surfS :: idem, South interface (V point)
53 jmc 1.6 C PmEpR :: keep the fresh water input (=-EmPmR) of the previous time step
54 jmc 1.3 COMMON /SURF_CHANGE/
55 jmc 1.6 & hFac_surfC, hFac_surfW, hFac_surfS,
56     & PmEpR
57 jmc 1.3 _RS hFac_surfC(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
58     _RS hFac_surfW(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
59     _RS hFac_surfS(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
60 jmc 1.6 _RS PmEpR(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
61 jmc 1.9
62     C-- COMMON /RSTAR_CHANGE/ transient variables used with r* Coordinate
63     C rStarFacC :: = dr/dr* = ratio of r-thickness / r*-thickness = h^n / H
64     C rStarFacW :: same but for West face
65     C rStarFacS :: same but for South face
66     C rStarExpC :: column expansion factor = h^n+1/h^n , Centered
67     C rStarExpW :: column expansion factor = h^n+1/h^n , Western face
68     C rStarExpS :: column expansion factor = h^n+1/h^n , Southern face
69     C rStarDhCDt:: relative time derivative of h_Center = d.eta/dt / H
70     C rStarDhWDt:: relative time derivative of h_West_face (u.point)
71     C rStarDhSDt:: relative time derivative of h_South_face (v.point)
72     COMMON /RSTAR_CHANGE/
73     & rStarFacC, rStarFacW, rStarFacS,
74     & rStarExpC, rStarExpW, rStarExpS,
75     & rStarDhCDt,rStarDhWDt,rStarDhSDt
76     _RL rStarFacC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
77     _RL rStarFacW (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
78     _RL rStarFacS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
79     _RL rStarExpC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
80     _RL rStarExpW (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
81     _RL rStarExpS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
82     _RL rStarDhCDt(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
83     _RL rStarDhWDt(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
84     _RL rStarDhSDt(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
85    
86     C-- COMMON /RSTAR_FIXED/ fixed thickness ratio ( r* discretization )
87     C h0FacC :: initial (and fixed in time) hFacC factor
88     C h0FacW :: initial (and fixed in time) hFacW factor
89     C h0FacS :: initial (and fixed in time) hFacS factor
90     COMMON /RSTAR_FIXED/
91     & h0FacC, h0FacW, h0FacS
92     _RS h0FacC(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
93     _RS h0FacW(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
94     _RS h0FacS(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
95 jmc 1.6
96 jmc 1.3 #endif /* NONLIN_FRSURF */

  ViewVC Help
Powered by ViewVC 1.1.22