10 #ifndef LINEAR_REACTION_H
11 #define LINEAR_REACTION_H
62 virtual double **
compute_reaction(
double **concentrations,
int loc_el)
override;
113 #endif // LINEAR_REACTION_H
void reset_reaction_matrix()
Resets reaction matrix as eye matrix.
void update_solution(void) override
Updates the solution.
void initialize() override
Prepares the object to usage.
void print_indices(int dec_nr, int n_subst)
~LinearReaction(void)
Destructor.
std::vector< std::vector< double > > reaction_matrix_
unsigned int find_subst_name(const std::string &name)
virtual void modify_reaction_matrix(void)
void initialize_from_input()
Initializes private members of sorption from the input record.
std::vector< double > half_lives_
static Input::Type::Record input_type
unsigned int n_substances_
void print_reaction_matrix(void)
virtual double ** compute_reaction(double **concentrations, int loc_el) override
LinearReaction(Mesh &init_mesh, Input::Record in_rec)
Constructor.
std::vector< std::vector< unsigned int > > substance_ids_
std::vector< std::vector< double > > bifurcation_
static Input::Type::Record input_type_one_decay_substep
void zero_time_step() override
std::vector< double > prev_conc_