/[MITgcm]/MITgcm/pkg/longstep/LONGSTEP.h
ViewVC logotype

Annotation of /MITgcm/pkg/longstep/LONGSTEP.h

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


Revision 1.3 - (hide annotations) (download)
Wed Sep 9 22:48:02 2009 UTC (16 years, 6 months ago) by jahn
Branch: MAIN
CVS Tags: checkpoint62, checkpoint61v, checkpoint61w, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.2: +2 -2 lines
File MIME type: text/plain
fix bug: Qsw now accumulated as _RS, LS_Qsw now _RL

1 jahn 1.3 C $Header: /u/gcmpack/MITgcm/pkg/longstep/LONGSTEP.h,v 1.2 2009/06/28 16:34:22 jmc Exp $
2 jmc 1.2 C $Name: $
3 jahn 1.1
4     #ifdef ALLOW_LONGSTEP
5    
6     CBOP
7     C !ROUTINE: LONGSTEP.h
8     C !INTERFACE:
9     C include "LONGSTEP.h"
10     C !DESCRIPTION:
11     C \bv
12     C *==========================================================*
13     C | LONGSTEP.h
14     C | o Longstep state variables: averages of model variables
15     C *==========================================================*
16     C \ev
17     CEOP
18     C
19     C LS_doTimeStep :: .TRUE. if ptracers are updated in this timestep
20     C
21     LOGICAL LS_doTimeStep
22     COMMON /LONGSTEP_STATE/ LS_doTimeStep
23    
24     C LS_uVel :: longstep average of zonal velocity
25     C LS_vVel :: longstep average of meridional velocity
26     C LS_wVel :: longstep average of vertical velocity
27     C LS_theta :: longstep average of potential temperature
28     C LS_salt :: longstep average of salinity
29     C LS_IVDConvCount :: longstep average of IVD convection counter
30     C
31     _RL LS_uVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
32     _RL LS_vVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
33     _RL LS_wVel (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
34     _RL LS_theta(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
35     _RL LS_salt (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
36     _RL LS_IVDConvCount(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
37     INTEGER LS_uVelCount(nSx,nSy)
38     INTEGER LS_vVelCount(nSx,nSy)
39     INTEGER LS_wVelCount(nSx,nSy)
40     INTEGER LS_thetaCount(nSx,nSy)
41     INTEGER LS_saltCount(nSx,nSy)
42     INTEGER LS_IVDConvCountCount(nSx,nSy)
43 jmc 1.2 COMMON /LONGSTEP_DYNVARS_R/
44     & LS_uVel, LS_vVel, LS_wVel,
45     & LS_theta, LS_salt, LS_IVDConvCount
46     COMMON /LONGSTEP_DYNVARS_I/
47     & LS_uVelCount, LS_vVelCount, LS_wVelCount,
48     & LS_thetaCount, LS_saltCount, LS_IVDConvCountCount
49 jahn 1.1
50     #ifdef ALLOW_GMREDI
51     C Bottom row of tensor corresponds to W points
52     C LS_Kwx :: longstep average of K_31 element, X direction at W point
53     C LS_Kwy :: longstep average of K_32 element, Y direction at W point
54     C LS_Kwz :: longstep average of K_33 element, Z direction at W point
55     C
56     _RL LS_Kwx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
57     _RL LS_Kwy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
58     _RL LS_Kwz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
59 jmc 1.2 INTEGER LS_KwxCount(nSx,nSy)
60     INTEGER LS_KwyCount(nSx,nSy)
61     INTEGER LS_KwzCount(nSx,nSy)
62     COMMON /LONGSTEP_GM_R/ LS_Kwx, LS_Kwy, LS_Kwz
63     COMMON /LONGSTEP_GM_I/ LS_KwxCount,LS_KwyCount,LS_KwzCount
64 jahn 1.1 #endif /* ALLOW_GMREDI */
65    
66     #ifdef ALLOW_KPP
67     C LS_KPPdiffKzS :: longstep average of Vert. diff. coeff. for tracers
68     C LS_KPPghat :: longstep average of Nonlocal transport coefficient
69     C
70     _RL LS_KPPdiffKzS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
71     _RL LS_KPPghat (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
72 jmc 1.2 INTEGER LS_KPPdiffKzSCount(nSx,nSy)
73     INTEGER LS_KPPghatCount (nSx,nSy)
74     COMMON /LONGSTEP_KPP_R/ LS_KPPdiffKzS, LS_KPPghat
75     COMMON /LONGSTEP_KPP_I/ LS_KPPdiffKzSCount, LS_KPPghatCount
76 jahn 1.1 #endif
77    
78     #ifdef SHORTWAVE_HEATING
79     C LS_Qsw :: longstep average of net upward shortwave radiation after ice
80     C
81 jahn 1.3 _RL LS_Qsw(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
82 jahn 1.1 INTEGER LS_QswCount(nSx,nSy)
83 jmc 1.2 COMMON /LONGSTEP_EXTRA_R/ LS_Qsw
84     COMMON /LONGSTEP_EXTRA_I/ LS_QswCount
85 jahn 1.1 #endif
86    
87     C ice?
88     C forcing?
89    
90     #endif /* ALLOW_LONGSTEP */
91    

  ViewVC Help
Powered by ViewVC 1.1.22