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

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

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


Revision 1.25 - (hide annotations) (download)
Fri Oct 31 20:35:32 2003 UTC (20 years, 7 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint52l_pre, hrcube4, hrcube5, checkpoint52d_pre, checkpoint52j_pre, checkpoint52l_post, checkpoint52k_post, checkpoint53, checkpoint52, checkpoint52f_post, checkpoint51t_post, checkpoint52i_pre, hrcube_1, hrcube_2, hrcube_3, checkpoint51s_post, checkpoint52e_pre, checkpoint52e_post, checkpoint53d_post, checkpoint52b_pre, checkpoint52m_post, checkpoint52b_post, checkpoint52c_post, checkpoint52f_pre, checkpoint53c_post, checkpoint51r_post, checkpoint53a_post, checkpoint52d_post, checkpoint52a_pre, checkpoint52i_post, checkpoint52h_pre, checkpoint53f_post, checkpoint52j_post, branch-netcdf, checkpoint52n_post, checkpoint53b_pre, checkpoint53b_post, checkpoint52a_post, ecco_c52_e35, checkpoint53d_pre, checkpoint51u_post
Branch point for: branch-nonh, netcdf-sm0
Changes since 1.24: +1 -3 lines
File MIME type: text/plain
 o remove all '#include "PACACKAGES_CONFIG.h"' from model/inc/* and cleanup
   the verification tests that this breaks
 o this was confirmed to work for the basic tests ("testreport -ieee") on
   shelley

1 edhill 1.25 C $Header: /u/u3/gcmpack/MITgcm/model/inc/DYNVARS.h,v 1.24 2003/10/30 12:00:41 edhill Exp $
2 jmc 1.16 C $Name: $
3 edhill 1.22
4 cnh 1.17 CBOP
5     C !ROUTINE: DYNVARS.h
6     C !INTERFACE:
7     C include "DYNVARS.h"
8     C !DESCRIPTION:
9     C \bv
10     C *==========================================================*
11     C | DYNVARS.h
12     C | o Dynamical model variables (common block DYNVARS_R)
13     C *==========================================================*
14     C | The value and two levels of time tendency are held for
15     C | each prognostic variable.
16     C *==========================================================*
17     C \ev
18     CEOP
19 cnh 1.1 C
20 jmc 1.12 C etaN - free-surface r-anomaly (r unit) at current time level
21 cnh 1.1 C uVel - zonal velocity (m/s, i=1 held at western face)
22     C vVel - meridional velocity (m/s, j=1 held at southern face)
23     C theta - potential temperature (oC, held at pressure/tracer point)
24     C salt - salinity (ppt, held at pressure/tracer point)
25 cnh 1.4 C gX, gXNM1 - Time tendencies at current and prvious time levels.
26 jmc 1.16 C etaH - surface r-anomaly, advanced in time consistently
27     C with 2.D flow divergence (Exact-Conservation):
28     C etaH^n+1 = etaH^n - delta_t*Div.(H^n U^n)
29     C note: a) used with "exactConserv" but strictly necessary for NonLinFreeSurf
30     C b) same as etaN but not necessarely at the same time, e.g.:
31     C implicDiv2DFlow=0 => etaH=etaN ; =1 => etaH=etaNm1 ;
32 adcroft 1.9
33 adcroft 1.13 COMMON /DYNVARS_R/
34 jmc 1.16 & etaN, etaH,
35 adcroft 1.13 & uVel,vVel,wVel,theta,salt,
36 adcroft 1.8 & gu,gv,gt,gs,guNm1,gvNm1,gtNm1,gsNm1
37 adcroft 1.13 _RL etaN (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
38 jmc 1.16 _RL etaH (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
39 cnh 1.5 _RL uVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
40     _RL vVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
41 adcroft 1.10 _RL wVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
42 cnh 1.5 _RL theta(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
43     _RL salt (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
44     _RL gu(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
45     _RL gv(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
46     _RL gt(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
47     _RL gs(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
48     _RL guNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
49     _RL gvNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
50     _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)
52 heimbach 1.15
53 adcroft 1.14 #ifdef ALLOW_NONHYDROSTATIC
54     COMMON /DYNVARS_NH/ phi_nh
55     _RL phi_nh(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
56     #endif /* ALLOW_NONHYDROSTATIC */
57 heimbach 1.15
58 heimbach 1.19 cph(
59     cph the following block will eventually move to a separate
60     cph header file containing requires anomaly fields of control vars.
61     cph
62 heimbach 1.15 #if (defined (ALLOW_AUTODIFF_TAMC) && defined (ALLOW_DIFFKR_CONTROL))
63     COMMON /DYNVARS_DIFFKR/
64     & diffKr
65     _RL diffKr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
66     #endif
67     #if (defined (ALLOW_AUTODIFF_TAMC) && defined (ALLOW_KAPGM_CONTROL))
68     COMMON /DYNVARS_KAPGM/
69     & kapgm
70     _RL kapgm (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
71     #endif
72 heimbach 1.19 #if (defined (ALLOW_AUTODIFF_TAMC) && defined (ALLOW_BOTTOMDRAG_CONTROL))
73     COMMON /DYNVARS_BOTTOMDRAG/
74     & bottomdragfld
75     _RL bottomdragfld (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
76     #endif
77     cph
78     cph)
79 mlosch 1.18
80 jmc 1.20 C diagnostic variables:
81     C phiHydLow :: Phi-Hydrostatic at r-lower boundary
82     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     COMMON /DYNVARS_DIAG/ phiHydLow, totPhiHyd
87 mlosch 1.18 _RL phiHydLow(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
88 jmc 1.20 _RL totPhiHyd(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)

  ViewVC Help
Powered by ViewVC 1.1.22