21 #ifndef REACTION_TERM_H 22 #define REACTION_TERM_H 76 int *el_4_loc,
int *row_4_el)
134 #endif // REACTION_TERM_H virtual void output_data(void) override
Output method.
Abstract base class for equation clasess.
double ** concentration_matrix_
virtual void output_vector_gather(void)
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.
int * row_4_el_
Indices of rows belonging to elements.
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.
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.
int * el_4_loc_
Indices of elements belonging to local dofs.
~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 & concentration_matrix(double **concentration, Distribution *conc_distr, int *el_4_loc, int *row_4_el)
ReactionTerm & substances(SubstanceList &substances)
Sets the names of substances considered in transport.