Flow123d
release_3.0.0-973-g92f55e826
|
Go to the documentation of this file.
21 #ifndef REACTION_TERM_H
22 #define REACTION_TERM_H
151 #endif // REACTION_TERM_H
std::shared_ptr< OutputTime > output_stream_
Pointer to a transport output stream.
virtual void output_data(void) override
Output method.
static Input::Type::Abstract & it_abstract_immobile_term()
ReactionTerm(Mesh &init_mesh, Input::Record in_rec)
Constructor.
int LongIdx
Define type that represents indices of large arrays (elements, nodes, dofs etc.)
virtual bool evaluate_time_constraint(double &time_constraint)=0
Computes a constraint for time step.
TYPEDEF_ERR_INFO(EI_Substance, std::string)
Classes for storing substance data.
Declaration of class which handles the ordering of degrees of freedom (dof) and mappings between loca...
std::shared_ptr< DOFHandlerMultiDim > dof_handler_
Pointer to DOF handler used through the reaction tree.
void initialize(const Input::Array &in_array)
Read from input array.
double ** concentration_matrix_
void choose_next_time(void) override
Disable changes in TimeGovernor by empty method.
static Input::Type::Abstract & it_abstract_reaction()
LongIdx * el_4_loc_
Indices of elements belonging to local dofs.
Distribution * distribution_
Pointer to reference to distribution of elements between processors.
The class for outputting data during time.
ReactionTerm & output_stream(std::shared_ptr< OutputTime > ostream)
Sets the output stream which is given from transport class.
ReactionTerm & substances(SubstanceList &substances)
Sets the names of substances considered in transport.
SubstanceList substances_
Names belonging to substances.
Abstract base class for equation clasess.
~ReactionTerm(void)
Destructor.
static Input::Type::Abstract & it_abstract_term()
DECLARE_INPUT_EXCEPTION(ExcUnknownSubstance,<< "Unknown substance name: "<< EI_Substance::qval)
LongIdx * row_4_el_
Indices of rows belonging to elements.
ReactionTerm & set_dh(std::shared_ptr< DOFHandlerMultiDim > dof_handler)
Sets the pointer to DOF handler (shared through the reaction tree)
static Input::Type::Abstract & it_abstract_mobile_term()
ReactionTerm & concentration_matrix(double **concentration, Distribution *conc_distr, LongIdx *el_4_loc, LongIdx *row_4_el)
virtual double ** compute_reaction(double **concentrations, int loc_el)=0