LandscapeDNDC 1.37.0
Loading...
Searching...
No Matches
event-fire.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_FIRE_H_
18#define LDNDC_INPUT_EVENT_FIRE_H_
19
20#include "event/events/eventbase.h"
21
22#ifdef __this_event_name
23# undef __this_event_name
24#endif
25#define __this_event_name fire
26
27namespace ldndc{ namespace event{
29struct CBM_API __event_attrib_class_name(__this_event_name) : event_attribute_t
30{
31 __event_attrib_class_name(__this_event_name)();
32 ~__event_attrib_class_name(__this_event_name)();
33
34 double burned_area;
35};
36class CBM_API __event_class_name(__this_event_name) : public Event
37{
38 /* default constructor, event attribute pointer, ... */
39 EVENT_COMMON_DECL(__this_event_name)
40
41 public:
42 double burned_area() const
43 { return this->attribs_->burned_area; }
44};
45}}
46
47#endif /* !LDNDC_INPUT_EVENT_FIRE_H_ */
48
Spatially explicit groundwater model.
Definition airchemistryput.h:21