#include <reaction_term.hh>
|
| | TYPEDEF_ERR_INFO (EI_Substance, std::string) |
| |
| | TYPEDEF_ERR_INFO (EI_Model, std::string) |
| |
| | DECLARE_INPUT_EXCEPTION (ExcUnknownSubstance,<< "Unknown substance name: "<< EI_Substance::qval) |
| |
| | DECLARE_INPUT_EXCEPTION (ExcWrongDescendantModel,<< "Impossible descendant model: "<< EI_Model::qval) |
| |
| | ReactionTerm (Mesh &init_mesh, Input::Record in_rec) |
| | Constructor. More...
|
| |
| | ~ReactionTerm (void) |
| | Destructor. More...
|
| |
| virtual void | output_data (void) override |
| | Output method. More...
|
| |
| void | choose_next_time (void) override |
| | Disable changes in TimeGovernor by empty method. More...
|
| |
| ReactionTerm & | set_dh (std::shared_ptr< DOFHandlerMultiDim > dof_handler) |
| | Sets the pointer to DOF handler (shared through the reaction tree) More...
|
| |
|
| ReactionTerm & | substances (SubstanceList &substances) |
| | Sets the names of substances considered in transport. More...
|
| |
| ReactionTerm & | output_stream (std::shared_ptr< OutputTime > ostream) |
| | Sets the output stream which is given from transport class. More...
|
| |
| virtual bool | evaluate_time_constraint (double &time_constraint)=0 |
| | Computes a constraint for time step. More...
|
| |
| ReactionTerm & | concentration_matrix (double **concentration, Distribution *conc_distr, LongIdx *el_4_loc, LongIdx *row_4_el) |
| |
| | EquationBase () |
| |
| | EquationBase (Mesh &mesh, const Input::Record in_rec) |
| |
| virtual void | initialize () |
| |
| virtual void | zero_time_step () |
| |
| virtual | ~EquationBase () |
| |
| virtual void | update_solution () |
| |
| virtual void | set_time_upper_constraint (double dt, std::string message) |
| |
| virtual void | set_time_lower_constraint (double dt, std::string message) |
| |
| TimeGovernor & | time () |
| |
| virtual void | set_time_governor (TimeGovernor &time) |
| |
| double | planned_time () |
| |
| double | solved_time () |
| |
| Mesh & | mesh () |
| |
| TimeMark::Type | mark_type () |
| |
| FieldSet & | data () |
| |
| virtual void | get_solution_vector (double *&vector, unsigned int &size) |
| |
| virtual void | get_parallel_solution_vector (Vec &vector) |
| |
Definition at line 44 of file reaction_term.hh.
Constructor.
- Parameters
-
| init_mesh | is the reference to the computational mesh |
| in_rec | is the input record |
Definition at line 51 of file reaction_term.cc.
| ReactionTerm::~ReactionTerm |
( |
void |
| ) |
|
| void ReactionTerm::choose_next_time |
( |
void |
| ) |
|
|
overridevirtual |
| virtual double** ReactionTerm::compute_reaction |
( |
double ** |
concentrations, |
|
|
int |
loc_el |
|
) |
| |
|
protectedpure virtual |
Sets the pointer to concentration matrix for the mobile zone, all substances and on all elements (given by transport).
Definition at line 87 of file reaction_term.hh.
| ReactionTerm::DECLARE_INPUT_EXCEPTION |
( |
ExcUnknownSubstance |
, |
|
|
<< "Unknown substance name: "<< EI_Substance::qval |
|
|
) |
| |
| ReactionTerm::DECLARE_INPUT_EXCEPTION |
( |
ExcWrongDescendantModel |
, |
|
|
<< "Impossible descendant model: "<< EI_Model::qval |
|
|
) |
| |
| virtual bool ReactionTerm::evaluate_time_constraint |
( |
double & |
time_constraint | ) |
|
|
pure virtual |
| Abstract & ReactionTerm::it_abstract_immobile_term |
( |
| ) |
|
|
static |
| Abstract & ReactionTerm::it_abstract_mobile_term |
( |
| ) |
|
|
static |
| Abstract & ReactionTerm::it_abstract_reaction |
( |
| ) |
|
|
static |
| Abstract & ReactionTerm::it_abstract_term |
( |
| ) |
|
|
static |
Static variable for definition of common input record in reaction term.
Definition at line 25 of file reaction_term.cc.
| virtual void ReactionTerm::output_data |
( |
void |
| ) |
|
|
inlineoverridevirtual |
Output method.
Some reaction models have their own data to output (sorption, dual porosity)
- this is where it must be reimplemented. On the other hand, some do not have (linear reaction, pade approximant)
- that is why it is not pure virtual.
Reimplemented from EquationBase.
Reimplemented in SorptionBase, and DualPorosity.
Definition at line 105 of file reaction_term.hh.
Sets the output stream which is given from transport class.
Definition at line 77 of file reaction_term.hh.
Sets the pointer to DOF handler (shared through the reaction tree)
Definition at line 111 of file reaction_term.hh.
Sets the names of substances considered in transport.
Definition at line 73 of file reaction_term.hh.
| ReactionTerm::TYPEDEF_ERR_INFO |
( |
EI_Substance |
, |
|
|
std::string |
|
|
) |
| |
| ReactionTerm::TYPEDEF_ERR_INFO |
( |
EI_Model |
, |
|
|
std::string |
|
|
) |
| |
| double** ReactionTerm::concentration_matrix_ |
|
protected |
Pointer to two-dimensional array[species][elements] containing concentrations.
Definition at line 127 of file reaction_term.hh.
Pointer to reference to distribution of elements between processors.
Definition at line 135 of file reaction_term.hh.
Pointer to DOF handler used through the reaction tree.
Definition at line 147 of file reaction_term.hh.
| std::shared_ptr<OutputTime> ReactionTerm::output_stream_ |
|
protected |
Names belonging to substances.
Must be same as in the transport.
Definition at line 141 of file reaction_term.hh.
The documentation for this class was generated from the following files: