Flow123d
master-9c1c1b8e5
|
Go to the documentation of this file.
18 #ifndef FIRST_ORDER_REACTION_H_
19 #define FIRST_ORDER_REACTION_H_
44 DECLARE_EXCEPTION( ExcTooManyReactants, <<
"More than one reactant is not available at the moment.\n" );
72 #endif // FIRST_ORDER_REACTION_H_
DECLARE_EXCEPTION(ExcTooManyReactants,<< "More than one reactant is not available at the moment.\n")
ReactionTerm FactoryBaseType
~FirstOrderReaction(void)
Destructor.
static const Input::Type::Record & get_input_type_product()
Input record for a product of a reaction.
static const Input::Type::Record & get_input_type_single_reaction()
Input record which defines particular reaction.
FirstOrderReaction(Mesh &init_mesh, Input::Record in_rec)
Constructor.
void initialize_from_input() override
Initializes private members of sorption from the input record.
Class implements the linear reactions.
void assemble_ode_matrix(void) override
Implements the assembly of the system matrix of the ODEs.
Base class for linear reactions and decay chain.
std::vector< double > reaction_rates_
Vector of reaction rates of the transported substances.
static const Input::Type::Record & get_input_type_reactant()
Input record for a reactant of a reaction.
static const Input::Type::Record & get_input_type()
Input record for class FirstOrderReaction.
static const int registrar
Registrar of class to factory.
Class ReactionTerm is an abstract class representing reaction term in transport.