DOpE
Public Member Functions
DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim > Class Template Reference

#include <facedatacontainer.h>

Inheritance diagram for DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >:
DOpE::fdcinternal::FaceDataContainerInternal< VECTOR, dim >

Public Member Functions

template<template< int, int > class FE, typename SPARSITYPATTERN , int dopedim, int dealdim>
 FaceDataContainer (const hp::QCollection< dim-1 > &q_collection, UpdateFlags update_flags, SpaceTimeHandler< FE, dealii::hp::DoFHandler, SPARSITYPATTERN, VECTOR, dopedim, dealdim > &sth, const std::vector< typename DOpEWrapper::DoFHandler< dim, dealii::hp::DoFHandler >::active_cell_iterator > &element, const std::map< std::string, const Vector< double > * > &param_values, const std::map< std::string, const VECTOR * > &domain_values, bool need_neighbour)
 
template<template< int, int > class FE, typename SPARSITYPATTERN , int dealdim>
 FaceDataContainer (const hp::QCollection< dim-1 > &q_collection, UpdateFlags update_flags, StateSpaceTimeHandler< FE, dealii::hp::DoFHandler, SPARSITYPATTERN, VECTOR, dealdim > &sth, const std::vector< typename DOpEWrapper::DoFHandler< dim, dealii::hp::DoFHandler >::active_cell_iterator > &element, const std::map< std::string, const Vector< double > * > &param_values, const std::map< std::string, const VECTOR * > &domain_values, bool need_neighbour)
 
 ~FaceDataContainer ()
 
void ReInit (unsigned int face_no)
 
void ReInit (unsigned int face_no, unsigned int subface_no)
 
void ReInitNbr ()
 
unsigned int GetNDoFsPerElement () const
 
unsigned int GetNbrNDoFsPerElement () const
 
unsigned int GetNQPoints () const
 
unsigned int GetNbrNQPoints () const
 
unsigned int GetMaterialId () const
 
unsigned int GetNbrMaterialId () const
 
unsigned int GetNbrMaterialId (unsigned int face) const
 
bool GetIsAtBoundary () const
 
unsigned int GetBoundaryIndicator () const
 
double GetElementDiameter () const
 
const FEFaceValuesBase< dim > & GetFEFaceValuesState () const
 
const FEFaceValuesBase< dim > & GetFEFaceValuesControl () const
 
const FEFaceValuesBase< dim > & GetNbrFEFaceValuesState () const
 
const FEFaceValuesBase< dim > & GetNbrFEFaceValuesControl () const
 
- Public Member Functions inherited from DOpE::fdcinternal::FaceDataContainerInternal< VECTOR, dim >
 FaceDataContainerInternal (const std::map< std::string, const dealii::Vector< double > * > &param_values, const std::map< std::string, const VECTOR * > &domain_values, bool need_neighbour)
 
virtual ~FaceDataContainerInternal ()
 
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 GetFaceValuesState (std::string name, std::vector< double > &values) const
 
void GetFaceValuesState (std::string name, std::vector< dealii::Vector< double > > &values) const
 
void GetFaceValuesControl (std::string name, std::vector< double > &values) const
 
void GetFaceValuesControl (std::string name, std::vector< dealii::Vector< double > > &values) const
 
template<int targetdim>
void GetFaceGradsState (std::string name, std::vector< dealii::Tensor< 1, targetdim > > &values) const
 
template<int targetdim>
void GetFaceGradsState (std::string name, std::vector< std::vector< dealii::Tensor< 1, targetdim > > > &values) const
 
template<int targetdim>
void GetFaceGradsControl (std::string name, std::vector< dealii::Tensor< 1, targetdim > > &values) const
 
template<int targetdim>
void GetFaceGradsControl (std::string name, std::vector< std::vector< dealii::Tensor< 1, targetdim > > > &values) const
 
void GetNbrFaceValuesState (std::string name, std::vector< double > &values) const
 
void GetNbrFaceValuesState (std::string name, std::vector< Vector< double > > &values) const
 
void GetNbrFaceValuesControl (std::string name, std::vector< double > &values) const
 
void GetNbrFaceValuesControl (std::string name, std::vector< Vector< double > > &values) const
 
