|
template<template< int, int > class FE, typename SPARSITYPATTERN , int dopedim, int dealdim> |
| ElementDataContainer (const Quadrature< dim > &quad, UpdateFlags update_flags, SpaceTimeHandler< FE, dealii::MGDoFHandler, SPARSITYPATTERN, VECTOR, dopedim, dealdim > &sth, const std::vector< typename dealii::MGDoFHandler< dim >::active_cell_iterator > &element, const std::map< std::string, const Vector< double > * > ¶m_values, const std::map< std::string, const VECTOR * > &domain_values) |
|
template<template< int, int > class FE, typename SPARSITYPATTERN > |
| ElementDataContainer (const Quadrature< dim > &quad, UpdateFlags update_flags, StateSpaceTimeHandler< FE, dealii::MGDoFHandler, SPARSITYPATTERN, VECTOR, dim > &sth, const std::vector< typename dealii::MGDoFHandler< dim >::active_cell_iterator > &element, const std::map< std::string, const Vector< double > * > ¶m_values, const std::map< std::string, const VECTOR * > &domain_values) |
|
| ~ElementDataContainer () |
|
void | ReInit () |
|
unsigned int | GetNDoFsPerElement () const |
|
unsigned int | GetNQPoints () const |
|
unsigned int | GetMaterialId () const |
|
unsigned int | GetNbrMaterialId (unsigned int face) const |
|
unsigned int | GetFaceBoundaryIndicator (unsigned int face) const |
|
bool | GetIsAtBoundary () const |
|
double | GetElementDiameter () const |
|
Point< dim > | GetCenter () const |
|
const DOpEWrapper::FEValues
< dim > & | GetFEValuesState () const |
|
const DOpEWrapper::FEValues
< dim > & | GetFEValuesControl () const |
|
| ElementDataContainerInternal (const std::map< std::string, const dealii::Vector< double > * > ¶m_values, const std::map< std::string, const VECTOR * > &domain_values) |
|
virtual | ~ElementDataContainerInternal () |
|
void | GetParamValues (std::string name, dealii::Vector< double > &value) const |
|
const std::map< std::string,
const VECTOR * > & | GetDomainValues () const |
|
const Triangulation< dim >
::cell_iterator | GetElementState () const |
|
void | GetValuesState (std::string name, std::vector< double > &values) const |
|
void | GetValuesState (std::string name, std::vector< dealii::Vector< double > > &values) const |
|
void | GetValuesControl (std::string name, std::vector< double > &values) const |
|
void | GetValuesControl (std::string name, std::vector< dealii::Vector< double > > &values) const |
|
template<int targetdim> |
void | GetGradsState (std::string name, std::vector< dealii::Tensor< 1, targetdim > > &values) const |
|
template<int targetdim> |
void | GetGradsState (std::string name, std::vector< std::vector< dealii::Tensor< 1, targetdim > > > &values) const |
|
template<int targetdim> |
void | GetGradsControl (std::string name, std::vector< dealii::Tensor< 1, targetdim > > &values) const |
|
template<int targetdim> |
void | GetGradsControl (std::string name, std::vector< std::vector< dealii::Tensor< 1, targetdim > > > &values) const |
|
template<int targetdim> |
void | GetHessiansState (std::string name, std::vector< dealii::Tensor< 2, targetdim > > &values) const |
|
template<int targetdim> |
void | GetHessiansState (std::string name, std::vector< std::vector< dealii::Tensor< 2, targetdim > > > &values) const |
|
template<int targetdim> |
void | GetHessiansControl (std::string name, std::vector< dealii::Tensor< 2, targetdim > > &values) const |
|
template<int targetdim> |
void | GetHessiansControl (std::string name, std::vector< std::vector< dealii::Tensor< 2, targetdim > > > &values) const |
|
void | GetLaplaciansState (std::string name, std::vector< double > &values) const |
|
void | GetLaplaciansState (std::string name, std::vector< dealii::Vector< double > > &values) const |
|
void | GetLaplaciansControl (std::string name, std::vector< double > &values) const |
|
void | GetLaplaciansControl (std::string name, std::vector< dealii::Vector< double > > &values) const |
|
template<typename VECTOR, int dim>
class DOpE::ElementDataContainer< dealii::MGDoFHandler, VECTOR, dim >
This two classes hold all the information we need in the integrator to integrate something over a element (could be a functional, a PDE, etc.). Of particular importance: This class holds the FEValues objects.
VECTOR Type of the vector we use in our computations (i.e. Vector<double> or BlockVector<double>) dim The dimension of the integral we are actually interested in.
template<typename VECTOR , int dim>
template<template< int, int > class FE, typename SPARSITYPATTERN , int dopedim, int dealdim>
DOpE::ElementDataContainer< dealii::MGDoFHandler, VECTOR, dim >::ElementDataContainer |
( |
const Quadrature< dim > & |
quad, |
|
|
UpdateFlags |
update_flags, |
|
|
SpaceTimeHandler< FE, dealii::MGDoFHandler, SPARSITYPATTERN, VECTOR, dopedim, dealdim > & |
sth, |
|
|
const std::vector< typename dealii::MGDoFHandler< dim >::active_cell_iterator > & |
element, |
|
|
const std::map< std::string, const Vector< double > * > & |
param_values, |
|
|
const std::map< std::string, const VECTOR * > & |
domain_values |
|
) |
| |
|
inline |
Constructor. Initializes the FEValues objects.
FE Type of the finite element in use. Must be compatible with dealii::DofHandler. //TODO Should we fix this? SPARSITYPATTERN The corresponding Sparsitypattern to the class-template VECTOR. dopedim The dimension of the control variable. dealdim The dimension of the state variable.
- Parameters
-
quad | Reference to the quadrature-rule which we use at the moment. |
update_flags | The update flags we need to initialize the FEValues obejcts |
sth | A reference to the SpaceTimeHandler in use. |
element | A vector of element iterators through which we gain most of the needed information (like material_ids, n_dfos, etc.) |
param_values | A std::map containing parameter data (e.g. non space dependent data). If the control is done by parameters, it is contained in this map at the position "control". |
domain_values | A std::map containing domain data (e.g. nodal vectors for FE-Functions). If the control is distributed, it is contained in this map at the position "control". The state may always be found in this map at the position "state" |