/[MITgcm]/MITgcm_contrib/PRM/multi_comp_setup/fg/build/DYNVARS_mod.F90
ViewVC logotype

Annotation of /MITgcm_contrib/PRM/multi_comp_setup/fg/build/DYNVARS_mod.F90

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


Revision 1.2 - (hide annotations) (download)
Fri Apr 25 18:46:56 2008 UTC (18 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
clean-up

1 cnh 1.1 #include "PACKAGES_CONFIG.h"
2     #include "CPP_OPTIONS.h"
3     MODULE DYNVARS_mod
4     PRIVATE
5     PUBLIC DYNVARS_t
6     #include "SIZE.h"
7     #include "EEPARAMS_P.h"
8     #include "PARAMS_P.h"
9     TYPE DYNVARS_t
10     SEQUENCE
11 jmc 1.2 ! $Header: /u/gcmpack/MITgcm_contrib/PRM/multi_comp_setup/fg/build/DYNVARS_mod.F90,v 1.1 2006/10/10 18:17:27 cnh Exp $
12 cnh 1.1 ! $Name: $
13    
14     !BOP
15     ! !ROUTINE: DYNVARS.h
16     ! !INTERFACE:
17     ! include "DYNVARS.h"
18     ! !DESCRIPTION:
19     ! \bv
20     ! *==========================================================*
21     ! | DYNVARS.h
22     ! | o Dynamical model variables (common block DYNVARS_R)
23     ! *==========================================================*
24     ! | The value and two levels of time tendency are held for
25     ! | each prognostic variable.
26     ! *==========================================================*
27     ! \ev
28     !EOP
29     !
30     ! etaN - free-surface r-anomaly (r unit) at current time level
31     ! uVel - zonal velocity (m/s, i=1 held at western face)
32     ! vVel - meridional velocity (m/s, j=1 held at southern face)
33     ! theta - potential temperature (oC, held at pressure/tracer point)
34     ! salt - salinity (ppt, held at pressure/tracer point)
35     ! gX, gxNm1 - Time tendencies at current and previous time levels.
36     ! etaH - surface r-anomaly, advanced in time consistently
37     ! with 2.D flow divergence (Exact-Conservation):
38     ! etaH^n+1 = etaH^n - delta_t*Div.(H^n U^n)
39     ! note: a) used with "exactConserv" but strictly necessary for NonLinFreeSurf
40     ! b) same as etaN but not necessarely at the same time, e.g.:
41     ! implicDiv2DFlow=0 => etaH=etaN ; =1 => etaH=etaNm1 ;
42    
43     #ifdef ALLOW_ADAMSBASHFORTH_3
44     #else /* ALLOW_ADAMSBASHFORTH_3 */
45     #endif /* ALLOW_ADAMSBASHFORTH_3 */
46     _RL etaN (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
47     _RL etaH (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
48     _RL uVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
49     _RL vVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
50     _RL wVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
51     _RL theta(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
52     _RL salt (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
53     _RL gU(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
54     _RL gV(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
55     _RL gT(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
56     _RL gS(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
57     #ifdef ALLOW_ADAMSBASHFORTH_3
58     _RL guNm(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,2)
59     _RL gvNm(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,2)
60     _RL gtNm(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,2)
61     _RL gsNm(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,2)
62     #else /* ALLOW_ADAMSBASHFORTH_3 */
63     _RL guNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
64     _RL gvNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
65     _RL gtNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
66     _RL gsNm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
67     #endif /* ALLOW_ADAMSBASHFORTH_3 */
68    
69     #ifdef ALLOW_NONHYDROSTATIC
70     _RL phi_nh(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
71     #endif /* ALLOW_NONHYDROSTATIC */
72    
73     cph(
74     cph the following block will eventually move to a separate
75     cph header file containing requires anomaly fields of control vars.
76     cph
77     #if (defined (ALLOW_AUTODIFF_TAMC) && defined (ALLOW_DIFFKR_CONTROL))
78     _RL diffKr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
79     #endif
80     #if (defined (ALLOW_AUTODIFF_TAMC) && defined (ALLOW_KAPGM_CONTROL))
81     _RL kapgm (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
82     #endif
83     #if (defined (ALLOW_AUTODIFF_TAMC) && defined (ALLOW_BOTTOMDRAG_CONTROL))
84     _RL bottomdragfld (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
85     #endif
86     cph
87     cph)
88    
89     ! diagnostic variables:
90     ! phiHydLow :: Phi-Hydrostatic at r-lower boundary
91     ! (bottom in z-coordinates, top in p-coordinates)
92     ! totPhiHyd :: total hydrostatic Potential (anomaly, for now),
93     ! at cell center level ; includes surface contribution.
94     ! (for diagnostic + used in Z-coord with EOS_funct_P)
95     ! IVDConvCount :: Impl.Vert.Diffusion convection counter:
96     ! = 0 (not convecting) or 1 (convecting)
97     _RL phiHydLow(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
98     _RL totPhiHyd(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
99     _RL IVDConvCount(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
100    
101     ! Added from GW.h
102     _RL gW(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
103    
104     END TYPE DYNVARS_t
105     END MODULE DYNVARS_mod

  ViewVC Help
Powered by ViewVC 1.1.22