16 #ifndef _FCST_FUELCELLSHOP_EQUATION_ELECTRON_TRANSPORT_EQUATION_H_
17 #define _FCST_FUELCELLSHOP_EQUATION_ELECTRON_TRANSPORT_EQUATION_H_
31 namespace FuelCellShop
139 boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData >());
158 virtual void set_parameters(
const std::vector<std::string>& name_dvar,
159 const std::vector<double>& value_dvar,
160 ParameterHandler& param);
165 virtual void initialize(ParameterHandler& param);
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 make_assemblers_bdry_variable_data(const typename FuelCell::ApplicationCore::DoFApplication< dim >::FaceInfo &bdry_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
This function computes Local CG FEM based assemblers - variable data (boundary) .
Tensor< 2, dim > sigmaSeff_cell
Effective electronic conductivity, [S/cm], of the cell.
Definition: electron_transport_equation.h:305
ElectronTransportEquation(FuelCell::SystemManagement &system_management, boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData > data=boost::shared_ptr< FuelCell::ApplicationCore::ApplicationData >())
Constructor.
virtual void set_parameters(const std::vector< std::string > &name_dvar, const std::vector< double > &value_dvar, ParameterHandler ¶m)
Set parameters using the parameter file, in order to run parametric/optimization studies.
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.
FuelCell::SystemManagement * system_management
Pointer to the external YourApplication<dim>::system_management object.
Definition: equation_base.h:798
std::vector< std::vector< double > > phi_phiS_bdry
shape functions.
Definition: electron_transport_equation.h:328
virtual void print_equation_info() const
The function printing out the equations info.
virtual void declare_parameters(ParameterHandler ¶m) const
Declare parameters.
virtual void assemble_bdry_matrix(FuelCell::ApplicationCore::MatrixVector &bdry_matrices, const typename FuelCell::ApplicationCore::DoFApplication< dim >::FaceInfo &bdry_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
Assemble local boundary matrix.
virtual void make_assemblers_generic_constant_data()
This function computes Local CG FEM based assemblers - constant data (generic).
virtual void make_assemblers_cell_variable_data(const typename FuelCell::ApplicationCore::DoFApplication< dim >::CellInfo &cell_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
This function computes Local CG FEM based assemblers - variable data (cell) .
This class deals with Electron Transport Equation.
Definition: electron_transport_equation.h:128
void class_test()
This member function creates an object of its own type and runs test to diagnose if there are any pro...
unsigned int last_iter_cell
Variable used to store the index in cell_info->global_data of the previous Newton solution The soluti...
Definition: electron_transport_equation.h:336
virtual void initialize(ParameterHandler ¶m)
Initialize parameters.
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
std::vector< std::vector< Tensor< 1, dim > > > grad_phi_phiS_cell
shape function gradients.
Definition: electron_transport_equation.h:314
virtual void assemble_cell_residual(FuelCell::ApplicationCore::FEVector &cell_rhs, const typename FuelCell::ApplicationCore::DoFApplication< dim >::CellInfo &cell_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
Assemble local cell residual.
unsigned int last_iter_bdry
Variable used to store the index in bdry_info->global_data of the previous Newton solution The soluti...
Definition: electron_transport_equation.h:342
std::map< unsigned int, double > electron_current_flux_map
std::map< unsigned int, double > container for details regarding Galvanostatic boundary conditions...
Definition: electron_transport_equation.h:229
virtual void make_internal_cell_couplings()
This function fills out internal_cell_couplings.
This is the base class used for all Equation classes.
Definition: equation_base.h:160
IMPORTANT: Add all new solution variables and equations here !
Definition: system_management.h:300
virtual void assemble_bdry_residual(FuelCell::ApplicationCore::FEVector &bdry_rhs, const typename FuelCell::ApplicationCore::DoFApplication< dim >::FaceInfo &bdry_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
Assemble local boundary residual.
This simple structure stores certain information regarding a particular variable for the equation (al...
Definition: equation_auxiliaries.h:51
virtual void make_assemblers_cell_constant_data(const typename FuelCell::ApplicationCore::DoFApplication< dim >::CellInfo &cell_info)
This function computes Local CG FEM based assemblers - constant data (cell) and allocates the memor...
BlockVector< double > FEVector
The vector class used by applications.
Definition: application_data.h:46
VariableInfo phi_s
VariableInfo structure corresponding to "electronic_electrical_potential".
Definition: electron_transport_equation.h:294
Virtual class used to characterize a generic layer interface.
Definition: base_layer.h:58
virtual ~ElectronTransportEquation()
Destructor.
virtual void make_assemblers_bdry_constant_data(const typename FuelCell::ApplicationCore::DoFApplication< dim >::FaceInfo &bdry_info)
This function computes Local CG FEM based assemblers - constant data (boundary) and allocates the m...