21 #ifndef REACTION_TERM_H 22 #define REACTION_TERM_H 77 {substances_.
initialize(substances);
return *
this;}
81 {output_stream_=ostream;
return *
this;}
84 virtual bool evaluate_time_constraint(
double &time_constraint) = 0;
92 conc_mobile_fe = conc_mobile;
93 dof_handler_ = conc_mobile_fe[0]->get_dofhandler();
108 void choose_next_time(
void)
override;
131 #endif // REACTION_TERM_H virtual void output_data(void) override
Output method.
Abstract base class for equation clasess.
Declaration of class which handles the ordering of degrees of freedom (dof) and mappings between loca...
virtual void initialize()
ReactionTerm & output_stream(std::shared_ptr< OutputTime > ostream)
Sets the output stream which is given from transport class.
SubstanceList substances_
Names belonging to substances.
Cell accessor allow iterate over DOF handler cells.
std::shared_ptr< OutputTime > output_stream_
Pointer to a transport output stream.
std::vector< std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > > FieldFEScalarVec
The class for outputting data during time.
ReactionTerm & concentration_fields(FieldFEScalarVec &conc_mobile)
FieldFEScalarVec conc_mobile_fe
FieldFEs representing P0 interpolation of mobile concentration (passed from transport).
Classes for storing substance data.
std::shared_ptr< DOFHandlerMultiDim > dof_handler_
Pointer to DOF handler used through the reaction tree.
ReactionTerm & substances(SubstanceList &substances)
Sets the names of substances considered in transport.