template<int targetdim>
void GetNbrFaceGradsState (std::string name, std::vector< dealii::Tensor< 1, targetdim > > &values) const
 
template<int targetdim>
void GetNbrFaceGradsState (std::string name, std::vector< std::vector< dealii::Tensor< 1, targetdim > > > &values) const
 
template<int targetdim>
void GetNbrFaceGradsControl (std::string name, std::vector< dealii::Tensor< 1, targetdim > > &values) const
 
template<int targetdim>
void GetNbrFaceGradsControl (std::string name, std::vector< std::vector< dealii::Tensor< 1, targetdim > > > &values) const
 
template<int targetdim>
void GetNbrFaceGradsState (std::string name, std::vector< Tensor< 1, targetdim > > &values) const
 
template<int targetdim>
void GetNbrFaceGradsState (std::string name, std::vector< std::vector< Tensor< 1, targetdim > > > &values) const
 
template<int targetdim>
void GetNbrFaceGradsControl (std::string name, std::vector< Tensor< 1, targetdim > > &values) const
 
template<int targetdim>
void GetNbrFaceGradsControl (std::string name, std::vector< std::vector< Tensor< 1, targetdim > > > &values) const
 

Additional Inherited Members

- Protected Member Functions inherited from DOpE::fdcinternal::FaceDataContainerInternal< VECTOR, dim >
void SetFace (unsigned int face)
 
unsigned int GetFace () const
 
void SetSubFace (unsigned int subface)
 
unsigned int GetSubFace () const
 
bool NeedNeighbour () const
 

Detailed Description

template<typename VECTOR, int dim>
class DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >

This two classes hold all the information we need in the integrator to integrate something over a face of a element (could be a functional, a PDE, etc.). Of particular importance: This class holds the (Sub)FaceFEValues objects.

VECTOR Type of the vector we use in our computations (i.e. Vector<double> or BlockVector<double>) dim 1+ the dimension of the integral we are actually interested in.//TODO 1+?? Constructor. Initializes the FaceFEValues objects.

FE The type of Finite Element in use here. SPARSITYPATTERN The corresponding Sparsitypattern to the class-template VECTOR. dopedim The dimension of the control variable. dealdim The dimension of the state variable.

Parameters
quadReference to the quadrature-rule which we use at the moment.
update_flagsThe update flags we need to initialize the FEValues obejcts
sthA reference to the SpaceTimeHandler in use.
elementA vector of element iterators through which we gain most of the needed information (like material_ids, n_dfos, etc.)
param_valuesA 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_valuesA 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"
need_neighbourDescribes whether we need all the GetNbr (= Get Neighbor) functions. Constructor. Initializes the FaceFEValues objects. For PDE only

SPARSITYPATTERN The corresponding Sparsitypattern to the class-template VECTOR.

Parameters
quadReference to the quadrature-rule which we use at the moment.
update_flagsThe update flags we need to initialize the FEValues obejcts
sthA reference to the SpaceTimeHandler in use.
elementA vector of element iterators through which we gain most of the needed information (like material_ids, n_dfos, etc.)
param_valuesA 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_valuesA 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".
need_neighbourDescribes whether we need all the GetNbr (= Get Neighbor) functions. Get functions to extract data. They all assume that ReInit (resp. ReInitNbr for the GetNbr* functions) is executed before calling them. This function contains common code of the constructors.

Constructor & Destructor Documentation

template<typename VECTOR , int dim>
template<template< int, int > class FE, typename SPARSITYPATTERN , int dopedim, int dealdim>
DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::FaceDataContainer ( const hp::QCollection< dim-1 > &  q_collection,
UpdateFlags  update_flags,
SpaceTimeHandler< FE, dealii::hp::DoFHandler, SPARSITYPATTERN, VECTOR, dopedim, dealdim > &  sth,
const std::vector< typename DOpEWrapper::DoFHandler< dim, dealii::hp::DoFHandler >::active_cell_iterator > &  element,
const std::map< std::string, const Vector< double > * > &  param_values,
const std::map< std::string, const VECTOR * > &  domain_values,
bool  need_neighbour 
)
inline

Constructor. Initializes the hp::FaceFEValues objects.

