dune-fem
2.8-git
|
actual interface class for integration point lists More...
#include <dune/fem/quadrature/quadrature.hh>
Classes | |
struct | NoDelete |
Public Types | |
enum | { dimension = dim } |
enum | { codimension = 0 } |
to be revised, look at caching quad More... | |
typedef FieldImp | FieldType |
typedef IntegrationTraits< FieldType, dimension > | Traits |
typedef Traits ::IntegrationPointListType | IntegrationPointListType |
type of integration point list implementation More... | |
typedef IntegrationPointListType ::CoordinateType | CoordinateType |
type of coordinate More... | |
typedef Traits ::QuadratureKeyType | QuadratureKeyType |
type of key to identify quadrature on user side (default the order of the quadrature) More... | |
typedef QuadraturePointWrapper< ThisType > | QuadraturePointWrapperType |
typedef std::shared_ptr< const IntegrationPointListType > | IntegrationPointListStorageType |
Public Member Functions | |
IntegrationPointList (const GeometryType &geometryType, const QuadratureKeyType &quadKey) | |
create a quadrature for a given geometry type and order More... | |
IntegrationPointList (const GeometryType &geometryType, const GeometryType &elementGeometry, const QuadratureKeyType &quadKey) | |
create a quadrature for a given geometry type and order More... | |
IntegrationPointList (const IntegrationPointListType &ipList) | |
create an integration point list from an implementation More... | |
IntegrationPointList (const IntegrationPointListStorageType &ipListPtr) | |
create an integration point list from an implementation More... | |
IntegrationPointList (const IntegrationPointList &org) | |
copy constructor More... | |
const QuadraturePointWrapperType | operator[] (unsigned int i) const |
const IntegrationPointListType & | ipList () const |
obtain a reference the actual implementation More... | |
int | nop () const |
obtain the number of integration points More... | |
const CoordinateType & | point (size_t i) const |
obtain coordinates of i-th integration point More... | |
size_t | id () const |
obtain the identifier of the integration point list More... | |
int | order () const |
obtain order of the integration point list More... | |
GeometryType | geometryType () const |
obtain GeometryType for this integration point list More... | |
auto | interpolationPoints (const int reqDim) const |
returns list of element interpolation points for a given face quadrature More... | |
bool | isFaceInterpolationQuadrature (const size_t numShapeFunctions) const |
return true if quadrature is also a set of interpolation points for the given shape functions More... | |
Protected Attributes | |
IntegrationPointListStorageType | ipListPtr_ |
actual interface class for integration point lists
IntegrationPointList is a proxy for the actual implementations of the integration point lists. During construction, the IntegrationPointList object is configured with an appropriate implementation object from the QuadratureProvider (monostate pattern).
The design goal is minimization of construction time. The actual implementation can be created once and reused whenever it is needed. Moreover, this layout insulates the user from all initialization and storage stuff.
typedef IntegrationPointListType :: CoordinateType Dune::Fem::IntegrationPointList< FieldImp, dim, IntegrationTraits >::CoordinateType |
type of coordinate
typedef FieldImp Dune::Fem::IntegrationPointList< FieldImp, dim, IntegrationTraits >::FieldType |
typedef std::shared_ptr< const IntegrationPointListType > Dune::Fem::IntegrationPointList< FieldImp, dim, IntegrationTraits >::IntegrationPointListStorageType |
typedef Traits :: IntegrationPointListType Dune::Fem::IntegrationPointList< FieldImp, dim, IntegrationTraits >::IntegrationPointListType |
type of integration point list implementation
typedef Traits :: QuadratureKeyType Dune::Fem::IntegrationPointList< FieldImp, dim, IntegrationTraits >::QuadratureKeyType |
type of key to identify quadrature on user side (default the order of the quadrature)
typedef QuadraturePointWrapper< ThisType > Dune::Fem::IntegrationPointList< FieldImp, dim, IntegrationTraits >::QuadraturePointWrapperType |
typedef IntegrationTraits< FieldType, dimension > Dune::Fem::IntegrationPointList< FieldImp, dim, IntegrationTraits >::Traits |
anonymous enum |
anonymous enum |
|
inline |
create a quadrature for a given geometry type and order
This constructor creates a quadrature for the specified geometry which is capable of integrating polynoms up the given order exactly.
[in] | geometryType | geometry type of the requested quadrature |
[in] | order | order of the requested quadrature |
|
inline |
create a quadrature for a given geometry type and order
This constructor creates a quadrature for the specified geometry which is capable of integrating polynoms up the given order exactly.
[in] | geometryType | geometry type of the requested quadrature |
[in] | elementGeometry | geometry type of element that resulting quadrature is used for (in case of face quadratures) |
[in] | order | order of the requested quadrature |
|
inline |
create an integration point list from an implementation
This constructor creates an integration point list from a given implementation.
[in] | ipList | implementation of the integration point list |
|
inline |
create an integration point list from an implementation
This constructor creates an integration point list from a given implementation.
[in] | ipListPtr | implementation of the integration point list |
|
inline |
copy constructor
[in] | org | integration point list to be copied |
|
inline |
obtain GeometryType for this integration point list
Integration point lists are specified in local coordinates, i.e., coordinates with respect to the reference element. Hence, each integration point list is only valid for one type of geometry, i.e., for one reference element. The type can be retrieved via this method.
|
inline |
obtain the identifier of the integration point list
The identifier of an integration point list must be globally unique. Even integration point lists for different dimensions must have different identifiers.
|
inline |
returns list of element interpolation points for a given face quadrature
|
inline |
obtain a reference the actual implementation
|
inline |
return true if quadrature is also a set of interpolation points for the given shape functions
|
inline |
obtain the number of integration points
|
inline |
|
inline |
obtain order of the integration point list
The order of a quadrature is the maximal polynomial degree that is guaranteed to be integrated exactly by the quadrature.
In case of an integration point list, the definition of this value is left to the implementor.
|
inline |
obtain coordinates of i-th integration point
This method returns a reference to the coordinates of the i-th integration point for 0 <= i < nop(). The integration point is given in local coordinates, i.e., coordinates with respect to the reference element.
[in] | i | number of the integration point, 0 <= i < nop() |
|
protected |