11#ifndef LDNDC_INPUT_EVENT_THROW_H_
12#define LDNDC_INPUT_EVENT_THROW_H_
14#include "event/events/eventbase.h"
16#ifdef __this_event_name
17# undef __this_event_name
19#define __this_event_name throw
21namespace ldndc{
namespace event{
22struct __event_attrib_class_name(__this_event_name) : event_attribute_t
24 __event_attrib_class_name(__this_event_name)();
25 ~__event_attrib_class_name(__this_event_name)();
33 double reduction_number;
36 bool reduction_number_is_absolute;
38 double reduction_volume;
41 bool reduction_volume_is_absolute;
46class __event_class_name(__this_event_name) :
public Event
49 EVENT_COMMON_DECL(__this_event_name)
52 char const * species_name()
const
53 {
return this->attribs_->name.c_str(); }
55 double reduction_number()
const
56 {
return this->attribs_->reduction_number; }
57 bool reduction_number_is_absolute()
const
58 {
return this->attribs_->reduction_number_is_absolute; }
59 double reduction_volume()
const
60 {
return this->attribs_->reduction_volume; }
61 bool reduction_volume_is_absolute()
const
62 {
return this->attribs_->reduction_volume_is_absolute; }
64 std::string
const & reason()
const
65 {
return this->attribs_->reason; }
Spatially explicit groundwater model.
Definition airchemistryput.h:15