18#ifndef LDNDC_INPUT_EVENT_THROW_H_
19#define LDNDC_INPUT_EVENT_THROW_H_
21#include "event/events/eventbase.h"
23#ifdef __this_event_name
24# undef __this_event_name
26#define __this_event_name throw
28namespace ldndc{
namespace event{
29struct __event_attrib_class_name(__this_event_name) : event_attribute_t
31 __event_attrib_class_name(__this_event_name)();
32 ~__event_attrib_class_name(__this_event_name)();
40 double reduction_number;
43 bool reduction_number_is_absolute;
45 double reduction_volume;
48 bool reduction_volume_is_absolute;
53class __event_class_name(__this_event_name) :
public Event
56 EVENT_COMMON_DECL(__this_event_name)
59 char const * species_name()
const
60 {
return this->attribs_->name.c_str(); }
62 double reduction_number()
const
63 {
return this->attribs_->reduction_number; }
64 bool reduction_number_is_absolute()
const
65 {
return this->attribs_->reduction_number_is_absolute; }
66 double reduction_volume()
const
67 {
return this->attribs_->reduction_volume; }
68 bool reduction_volume_is_absolute()
const
69 {
return this->attribs_->reduction_volume_is_absolute; }
71 std::string
const & reason()
const
72 {
return this->attribs_->reason; }
Spatially explicit groundwater model.
Definition airchemistryput.h:21