OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
FuelCell::InitialAndBoundaryData Namespace Reference

Classes

class  InitialOrBoundaryDataBase
 This class is a means to make variable initial or boundary data. More...
 

Functions

template<typename COMPONENT_xxxID_VALUE_MAP >
const bool check (const std::vector< COMPONENT_xxxID_VALUE_MAP > &maps)
 This function does some checkings on its argument maps.
 
template<typename VECTOR , typename DH >
void make_piece_wise_constant_initial_data (VECTOR &dst, const Mapping< DH::dimension, DH::space_dimension > &mapping, const DH &dof, const FuelCell::SystemManagement &system_management, const std::vector< component_materialID_value_map > &maps)
 This function makes piece wise constant initial data.
 
template<typename VECTOR , typename DH >
void apply_piece_wise_constant_DirichletBCs (VECTOR &dst, const Mapping< DH::dimension, DH::space_dimension > &mapping, const DH &dof, const FuelCell::SystemManagement &system_management, const std::vector< component_boundaryID_value_map > &maps)
 This function applies piece wise constant Dirichlet BCs.
 
template<typename DH >
void make_zero_boundary_values (std::map< unsigned int, double > &dst, const Mapping< DH::dimension, DH::space_dimension > &mapping, const DH &dof, const FuelCell::SystemManagement &system_management, const std::vector< component_boundaryID_value_map > &maps)
 This function makes zero boundary values.
 
template<typename MATRIX , typename VECTOR , typename DH >
void apply_zero_boundary_values_to_linear_system (MATRIX &matrix, VECTOR &solution, VECTOR &rhs, const Mapping< DH::dimension, DH::space_dimension > &mapping, const DH &dof, const FuelCell::SystemManagement &system_management, const std::vector< component_boundaryID_value_map > &maps, const bool &repair_diagonal=false)
 This function applies zero boundary values to the linear system of equations.
 

Function Documentation

template<typename VECTOR , typename DH >
void FuelCell::InitialAndBoundaryData::apply_piece_wise_constant_DirichletBCs ( VECTOR &  dst,
const Mapping< DH::dimension, DH::space_dimension > &  mapping,
const DH &  dof,
const FuelCell::SystemManagement system_management,
const std::vector< component_boundaryID_value_map > &  maps 
)

This function applies piece wise constant Dirichlet BCs.

References _IS_NOT_CONSTANT_, FuelCell::SystemManagement::get_number_of_solution_names(), and FuelCell::SystemManagement::solution_name_to_index().

Here is the call graph for this function:

template<typename MATRIX , typename VECTOR , typename DH >
void FuelCell::InitialAndBoundaryData::apply_zero_boundary_values_to_linear_system ( MATRIX &  matrix,
VECTOR &  solution,
VECTOR &  rhs,
const Mapping< DH::dimension, DH::space_dimension > &  mapping,
const DH &  dof,
const FuelCell::SystemManagement system_management,
const std::vector< component_boundaryID_value_map > &  maps,
const bool &  repair_diagonal = false 
)

This function applies zero boundary values to the linear system of equations.

References SolverUtils::repair_diagonal().

Here is the call graph for this function:

template<typename COMPONENT_xxxID_VALUE_MAP >
const bool FuelCell::InitialAndBoundaryData::check ( const std::vector< COMPONENT_xxxID_VALUE_MAP > &  maps)

This function does some checkings on its argument maps.

template<typename VECTOR , typename DH >
void FuelCell::InitialAndBoundaryData::make_piece_wise_constant_initial_data ( VECTOR &  dst,
const Mapping< DH::dimension, DH::space_dimension > &  mapping,
const DH &  dof,
const FuelCell::SystemManagement system_management,
const std::vector< component_materialID_value_map > &  maps 
)

This function makes piece wise constant initial data.

References _IS_NOT_CONSTANT_, FuelCell::SystemManagement::get_number_of_solution_names(), and FuelCell::SystemManagement::solution_name_to_index().

Here is the call graph for this function:

template<typename DH >
void FuelCell::InitialAndBoundaryData::make_zero_boundary_values ( std::map< unsigned int, double > &  dst,
const Mapping< DH::dimension, DH::space_dimension > &  mapping,
const DH &  dof,
const FuelCell::SystemManagement system_management,
const std::vector< component_boundaryID_value_map > &  maps 
)

This function makes zero boundary values.

References FuelCell::SystemManagement::get_number_of_solution_names(), and FuelCell::SystemManagement::solution_name_to_index().

Here is the call graph for this function: