LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
event-manure.h
1
10
11#ifndef LDNDC_INPUT_EVENT_MANURE_H_
12#define LDNDC_INPUT_EVENT_MANURE_H_
13
14#include "event/events/eventbase.h"
15
16
17#ifdef __this_event_name
18# undef __this_event_name
19#endif
20#define __this_event_name manure
21
22namespace ldndc{
23namespace event{
24
44struct CBM_API __event_attrib_class_name(__this_event_name) : event_attribute_t
45{
46 __event_attrib_class_name(__this_event_name)();
47 ~__event_attrib_class_name(__this_event_name)();
48
50 cbm::string_t type;
51
53 double depth;
54
56 double c;
57
59 double cn;
60
62 double avail_c;
63
65 double avail_n;
66
68 double ph;
69
71 double volume;
72
74 double nh4_fraction;
75
77 double no3_fraction;
78
80 double urea_fraction;
81
83 double don_fraction;
84
86 double cellulose_fraction;
87
89 double lignin_fraction;
90};
91
92class CBM_API __event_class_name(__this_event_name) : public Event
93{
94 EVENT_COMMON_DECL(__this_event_name)
95
96 public:
97 cbm::string_t const & type() const
98 { return this->attribs_->type; }
99
100 double depth() const
101 { return this->attribs_->depth; }
102 double c() const
103 { return this->attribs_->c; }
104 double cn() const
105 { return this->attribs_->cn; }
106 double avail_c() const
107 { return this->attribs_->avail_c; }
108 double avail_n() const
109 { return this->attribs_->avail_n; }
110 double ph() const
111 { return this->attribs_->ph; }
112 double volume() const
113 { return this->attribs_->volume; }
114 double nh4_fraction() const
115 { return this->attribs_->nh4_fraction; }
116 double no3_fraction() const
117 { return this->attribs_->no3_fraction; }
118 double urea_fraction() const
119 { return this->attribs_->urea_fraction; }
120 double don_fraction() const
121 { return this->attribs_->don_fraction; }
122 double cellulose_fraction() const
123 { return this->attribs_->cellulose_fraction; }
124 double lignin_fraction() const
125 { return this->attribs_->lignin_fraction; }
126};
127}}
128
129#endif /* !LDNDC_INPUT_EVENT_MANURE_H_ */
130
Spatially explicit groundwater model.
Definition airchemistryput.h:15