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

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

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

revision 1.29 by heimbach, Thu Nov 24 03:44:50 2005 UTC revision 1.32 by jmc, Thu May 31 16:28:22 2007 UTC
# Line 8  C     include "DYNVARS.h" Line 8  C     include "DYNVARS.h"
8  C     !DESCRIPTION:  C     !DESCRIPTION:
9  C     \bv  C     \bv
10  C     *==========================================================*  C     *==========================================================*
11  C     | DYNVARS.h                                                  C     | DYNVARS.h
12  C     | o Dynamical model variables (common block DYNVARS_R)        C     | o Dynamical model variables (common block DYNVARS_R)
13  C     *==========================================================*  C     *==========================================================*
14  C     | The value and two levels of time tendency are held for      C     | The value and two levels of time tendency are held for
15  C     | each prognostic variable.                                  C     | each prognostic variable.
16  C     *==========================================================*  C     *==========================================================*
17  C     \ev  C     \ev
18  CEOP  CEOP
# Line 23  C     vVel  - meridional velocity (m/s, Line 23  C     vVel  - meridional velocity (m/s,
23  C     theta - potential temperature (oC, held at pressure/tracer point)  C     theta - potential temperature (oC, held at pressure/tracer point)
24  C     salt  - salinity (ppt, held at pressure/tracer point)  C     salt  - salinity (ppt, held at pressure/tracer point)
25  C     gX, gxNm1 - Time tendencies at current and previous time levels.  C     gX, gxNm1 - Time tendencies at current and previous time levels.
26  C     etaH   - surface r-anomaly, advanced in time consistently  C     etaH   - surface r-anomaly, advanced in time consistently
27  C              with 2.D flow divergence (Exact-Conservation):  C              with 2.D flow divergence (Exact-Conservation):
28  C                etaH^n+1 = etaH^n - delta_t*Div.(H^n U^n)    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  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.:  C        b) same as etaN but not necessarely at the same time, e.g.:
31  C           implicDiv2DFlow=0 => etaH=etaN ; =1 => etaH=etaNm1 ;  C           implicDiv2DFlow=0 => etaH=etaN ; =1 => etaH=etaNm1 ;
# Line 73  cph( Line 73  cph(
73  cph the following block will eventually move to a separate  cph the following block will eventually move to a separate
74  cph header file containing requires anomaly fields of control vars.  cph header file containing requires anomaly fields of control vars.
75  cph  cph
76  #if (defined (ALLOW_AUTODIFF_TAMC) && defined (ALLOW_DIFFKR_CONTROL))  #if (defined ALLOW_3D_DIFFKR || \
77         (defined (ALLOW_AUTODIFF_TAMC) && defined (ALLOW_DIFFKR_CONTROL)))
78    C     diffKr :: full 3D specification of Laplacian diffusion coeff.
79    C               for mixing of tracers vertically ( units of r^2/s )
80        COMMON /DYNVARS_DIFFKR/        COMMON /DYNVARS_DIFFKR/
81       &                       diffKr       &                       diffKr
82        _RL  diffKr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)        _RL  diffKr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
# Line 91  cph Line 94  cph
94  cph  cph
95  cph)  cph)
96    
97  C     diagnostic variables:  #ifdef ALLOW_BL79_LAT_VARY
98  C     phiHydLow  :: Phi-Hydrostatic at r-lower boundary  C     BL79LatArray :: is used for latitudinal dependence of
99  C                  (bottom in z-coordinates, top in p-coordinates)  C                     BryanLewis79 vertical diffusivity
100  C     totPhiHyd :: total hydrostatic Potential (anomaly, for now),        _RL BL79LatArray (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
101  C                  at cell center level ; includes surface contribution.  #endif
102  C                 (for diagnostic + used in Z-coord with EOS_funct_P)  
103    C     diagnostic variables:
104    C     phiHydLow    :: Phi-Hydrostatic at r-lower boundary
105    C                     (bottom in z-coordinates, top in p-coordinates)
106    C     totPhiHyd    :: total hydrostatic Potential (anomaly, for now),
107    C                     at cell center level ; includes surface contribution.
108    C                     (for diagnostic + used in Z-coord with EOS_funct_P)
109    C     hMixLayer    :: Mixed layer depth [m]
110    C                     (for diagnostic + used GMRedi "fm07")
111  C     IVDConvCount :: Impl.Vert.Diffusion convection counter:  C     IVDConvCount :: Impl.Vert.Diffusion convection counter:
112  C                   = 0 (not convecting) or 1 (convecting)  C                     = 0 (not convecting) or 1 (convecting)
113        COMMON /DYNVARS_DIAG/ phiHydLow, totPhiHyd, IVDConvCount        COMMON /DYNVARS_DIAG/
114         &                       phiHydLow, totPhiHyd,
115         &                       hMixLayer, IVDConvCount
116        _RL  phiHydLow(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RL  phiHydLow(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
117        _RL  totPhiHyd(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)        _RL  totPhiHyd(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
118          _RL  hMixLayer(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
119        _RL  IVDConvCount(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)        _RL  IVDConvCount(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
120            

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.22