21 #ifndef REACTION_TERM_H 22 #define REACTION_TERM_H 135 #endif // REACTION_TERM_H virtual void output_data(void) override
Output method.
int IdxInt
Define integers that are indices into large arrays (elements, nodes, dofs etc.)
Abstract base class for equation clasess.
double ** concentration_matrix_
virtual void output_vector_gather(void)
ReactionTerm & concentration_matrix(double **concentration, Distribution *conc_distr, IdxInt *el_4_loc, IdxInt *row_4_el)
ReactionTerm & output_stream(std::shared_ptr< OutputTime > ostream)
Sets the output stream which is given from transport class.
SubstanceList substances_
Names belonging to substances.
void initialize(const Input::Array &in_array)
Read from input array.
IdxInt * el_4_loc_
Indices of elements belonging to local dofs.
static Input::Type::Abstract & it_abstract_mobile_term()
static Input::Type::Abstract & it_abstract_reaction()
std::shared_ptr< OutputTime > output_stream_
Pointer to a transport output stream.
ReactionTerm(Mesh &init_mesh, Input::Record in_rec)
Constructor.
Distribution * distribution_
Pointer to reference to distribution of elements between processors.
IdxInt * row_4_el_
Indices of rows belonging to elements.
static Input::Type::Abstract & it_abstract_immobile_term()
The class for outputting data during time.
virtual double ** compute_reaction(double **concentrations, int loc_el)=0
DECLARE_INPUT_EXCEPTION(ExcUnknownSubstance,<< "Unknown substance name: "<< EI_Substance::qval)
static Input::Type::Abstract & it_abstract_term()
void choose_next_time(void) override
Disable changes in TimeGovernor by empty method.
~ReactionTerm(void)
Destructor.
Classes for storing substance data.
TYPEDEF_ERR_INFO(EI_Substance, std::string)
virtual bool evaluate_time_constraint(double &time_constraint)=0
Computes a constraint for time step.
ReactionTerm & substances(SubstanceList &substances)
Sets the names of substances considered in transport.