LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
event-till.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
17
18#ifndef LDNDC_INPUT_EVENT_TILL_H_
19#define LDNDC_INPUT_EVENT_TILL_H_
20
21#include "event/events/eventbase.h"
22
23
24#ifdef __this_event_name
25# undef __this_event_name
26#endif
27#define __this_event_name till
28
29namespace ldndc{
30namespace event{
31
47struct CBM_API __event_attrib_class_name(__this_event_name) : event_attribute_t
48{
49 __event_attrib_class_name(__this_event_name)();
50 ~__event_attrib_class_name(__this_event_name)();
51
53 double depth;
54
56 cbm::string_t type;
57
59 double mixing;
60
62 double incorporation;
63
65 double inversion;
66};
67class CBM_API __event_class_name(__this_event_name) : public Event
68{
69 EVENT_COMMON_DECL(__this_event_name)
70
71 public:
72 double depth() const
73 { return this->attribs_->depth; }
74
75 cbm::string_t const & type() const
76 { return this->attribs_->type; }
77
78 double mixing() const
79 { return this->attribs_->mixing; }
80
81 double incorporation() const
82 { return this->attribs_->incorporation; }
83
84 double inversion() const
85 { return this->attribs_->inversion; }
86};
87}}
88
89#endif /* !LDNDC_INPUT_EVENT_TILL_H_ */
90
Spatially explicit groundwater model.
Definition airchemistryput.h:21