24 |
C - DIAG_STATIS contains the user selection of statistics-diags to write |
C - DIAG_STATIS contains the user selection of statistics-diags to write |
25 |
C ====================================================================== |
C ====================================================================== |
26 |
|
|
27 |
|
C-- DIAG_STATUS common block: |
28 |
|
C diag_pkgStatus :: internal parameter to track status of this pkg settings |
29 |
|
C = -1 :: pkg is not used ; = 1 :: user params are loaded |
30 |
|
C = 2 :: early initialisation is done (enable to add diags to list) |
31 |
|
C = 3 :: diagnostics setting is done (no more diags to add to list) |
32 |
|
C = 10 :: storage is initialised (init_varia) |
33 |
|
C = 20 :: ready for active section (filling diagnostics & output) |
34 |
|
C = 99 :: active section is over (end of the run) |
35 |
|
C ready2setDiags :: pkgStatus level required to add any diagnostics to list |
36 |
|
C ready2fillDiags :: pkgStatus level required to fill any diagnostics |
37 |
|
C blkName :: blank diagnostics name |
38 |
|
|
39 |
|
INTEGER ready2setDiags, ready2fillDiags |
40 |
|
PARAMETER ( ready2setDiags = 2 , ready2fillDiags = 20 ) |
41 |
|
CHARACTER*8 blkName |
42 |
|
PARAMETER ( blkName = ' ' ) |
43 |
|
|
44 |
|
INTEGER diag_pkgStatus |
45 |
|
COMMON / DIAG_STATUS_I / |
46 |
|
& diag_pkgStatus |
47 |
|
|
48 |
C-- DIAG_DEFINE common block: |
C-- DIAG_DEFINE common block: |
49 |
C ndiagt :: total number of available diagnostics |
C ndiagt :: total number of available diagnostics |
50 |
C kdiag :: number of levels associated with the diagnostic |
C kdiag :: number of levels associated with the diagnostic |
53 |
C gdiag :: parser field with characteristics of the diagnostics |
C gdiag :: parser field with characteristics of the diagnostics |
54 |
C tdiag :: description of field in diagnostic |
C tdiag :: description of field in diagnostic |
55 |
C udiag :: physical units of the diagnostic field |
C udiag :: physical units of the diagnostic field |
|
C settingDiags :: internal flag: enable adding/changing available diagnostics list |
|
56 |
|
|
57 |
INTEGER ndiagt |
INTEGER ndiagt |
58 |
INTEGER kdiag(ndiagMax) |
INTEGER kdiag(ndiagMax) |
61 |
CHARACTER*80 tdiag(ndiagMax) |
CHARACTER*80 tdiag(ndiagMax) |
62 |
CHARACTER*16 gdiag(ndiagMax) |
CHARACTER*16 gdiag(ndiagMax) |
63 |
CHARACTER*16 udiag(ndiagMax) |
CHARACTER*16 udiag(ndiagMax) |
|
LOGICAL settingDiags |
|
64 |
|
|
65 |
COMMON / DIAG_DEFINE_I / |
COMMON / DIAG_DEFINE_I / |
66 |
& ndiagt, kdiag, hdiag |
& ndiagt, kdiag, hdiag |
67 |
COMMON / DIAG_DEFINE_C / |
COMMON / DIAG_DEFINE_C / |
68 |
& cdiag, gdiag, tdiag, udiag |
& cdiag, gdiag, tdiag, udiag |
|
COMMON / DIAG_DEFINE_L / |
|
|
& settingDiags |
|
69 |
|
|
70 |
C-- DIAG_STORE common block: |
C-- DIAG_STORE common block: |
71 |
C qdiag :: storage array for 2D/3D diagnostic fields |
C qdiag :: storage array for 2D/3D diagnostic fields |