1 |
jahn |
1.1 |
C $Header: /u/gcmpack/MITgcm/pkg/gchem/gchem_diags.F,v 1.9 2005/08/18 19:29:51 stephd Exp $ |
2 |
|
|
C $Name: $ |
3 |
|
|
|
4 |
|
|
#include "GCHEM_OPTIONS.h" |
5 |
|
|
|
6 |
|
|
C !INTERFACE: ========================================================== |
7 |
|
|
SUBROUTINE GCHEM_DIAGS(myTime,myIter, myThid ) |
8 |
|
|
|
9 |
|
|
C !DESCRIPTION: |
10 |
|
|
C calls subroutine that calculate diagnostic specific to |
11 |
|
|
C any tracer epxperiment |
12 |
|
|
C also calls gchem monitor |
13 |
|
|
|
14 |
|
|
C !USES: =============================================================== |
15 |
|
|
IMPLICIT NONE |
16 |
|
|
#include "SIZE.h" |
17 |
|
|
#include "GRID.h" |
18 |
|
|
#include "DYNVARS.h" |
19 |
|
|
#include "EEPARAMS.h" |
20 |
|
|
#include "PARAMS.h" |
21 |
|
|
|
22 |
|
|
C !INPUT PARAMETERS: =================================================== |
23 |
|
|
C myThid :: thread number |
24 |
|
|
INTEGER myThid, myIter |
25 |
|
|
_RL myTime |
26 |
|
|
CEOP |
27 |
|
|
|
28 |
|
|
#ifdef ALLOW_GCHEM |
29 |
|
|
cccccccccccccccccccccc |
30 |
|
|
c diagnostics c |
31 |
|
|
cccccccccccccccccccccc |
32 |
|
|
|
33 |
|
|
#ifdef ALLOW_DIC |
34 |
|
|
#ifdef ALLOW_TIMEAVE |
35 |
|
|
IF (myIter.NE.nIter0) |
36 |
|
|
& call dic_biotic_diags( myTime, myIter, myThid ) |
37 |
|
|
#endif /* ALLOW_TIMEAVE */ |
38 |
|
|
#endif /* ALLOW_DIC */ |
39 |
|
|
|
40 |
|
|
#ifdef ALLOW_DARWIN |
41 |
|
|
#ifdef ALLOW_TIMEAVE |
42 |
|
|
call darwin_diags( myTime, myIter, myThid ) |
43 |
|
|
#endif |
44 |
|
|
#endif |
45 |
|
|
|
46 |
|
|
#ifdef ALLOW_NPZDCAR |
47 |
|
|
#ifdef ALLOW_TIMEAVE |
48 |
|
|
call npzdcar_diags( myTime, myIter, myThid ) |
49 |
|
|
#endif |
50 |
|
|
#endif |
51 |
|
|
|
52 |
|
|
|
53 |
|
|
#endif /* ALLOW_GCHEM */ |
54 |
|
|
|
55 |
|
|
RETURN |
56 |
|
|
END |