LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
event-reparameterizespecies.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
16
17#ifndef LDNDC_INPUT_EVENT_REPARAMETERIZESPECIES_H_
18#define LDNDC_INPUT_EVENT_REPARAMETERIZESPECIES_H_
19
20#include "event/events/eventbase.h"
21
22
23#ifdef __this_event_name
24# undef __this_event_name
25#endif
26#define __this_event_name reparameterizespecies
27
28
29#include "species/speciestypes.h"
30namespace ldndc{ namespace event{
31struct CBM_API __event_attrib_class_name(__this_event_name) : event_attribute_t
32{
33 __event_attrib_class_name(__this_event_name)();
34 ~__event_attrib_class_name(__this_event_name)();
35
37 std::string type;
39 std::string name;
40};
41class CBM_API __event_class_name(__this_event_name) : public Event
42{
43 EVENT_COMMON_DECL(__this_event_name)
44
45 public:
46 char const * species_type() const
47 { return this->attribs_->type.c_str(); }
48 char const * species_name() const
49 { return this->attribs_->name.c_str(); }
50};
51}}
52
53#endif /* !LDNDC_INPUT_EVENT_REPARAMETERIZESPECIES_H_ */
54
Spatially explicit groundwater model.
Definition airchemistryput.h:21