LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
event-irrigate.h
1/*
2 * SPDX-FileCopyrightText: Karlsruhe Institute of Technology (KIT)
3 * SPDX-License-Identifier: LicenseRef-Crabmeat
4 * This file is part of Crabmeat. Redistribution or commercial use is
5 * prohibited without express written permission. See LICENCE.
6 */
7
20
21#ifndef LDNDC_INPUT_EVENT_IRRIGATE_H_
22#define LDNDC_INPUT_EVENT_IRRIGATE_H_
23
24#include "event/events/eventbase.h"
25
26
27#ifdef __this_event_name
28# undef __this_event_name
29#endif
30#define __this_event_name irrigate
31
32namespace ldndc{
33namespace event{
34
65struct CBM_API __event_attrib_class_name(__this_event_name) : event_attribute_t
66{
67 __event_attrib_class_name(__this_event_name)();
68 ~__event_attrib_class_name(__this_event_name)();
69
71 double amount;
72
74 double no3;
75
77 double nh4;
78
80 double don;
81
83 double doc;
84
85 cbm::string_t type;
86
88 bool reservoir;
89
91// sk:not implemented double ph;
92
99 event_trigger_t trigger;
100};
101class CBM_API __event_class_name(__this_event_name) : public Event
102{
103 EVENT_COMMON_DECL(__this_event_name)
104
105 public:
106 double amount() const
107 { return this->attribs_->amount; }
108 double no3() const
109 { return this->attribs_->no3; }
110 double nh4() const
111 { return this->attribs_->nh4; }
112 double don() const
113 { return this->attribs_->don; }
114 double doc() const
115 { return this->attribs_->doc; }
116 cbm::string_t const & type() const
117 { return this->attribs_->type; }
118 bool reservoir() const
119 { return this->attribs_->reservoir; }
120// sk:not implemented double ph() const { return this->attribs_->ph; }
121
123 event_trigger_t const & trigger() const
124 { return this->attribs_->trigger; }
125};
126}}
127
128#endif /* !LDNDC_INPUT_EVENT_IRRIGATE_H_ */
129
Spatially explicit groundwater model.
Definition airchemistryput.h:21