SPARSITYPATTERN The corresponding Sparsitypattern to the class-template VECTOR. dopedim The dimension of the control variable. dealdim The dimension of the state variable.

Parameters
quadReference to the quadrature-rule which we use at the moment.
update_flagsThe update flags we need to initialize the FEValues obejcts
sthA reference to the SpaceTimeHandler in use.
elementA vector of element iterators through which we gain most of the needed information (like material_ids, n_dfos, etc.)
param_valuesA 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_valuesA 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"
need_neighbourDescribes, whether we need all the GetNbr (= Get Neighbor) functions.
template<typename VECTOR , int dim>
template<template< int, int > class FE, typename SPARSITYPATTERN , int dealdim>
DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::FaceDataContainer ( const hp::QCollection< dim-1 > &  q_collection,
UpdateFlags  update_flags,
StateSpaceTimeHandler< FE, dealii::hp::DoFHandler, SPARSITYPATTERN, VECTOR, dealdim > &  sth,
const std::vector< typename DOpEWrapper::DoFHandler< dim, dealii::hp::DoFHandler >::active_cell_iterator > &  element,
const std::map< std::string, const Vector< double > * > &  param_values,
const std::map< std::string, const VECTOR * > &  domain_values,
bool  need_neighbour 
)
inline

Constructor. Initializes the hp::FaceFEValues objects.

SPARSITYPATTERN The corresponding Sparsitypattern to the class-template VECTOR. dopedim The dimension of the control variable. dealdim The dimension of the state variable.

Parameters
quadReference to the quadrature-rule which we use at the moment.
update_flagsThe update flags we need to initialize the FEValues obejcts
sthA reference to the StateSpaceTimeHandler in use.
elementA vector of element iterators through which we gain most of the needed information (like material_ids, n_dfos, etc.)
param_valuesA 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_valuesA 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"
need_neighbourDescribes, whether we need all the GetNbr (= Get Neighbor) functions.
template<typename VECTOR , int dim>
DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::~FaceDataContainer ( )
inline

Destructor

Member Function Documentation

template<typename VECTOR , int dim>
unsigned int DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetBoundaryIndicator ( ) const
inline
template<typename VECTOR , int dim>
double DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetElementDiameter ( ) const
inline
template<typename VECTOR , int dim>
const FEFaceValuesBase< dim > & DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetFEFaceValuesControl ( ) const
inlinevirtual
template<typename VECTOR , int dim>
const FEFaceValuesBase< dim > & DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetFEFaceValuesState ( ) const
inlinevirtual
template<typename VECTOR , int dim>
bool DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetIsAtBoundary ( ) const
inline
template<typename VECTOR , int dim>
unsigned int DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetMaterialId ( ) const
inline
template<typename VECTOR , int dim>
const FEFaceValuesBase< dim > & DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetNbrFEFaceValuesControl ( ) const
inlinevirtual
template<typename VECTOR , int dim>
const FEFaceValuesBase< dim > & DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetNbrFEFaceValuesState ( ) const
inlinevirtual
template<typename VECTOR , int dim>
unsigned int DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetNbrMaterialId ( ) const
inline
template<typename VECTOR , int dim>
unsigned int DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetNbrMaterialId ( unsigned int  face) const
inline
template<typename VECTOR , int dim>
unsigned int DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetNbrNDoFsPerElement ( ) const
inline
template<typename VECTOR , int dim>
unsigned int DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetNbrNQPoints ( ) const
inline
template<typename VECTOR , int dim>
unsigned int DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetNDoFsPerElement ( ) const
inline

Get functions to extract data. They all assume that ReInit is executed before calling them.

template<typename VECTOR , int dim>
unsigned int DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::GetNQPoints ( ) const
inline
template<typename VECTOR , int dim>
void DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::ReInit ( unsigned int  face_no)
inline
template<typename VECTOR , int dim>
void DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::ReInit ( unsigned int  face_no,
unsigned int  subface_no 
)
inline
template<typename VECTOR , int dim>
void DOpE::FaceDataContainer< dealii::hp::DoFHandler, VECTOR, dim >::ReInitNbr ( )
inline

The documentation for this class was generated from the following file: