1 |
jmc |
1.2 |
C $Header: /u/gcmpack/MITgcm/pkg/diagnostics/DIAGSTATS_REGIONS.h,v 1.1 2006/01/23 22:24:28 jmc Exp $ |
2 |
jmc |
1.1 |
C $Name: $ |
3 |
|
|
|
4 |
|
|
CBOP |
5 |
|
|
C !ROUTINE: DIAGSTATS_REGIONS.h |
6 |
|
|
C !INTERFACE: |
7 |
|
|
C include "DIAGSTATS_REGIONS.h" |
8 |
|
|
C !DESCRIPTION: |
9 |
|
|
C \bv |
10 |
|
|
C *==========================================================* |
11 |
|
|
C | DIAGSTATS_REGIONS.h |
12 |
|
|
C | o Hold Regions definition variables used for |
13 |
|
|
C | regional statistics diagnostics |
14 |
|
|
C *==========================================================* |
15 |
|
|
C *==========================================================* |
16 |
|
|
C \ev |
17 |
|
|
CEOP |
18 |
|
|
|
19 |
|
|
C DIAG_STATS_REGMASK common block: |
20 |
|
|
C diagSt_regMask :: region mask |
21 |
jmc |
1.2 |
C diagSt_kRegMsk :: region-mask set-index that identifies the region |
22 |
jmc |
1.1 |
C diagSt_vRegMsk :: region identificator value in the region mask |
23 |
|
|
C (point i,j belong to region "n" <=> regMask(i,j,kRegMsk(n)) = vRegMsk(n)) |
24 |
|
|
|
25 |
|
|
#ifdef DIAGSTATS_REGION_MASK |
26 |
|
|
_RS diagSt_regMask(1-OLx:sNx+Olx,1-Oly:sNy+Oly, |
27 |
|
|
& sizRegMsk,nSx,nSy) |
28 |
|
|
#else |
29 |
|
|
_RS diagSt_regMask(1-Olx:1-Olx,1-Oly:1-Oly,1,nSx,nSy) |
30 |
|
|
c _RS diagSt_regMask(1-OLx:sNx+Olx,1-Oly:sNy+Oly,1,nSx,nSy) |
31 |
|
|
#endif /* DIAGSTATS_REGION_MASK */ |
32 |
|
|
_RS diagSt_vRegMsk(0:nRegions) |
33 |
|
|
INTEGER diagSt_kRegMsk(0:nRegions) |
34 |
jmc |
1.2 |
INTEGER nSetRegMskFile, nSetRegMask |
35 |
jmc |
1.1 |
CHARACTER*(MAX_LEN_FNAM) diagSt_regMaskFile |
36 |
|
|
COMMON / DIAG_STATS_REGMASK / |
37 |
|
|
& diagSt_regMask, |
38 |
|
|
& diagSt_vRegMsk, |
39 |
jmc |
1.2 |
& diagSt_kRegMsk, nSetRegMask, |
40 |
|
|
& nSetRegMskFile, diagSt_regMaskFile |
41 |
jmc |
1.1 |
|
42 |
|
|
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |