source: LMDZ5/branches/LMDZ5-DOFOCO/libf/phylmd/statto.h @ 5066

Last change on this file since 5066 was 1492, checked in by Laurent Fairhead, 14 years ago

Merge of development branch LMDZ5V2.0-dev r1455:r1491 into the trunk.
Validation made locally: restart files are strictly equal between the HEAD of the trunk
and r1491 of LMDZ5V2.0-dev


Synchro de la branche de développement LMDZ5V2.0-dev r1455:r1491 et de la trunk
Validation faite en local: les fichiers restart sont équivalents entre la HEAD de la trunk
et la révision r1491 de LMDZ5V2.0-dev

File size: 1.1 KB
Line 
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
Note: See TracBrowser for help on using the repository browser.