My Project
 All Classes Files Functions Variables Macros
statto.h
Go to the documentation of this file.
1 
2 ! statto:
3 ! This include file controls the production of statistics.
4 ! Some variables could be set in a namelist, but it is easier to
5 ! do it here since arrays can then be dimensioned using parameters
6 ! and values shouldn't have to change too often. SRL
7 
8 ! Calculate stats every istats physics timesteps, starting at first
9 ! call. If istats=0 then don't do statistics at all. Check value
10 ! if number of physics timesteps changes.
11  integer istats
12 
13 ! Calculate itime independent sums and sums of squares,
14 ! example, istat=1,istime=1 gives a single time mean
15  integer, parameter :: istime=12
16 
17 ! Number of 2D and 3D variables on which to do statistics.
18  integer n2dvar, n3dvar
19  parameter (n2dvar = 8, n3dvar = 5)
20 
21 ! Units for writing stats header and data
22  integer usdata
23 
24 ! count tab to know the variable record
25  integer count(istime)
26 
27 ! Record of the number of stores made for each time.
28  integer nstore(istime)
29 
30 ! Size of the "controle" array
31  integer, parameter :: cntrlsize=15
32 
33 ! common /sttcom/ dummy,nstore,istats,usdata
34  common /sttcom/ nstore,istats,usdata,count