LandscapeDNDC 1.37.0
mbe_airchemistry.h
1
11#ifndef MOBILE_SUBSTATE_AIRCHEMISTRY_H_
12#define MOBILE_SUBSTATE_AIRCHEMISTRY_H_
13
14#include "state/mbe_substate.h"
15#include "substate/mbe_airchemistry.h.inc"
16
17
18#define AC_SPECIES 63
19
22#define ind_SULF 0
23#define ind_ORA1 1
24#define ind_ORA2 2
25#define ind_CO2 3
26#define ind_ETH 4
27#define ind_O1D 5
28#define ind_SO2 6
29#define ind_HC5 7
30#define ind_HC8 8
31#define ind_TOL 9
32#define ind_XYL 10
33#define ind_TPAN 11
34#define ind_HONO 12
35#define ind_H2O2 13
36#define ind_HC3 14
37#define ind_N2O5 15
38#define ind_CH4 16
39#define ind_PAA 17
40#define ind_HNO4 18
41#define AC_CIDX_O3P 19
42#define ind_OP1 20
43#define ind_CSL 21
44#define AC_CIDX_PAN 22
45#define ind_OL2 23
46#define AC_CIDX_HNO3 24
47#define ind_CO 25
48#define AC_CIDX_ISO 26
49#define ind_OLT 27
50#define ind_OLI 28
51#define ind_GLY 29
52#define ind_DCB 30
53#define ind_XNO2 31
54#define ind_KET 32
55#define ind_MGLY 33
56#define ind_TOLP 34
57#define ind_XYLP 35
58#define ind_OL2P 36
59#define ind_OLTP 37
60#define ind_OLN 38
61#define ind_XO2 39
62#define ind_HC5P 40
63#define ind_OP2 41
64#define ind_HCHO 42
65#define ind_HC8P 43
66#define ind_TCO3 44
67#define AC_CIDX_O3 45
68#define ind_ONIT 46
69#define ind_ALD 47
70#define ind_OLIP 48
71#define ind_KETP 49
72#define ind_HC3P 50
73#define ind_ACO3 51
74#define AC_CIDX_NO3 52
75#define ind_HO2 53
76#define ind_MO2 54
77#define ind_OH 55
78#define AC_CIDX_NO2 56
79#define AC_CIDX_NO 57
80#define ind_ETHP 58
81
82namespace ldndc {
83class LDNDC_API substate_airchemistry_t : public MoBiLE_Substate
84{
85 MOBILE_SUBSTATE_OBJECT(airchemistry,LSUB_FLAG_NONE);
86 public:
87 /* holds air chemistry state items */
88 LDNDC_airchemistry_SUBSTATE_ITEMS
89
90 public:
91#ifdef _HAVE_SERIALIZE
92 /* interface declaration for dump/restore mechanism */
93 int create_checkpoint( substate_checkpoint_write_context_t *);
94 int restore_checkpoint( substate_checkpoint_read_context_t *);
95#endif /* _HAVE_SERIALIZE */
96#ifdef _LDNDC_HAVE_ONLINECONTROL
97 public:
98 int process_request(
99 lreply_t * /*reply*/, lrequest_t const * /*request*/);
100#endif /* _LDNDC_HAVE_ONLINECONTROL */
101};
102}
103
104#endif /* !MOBILE_SUBSTATE_AIRCHEMISTRY_H_ */
105
Spatially explicit groundwater model.
Definition: airchemistryput.h:15
@ LSUB_FLAG_NONE
Definition: mbe_substate.h:77