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

Classes

class  DoFInfo
 Very basic info class only containing information on geometry and degrees of freedom of a mesh entity. More...
 
class  IntegrationInfo
 This class is created for the objects handed to the local integration functions. More...
 
class  IntegrationInfoBox
 A simple container collecting five info objects required by the integration loops. More...
 

Functions

template<int dim, typename TYPE >
void fill_data (const FEValuesBase< dim > &fe_values, const FEVector &fe_vector, const std::vector< unsigned int > &local_dof_indices, unsigned int first_index, unsigned int n_indices, std::vector< std::vector< TYPE > > &result)
 Helper functions computing the desired data in each quadrature point of a mesh entity by calling FEValuesBase::get_function_values(), FEValuesBase::get_function_grads(), and FEValuesBase::get_function_hessians().
 
template<int dim>
void fill_data (const FEValuesBase< dim > &fe_values, const FEVector &fe_vector, const std::vector< unsigned int > &local_dof_indices, unsigned int first_index, unsigned int n_indices, std::vector< std::vector< double > > &result)
 
template<int dim>
void fill_data (const FEValuesBase< dim > &fe_values, const FEVector &fe_vector, const std::vector< unsigned int > &local_dof_indices, unsigned int first_index, unsigned int n_indices, std::vector< std::vector< Tensor< 1, dim > > > &result)
 
template<int dim>
void fill_data (const FEValuesBase< dim > &fe_values, const FEVector &fe_vector, const std::vector< unsigned int > &local_dof_indices, unsigned int first_index, unsigned int n_indices, std::vector< std::vector< Tensor< 2, dim > > > &result)
 

Function Documentation

template<int dim, typename TYPE >
void MeshWorker::InfoObjects::fill_data ( const FEValuesBase< dim > &  fe_values,
const FEVector fe_vector,
const std::vector< unsigned int > &  local_dof_indices,
unsigned int  first_index,
unsigned int  n_indices,
std::vector< std::vector< TYPE > > &  result 
)
inline

Helper functions computing the desired data in each quadrature point of a mesh entity by calling FEValuesBase::get_function_values(), FEValuesBase::get_function_grads(), and FEValuesBase::get_function_hessians().

Parameters
fe_values,:The FEValues object.
fe_vector,:The global finite element function in the form of a global node FEVector.
local_dof_indices,:The local DoF indices associated with the current mesh entity.
first_index,:The first index in local_dof_indices to be used.
n_indices,:The number of indices in local_dof_indices to be used.
result,:The result. The access to ith component in qth quadrature point is result[i][q].

Referenced by MeshWorker::InfoObjects::IntegrationInfo< dim, FEVALUESBASE >::fill_local_data().

Here is the caller graph for this function:

template<int dim>
void MeshWorker::InfoObjects::fill_data ( const FEValuesBase< dim > &  fe_values,
const FEVector fe_vector,
const std::vector< unsigned int > &  local_dof_indices,
unsigned int  first_index,
unsigned int  n_indices,
std::vector< std::vector< double > > &  result 
)
inline
template<int dim>
void MeshWorker::InfoObjects::fill_data ( const FEValuesBase< dim > &  fe_values,
const FEVector fe_vector,
const std::vector< unsigned int > &  local_dof_indices,
unsigned int  first_index,
unsigned int  n_indices,
std::vector< std::vector< Tensor< 1, dim > > > &  result 
)
inline
template<int dim>
void MeshWorker::InfoObjects::fill_data ( const FEValuesBase< dim > &  fe_values,
const FEVector fe_vector,
const std::vector< unsigned int > &  local_dof_indices,
unsigned int  first_index,
unsigned int  n_indices,
std::vector< std::vector< Tensor< 2, dim > > > &  result 
)
inline