LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
airchemistrytypes.h
1
9
10#ifndef LDNDC_INPUT_AIRCHEMISTRY_TYPES_H_
11#define LDNDC_INPUT_AIRCHEMISTRY_TYPES_H_
12
13#include "crabmeat-common.h"
14#include "datafilters/filter-average.h"
15
16namespace ldndc{ namespace airchemistry
17{
22struct CBM_API airchemistry_info_t
23{
25 double ch4;
27 double co2;
29 double nh3;
31 double nh4;
33 double nh4dry;
35 double no;
37 double no2;
39 double no3;
41 double no3dry;
43 double o2;
45 double o3;
47 double radon;
48};
49
50extern CBM_API airchemistry_info_t const airchemistry_info_defaults;
51
52struct CBM_API record
53{
54 /* air chemistry item datatype */
55 typedef double item_type;
56 enum record_item_e
57 {
58 RECORD_ITEM_CH4,
59 RECORD_ITEM_CO2,
60 RECORD_ITEM_NH3,
61 RECORD_ITEM_NH4,
62 RECORD_ITEM_NH4_DRY,
63 RECORD_ITEM_NO,
64 RECORD_ITEM_NO2,
65 RECORD_ITEM_NO3,
66 RECORD_ITEM_NO3_DRY,
67 RECORD_ITEM_O2,
68 RECORD_ITEM_O3,
69 RECORD_ITEM_RADON,
70
71 RECORD_SIZE
72 };
73};
74
75extern CBM_API char const * RECORD_ITEM_UNITS[record::RECORD_SIZE];
76
77extern CBM_API char const * RECORD_ITEM_NAMES[record::RECORD_SIZE];
78extern CBM_API char const * RECORD_ITEM_NAMES_LONG[record::RECORD_SIZE];
79
80struct CBM_API streamdata_info_t
81{
82 enum { RECORD_SIZE = record::RECORD_SIZE };
83 enum { BUFFER_SIZE_LOG = _CONFIG_BUFFERSIZE_LOG_AIRCHEM };
84
85 typedef record::record_item_e record_item_e;
86 typedef record::item_type element_type;
87 typedef airchemistry_info_t boundary_data_type;
88};
89
90
91extern CBM_API data_filter_average_t< record::item_type > const airchemistry_datafilter_average;
92
93extern CBM_API data_filter_t< record::item_type > const * AIRCHEMISTRY_DATAFILTER_LIST[record::RECORD_SIZE];
94
95}}
96
97#endif /* !LDNDC_INPUT_AIRCHEMISTRY_TYPES_H_ */
98
99
Spatially explicit groundwater model.
Definition airchemistryput.h:15
air chemistry meta data
Definition airchemistrytypes.h:23
double radon
Definition airchemistrytypes.h:47
double no3dry
Definition airchemistrytypes.h:41
double o3
Definition airchemistrytypes.h:45
double o2
Definition airchemistrytypes.h:43
double no
Definition airchemistrytypes.h:35
double nh3
Definition airchemistrytypes.h:29
double no2
Definition airchemistrytypes.h:37
double co2
Definition airchemistrytypes.h:27
double nh4
Definition airchemistrytypes.h:31
double no3
Definition airchemistrytypes.h:39
double ch4
Definition airchemistrytypes.h:25
double nh4dry
Definition airchemistrytypes.h:33