17 #ifndef _FCST_FUELCELLSHOP_EQUATION_REACTION_SOURCE_TERMS_BASE_H_
18 #define _FCST_FUELCELLSHOP_EQUATION_REACTION_SOURCE_TERMS_BASE_H_
31 namespace FuelCellShop
46 <<
"For " << arg1 <<
" kinetics source terms, \"" << arg2 <<
"\" is not found as one of the solution variables.");
68 boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData >());
boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData > data
Data object for the application data to be passed to the equation classes.
Definition: equation_base.h:890
virtual void print_equation_info() const
This function prints out the info for this class.
Definition: reaction_source_terms_base.h:113
FuelCell::SystemManagement * system_management
Pointer to the external YourApplication<dim>::system_management object.
Definition: equation_base.h:798
virtual ~ReactionSourceTermsBase()
Destructor.
This class is created for the objects handed to the mesh loops.
Definition: mesh_loop_info_objects.h:544
std::vector< MatrixBlock< FullMatrix< double > > > MatrixVector
The matrix vector used in the mesh loops.
Definition: matrix_block.h:102
DeclException2(VariableShouldExistForEquation, std::string, std::string,<< "The user-defined variable with name \""<< arg1<< "\" should be one of the solution variables for equation with name \""<< arg2<< "\"")
Exception thrown when a particular variable required by the equation class, does not exist in the use...
ReactionSourceTermsBase(FuelCell::SystemManagement &system_management, boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData > data=boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData >())
Constructor.
virtual void initialize(ParameterHandler ¶m)
Initialize parameters.
Definition: reaction_source_terms_base.h:83
This class assembles the reaction source terms for all other transport equations, if there's any...
Definition: reaction_source_terms_base.h:57
This is the base class used for all Equation classes.
Definition: equation_base.h:160
virtual void declare_parameters(ParameterHandler ¶m) const
Declare parameters.
IMPORTANT: Add all new solution variables and equations here !
Definition: system_management.h:300
BlockVector< double > FEVector
The vector class used by applications.
Definition: application_data.h:46
virtual void assemble_cell_matrix(FuelCell::ApplicationCore::MatrixVector &cell_matrices, const typename FuelCell::ApplicationCore::DoFApplication< dim >::CellInfo &cell_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
Assemble local cell matrix.
Definition: reaction_source_terms_base.h:93
Virtual class used to characterize a generic layer interface.
Definition: base_layer.h:58
virtual void assemble_cell_residual(FuelCell::ApplicationCore::FEVector &cell_residual, const typename FuelCell::ApplicationCore::DoFApplication< dim >::CellInfo &cell_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
Assemble local cell residual.
Definition: reaction_source_terms_base.h:100