LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
event-flood.h
1
10
11#ifndef LDNDC_INPUT_EVENT_FLOOD_H_
12#define LDNDC_INPUT_EVENT_FLOOD_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 flood
21
22namespace ldndc{
23namespace event{
24
38struct CBM_API __event_attrib_class_name(__this_event_name) : event_attribute_t
39{
40 __event_attrib_class_name(__this_event_name)();
41 ~__event_attrib_class_name(__this_event_name)();
42
44 double watertable;
45
47 double bundheight;
48
50 double percolationrate;
51
53 double irrigationheight;
54
56 double irrigationamount;
57
59 double unlimitedwater;
60
62 double saturationlevel;
63
65 double soildepth;
66};
67
68class CBM_API __event_class_name(__this_event_name) : public Event
69{
70 EVENT_COMMON_DECL(__this_event_name)
71
72 public:
73 double water_table_height() const
74 { return this->attribs_->watertable; }
75 double bund_height() const
76 { return this->attribs_->bundheight; }
77 double percolation_rate() const
78 { return this->attribs_->percolationrate; }
79 double irrigation_height() const
80 { return this->attribs_->irrigationheight; }
81 double irrigation_amount() const
82 { return this->attribs_->irrigationamount; }
83 double unlimited_water() const
84 { return this->attribs_->unlimitedwater; }
85 double saturation_level() const
86 { return this->attribs_->saturationlevel; }
87 double soil_depth() const
88 { return this->attribs_->soildepth; }
89};
90}}
91
92#endif /* !LDNDC_INPUT_EVENT_FLOOD_H_ */
Spatially explicit groundwater model.
Definition airchemistryput.h:15