LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
event-fertilize.h
1
10
11#ifndef LDNDC_INPUT_EVENT_FERTILIZE_H_
12#define LDNDC_INPUT_EVENT_FERTILIZE_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 fertilize
21
22namespace ldndc{
23namespace event{
24
36struct CBM_API __event_attrib_class_name(__this_event_name) : event_attribute_t
37{
38 __event_attrib_class_name(__this_event_name)();
39 ~__event_attrib_class_name(__this_event_name)();
40
42 cbm::string_t type;
43
45 cbm::string_t location;
46
48 double amount;
49
51 double ni_amount;
52
54 double ui_amount;
55
57 double depth;
58};
59
60class CBM_API __event_class_name(__this_event_name) : public Event
61{
62 EVENT_COMMON_DECL(__this_event_name)
63
64 public:
65 cbm::string_t const & type() const
66 { return this->attribs_->type; }
67
68 cbm::string_t const & location() const
69 { return this->attribs_->location; }
70
71 double amount() const
72 { return this->attribs_->amount; }
73
74 double ni_amount() const
75 { return this->attribs_->ni_amount; }
76
77 double ui_amount() const
78 { return this->attribs_->ui_amount; }
79
80 double depth() const
81 { return this->attribs_->depth; }
82};
83}}
84
85#endif /* !LDNDC_INPUT_EVENT_FERTILIZE_H_ */
Spatially explicit groundwater model.
Definition airchemistryput.h:15