LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
event-irrigate.h
1
10
11#ifndef LDNDC_INPUT_EVENT_IRRIGATE_H_
12#define LDNDC_INPUT_EVENT_IRRIGATE_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 irrigate
21
22namespace ldndc{
23namespace event{
24
37struct CBM_API __event_attrib_class_name(__this_event_name) : event_attribute_t
38{
39 __event_attrib_class_name(__this_event_name)();
40 ~__event_attrib_class_name(__this_event_name)();
41
43 double amount;
44
46 double no3;
47
49 double nh4;
50
52 double don;
53
55 double doc;
56
57 cbm::string_t type;
58
60 bool reservoir;
61
63// sk:not implemented double ph;
64};
65class CBM_API __event_class_name(__this_event_name) : public Event
66{
67 EVENT_COMMON_DECL(__this_event_name)
68
69 public:
70 double amount() const
71 { return this->attribs_->amount; }
72 double no3() const
73 { return this->attribs_->no3; }
74 double nh4() const
75 { return this->attribs_->nh4; }
76 double don() const
77 { return this->attribs_->don; }
78 double doc() const
79 { return this->attribs_->doc; }
80 cbm::string_t const & type() const
81 { return this->attribs_->type; }
82 bool reservoir() const
83 { return this->attribs_->reservoir; }
84// sk:not implemented double ph() const { return this->attribs_->ph; }
85};
86}}
87
88#endif /* !LDNDC_INPUT_EVENT_IRRIGATE_H_ */
89
Spatially explicit groundwater model.
Definition airchemistryput.h:15