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" );
Base class for linear reactions and decay chain.
Class implements the linear reactions.
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.
static const Input::Type::Record & get_input_type()
Input record for class FirstOrderReaction.
~FirstOrderReaction(void)
Destructor.
void initialize_from_input() override
Initializes private members of sorption from the input record.
static const int registrar
Registrar of class to factory.
std::vector< double > reaction_rates_
Vector of reaction rates of the transported substances.
DECLARE_EXCEPTION(ExcTooManyReactants,<< "More than one reactant is not available at the moment.\n")
FirstOrderReaction(Mesh &init_mesh, Input::Record in_rec)
Constructor.
void assemble_ode_matrix(void) override
Implements the assembly of the system matrix of the ODEs.
static const Input::Type::Record & get_input_type_reactant()
Input record for a reactant of a reaction.
ReactionTerm FactoryBaseType
Class ReactionTerm is an abstract class representing reaction term in transport.