/[MITgcm]/MITgcm/diags/inc/AVER.h
ViewVC logotype

Annotation of /MITgcm/diags/inc/AVER.h

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


Revision 1.1 - (hide annotations) (download)
Wed Jul 1 19:49:36 1998 UTC (25 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint11, checkpoint12, checkpoint10, branch-point-rdot
Branch point for: branch-rdot
File MIME type: text/plain
The time-averaging diagnostics has been modified to include
averages of "intermediate" quantities that exist only on a tile.
We currently only time-average K13, K23 and wVel but these
should be usable as a template for other diagnostics.
We have now split off these routines into a separate module
called diags/. Use of these routines is enabled by the
CPP flag ALLOW_DIAGNOSTICS set in model/inc/CPP_OPTIONS.h

1 adcroft 1.1 C
2     C-- 98/06/12 - elk
3     C
4     C /========================================================================\
5     C | AVER.h |
6     C | o Time averages of Dynamical model variables (common block DYNVARS_A) |
7     C |========================================================================|
8     C
9     C TimeAve - time of temporal integration (s) *** for each thread ***
10     C uVeltave - zonal velocity (m/s, i=1 held at western face)
11     C vVeltave - meridional velocity (m/s, j=1 held at southern face)
12     C thetatave - potential temperature (oC, held at pressure/tracer point)
13     C salttave - salinity (ppt, held at pressure/tracer point)
14     C uttave - uVel * theta
15     C vttave - vVel * theta
16     C
17     COMMON /TAVE_0/ TimeAve,InterTimeAve
18     REAL TimeAve(nZ,nSx,nSy)
19     REAL InterTimeAve(nZ,nSx,nSy)
20     C
21     COMMON /DYNVARS_A/
22     & uVeltave,vVeltave,thetatave,salttave,
23     & uttave,vttave,k13tave,k23tave,wVeltave
24     _RL uVeltave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nz,nSx,nSy)
25     _RL vVeltave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nz,nSx,nSy)
26     _RL thetatave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nz,nSx,nSy)
27     _RL salttave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nz,nSx,nSy)
28     _RL uttave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nz,nSx,nSy)
29     _RL vttave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nz,nSx,nSy)
30     _RL k13tave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nz,nSx,nSy)
31     _RL k23tave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nz,nSx,nSy)
32     _RL wVeltave (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nz,nSx,nSy)

  ViewVC Help
Powered by ViewVC 1.1.22