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

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

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


Revision 1.17 - (show annotations) (download)
Fri Sep 21 03:54:36 2001 UTC (22 years, 8 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint44e_post, checkpoint46g_pre, release1_p13_pre, checkpoint46f_post, checkpoint44f_post, checkpoint46b_post, checkpoint43a-release1mods, release1_p13, chkpt44d_post, release1_p8, release1_p9, release1_p1, release1_p2, release1_p3, release1_p4, release1_p5, release1_p6, release1_p7, checkpoint44e_pre, release1_b1, checkpoint43, release1_chkpt44d_post, release1_p11, icebear5, icebear4, icebear3, icebear2, checkpoint46d_pre, release1-branch_tutorials, checkpoint45d_post, chkpt44a_post, checkpoint44h_pre, checkpoint46a_post, chkpt44c_pre, checkpoint45a_post, ecco_c44_e19, ecco_c44_e18, ecco_c44_e17, ecco_c44_e16, release1_p12, release1_p10, release1_p16, release1_p17, release1_p14, release1_p15, checkpoint44g_post, checkpoint46e_pre, checkpoint45b_post, checkpoint46b_pre, release1-branch-end, release1_final_v1, checkpoint46c_pre, checkpoint46, checkpoint44b_post, checkpoint46a_pre, checkpoint45c_post, ecco_ice2, ecco_ice1, checkpoint44h_post, release1_p12_pre, ecco_c44_e22, ecco_c44_e25, chkpt44a_pre, ecco_c44_e23, ecco_c44_e20, ecco_c44_e21, ecco_c44_e26, ecco_c44_e27, ecco_c44_e24, checkpoint46c_post, ecco-branch-mod1, ecco-branch-mod2, ecco-branch-mod3, ecco-branch-mod4, ecco-branch-mod5, checkpoint46e_post, release1_beta1, checkpoint44b_pre, checkpoint42, checkpoint41, checkpoint44, checkpoint45, chkpt44c_post, checkpoint44f_pre, checkpoint46d_post, release1-branch_branchpoint
Branch point for: c24_e25_ice, release1_final, release1-branch, release1, ecco-branch, release1_50yr, icebear, release1_coupled
Changes since 1.16: +16 -9 lines
File MIME type: text/plain
Starting to bring comments up to date and format comments
for document extraction of "prototypes".

1 C $Header: /u/gcmpack/models/MITgcmUV/model/inc/DYNVARS.h,v 1.16 2001/09/19 13:50:38 jmc Exp $
2 C $Name: $
3 CBOP
4 C !ROUTINE: DYNVARS.h
5 C !INTERFACE:
6 C include "DYNVARS.h"
7 C !DESCRIPTION:
8 C \bv
9 C *==========================================================*
10 C | DYNVARS.h
11 C | o Dynamical model variables (common block DYNVARS_R)
12 C *==========================================================*
13 C | The value and two levels of time tendency are held for
14 C | each prognostic variable.
15 C *==========================================================*
16 C \ev
17 CEOP
18 C
19 C etaN - free-surface r-anomaly (r unit) at current time level
20 C uVel - zonal velocity (m/s, i=1 held at western face)
21 C vVel - meridional velocity (m/s, j=1 held at southern face)
22 C theta - potential temperature (oC, held at pressure/tracer point)
23 C salt - salinity (ppt, held at pressure/tracer point)
24 C gX, gXNM1 - Time tendencies at current and prvious time levels.
25 C uVelD - D grid zonal velocity
26 C vVelD - D grid meridional velocity
27 C etaH - surface r-anomaly, advanced in time consistently
28 C with 2.D flow divergence (Exact-Conservation):
29 C etaH^n+1 = etaH^n - delta_t*Div.(H^n U^n)
30 C note: a) used with "exactConserv" but strictly necessary for NonLinFreeSurf
31 C b) same as etaN but not necessarely at the same time, e.g.:
32 C implicDiv2DFlow=0 => etaH=etaN ; =1 => etaH=etaNm1 ;
33
34 COMMON /DYNVARS_R/
35 & etaN, etaH,
36 & uVel,vVel,wVel,theta,salt,
37 & gu,gv,gt,gs,guNm1,gvNm1,gtNm1,gsNm1
38 _RL etaN (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
39 _RL etaH (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
40 _RL uVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
41 _RL vVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
42 _RL wVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
43 _RL theta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OLy:sNy+OLy,Nr,nSx,nSy)
72 #endif /* ALLOW_NONHYDROSTATIC */
73
74 #if (defined (ALLOW_AUTODIFF_TAMC) && defined (ALLOW_DIFFKR_CONTROL))
75 COMMON /DYNVARS_DIFFKR/
76 & diffKr
77 _RL diffKr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
78 #endif
79 #if (defined (ALLOW_AUTODIFF_TAMC) && defined (ALLOW_KAPGM_CONTROL))
80 COMMON /DYNVARS_KAPGM/
81 & kapgm
82 _RL kapgm (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
83 #endif

  ViewVC Help
Powered by ViewVC 1.1.22