LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
event-lime.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
15
16#ifndef LDNDC_INPUT_EVENT_LIME_H_
17#define LDNDC_INPUT_EVENT_LIME_H_
18
19#include "event/events/eventbase.h"
20
21
22#ifdef __this_event_name
23# undef __this_event_name
24#endif
25#define __this_event_name lime
26
27namespace ldndc{
28namespace event{
29
39struct CBM_API __event_attrib_class_name(__this_event_name) : event_attribute_t
40{
41 __event_attrib_class_name(__this_event_name)();
42 ~__event_attrib_class_name(__this_event_name)();
43
45 cbm::string_t type;
46
48 double amount;
49
51 double depth;
52
54 double ph_target;
55};
56
57class CBM_API __event_class_name(__this_event_name) : public Event
58{
59 EVENT_COMMON_DECL(__this_event_name)
60
61 public:
62 cbm::string_t const & type() const
63 { return attribs_->type; }
64 double amount() const
65 { return attribs_->amount; }
66 double depth() const
67 { return attribs_->depth; }
68 double ph_target() const
69 { return attribs_->ph_target; }
70};
71}}
72
73#endif /* !LDNDC_INPUT_EVENT_LIME_H_ */
74
Spatially explicit groundwater model.
Definition airchemistryput.h:21