Last change
on this file since 1818 was
1532,
checked in by emillour, 9 years ago
|
Mars GCM:
- Some fixes for buggy outputs in 1D introduced by previous code modifications.
- made statto.h a module.
- ecritphy in dyn3d/control_mod.F90 should be an integer, not a real.
EM
|
File size:
1.1 KB
|
Line | |
---|
1 | MODULE statto_mod |
---|
2 | IMPLICIT NONE |
---|
3 | |
---|
4 | ! statto_mod: |
---|
5 | ! This include file controls the production of statistics. |
---|
6 | ! Some variables could be set in a namelist, but it is easier to |
---|
7 | ! do it here since arrays can then be dimensioned using parameters |
---|
8 | ! and values shouldn't have to change too often. SRL |
---|
9 | |
---|
10 | ! Calculate stats every istats physics timesteps, starting at first |
---|
11 | ! call. If istats=0 then don't do statistics at all. Check value |
---|
12 | ! if number of physics timesteps changes. |
---|
13 | integer istats |
---|
14 | |
---|
15 | ! Calculate itime independent sums and sums of squares, |
---|
16 | ! example, istat=1,istime=1 gives a single time mean |
---|
17 | integer, parameter :: istime=12 |
---|
18 | |
---|
19 | ! Number of 2D and 3D variables on which to do statistics. |
---|
20 | integer n2dvar, n3dvar |
---|
21 | parameter (n2dvar = 8, n3dvar = 5) |
---|
22 | |
---|
23 | ! Units for writing stats header and data |
---|
24 | integer usdata |
---|
25 | |
---|
26 | ! count tab to know the variable record |
---|
27 | integer count(istime) |
---|
28 | |
---|
29 | ! Record of the number of stores made for each time. |
---|
30 | integer nstore(istime) |
---|
31 | |
---|
32 | ! Size of the "controle" array |
---|
33 | integer, parameter :: cntrlsize=15 |
---|
34 | |
---|
35 | END MODULE statto_mod |
---|
Note: See
TracBrowser
for help on using the repository browser.