dune-fem
2.4.1-rc
|
actual interface class for quadratures More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/quadrature/quadrature.hh>
Public Types | |
enum | { codimension = 0 } |
to be revised, look at caching quad More... | |
typedef FieldImp | FieldType |
typedef Traits::IntegrationPointListType | IntegrationPointListType |
type of the implementation (this must actually be a quadrature implementation) More... | |
typedef IntegrationPointListType::CoordinateType | CoordinateType |
type of local coordinate vectors More... | |
enum | |
enum | |
to be revised, look at caching quad More... | |
typedef QuadraturePointWrapper< ThisType > | QuadraturePointWrapperType |
Public Member Functions | |
Quadrature (const GeometryType &geometryType, int order) | |
create a quadrature for a given geometry and order More... | |
Quadrature (const GeometryType &geometryType, const GeometryType &elementGeometry, int order) | |
create a quadrature for a given geometry and order More... | |
Quadrature (const IntegrationPointListType &ipList) | |
create an integration point list from an implementation More... | |
Quadrature (const Quadrature &org) | |
copy constructor More... | |
const FieldType & | weight (size_t i) const |
obtain weight of i-th integration point 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... | |
Static Public Attributes | |
static const unsigned int | dimension = dim |
Protected Attributes | |
const IntegrationPointListType & | ipList_ |
actual interface class for quadratures
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::Quadrature< FieldImp, dim, QuadratureTraits >::CoordinateType |
type of local coordinate vectors
typedef FieldImp Dune::Fem::Quadrature< FieldImp, dim, QuadratureTraits >::FieldType |
typedef Traits :: IntegrationPointListType Dune::Fem::Quadrature< FieldImp, dim, QuadratureTraits >::IntegrationPointListType |
type of the implementation (this must actually be a quadrature implementation)
|
inherited |
|
inherited |
|
inherited |
to be revised, look at caching quad
anonymous enum |
|
inline |
create a quadrature for a given geometry 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 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 |
|
inlineexplicit |
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 |
copy constructor
[in] | org | quadrature to be copiedCopy constructor |
|
inlineinherited |
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.
|
inlineinherited |
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.
|
inlineinherited |
obtain a reference the actual implementation
|
inlineinherited |
obtain the number of integration points
|
inlineinherited |
|
inlineinherited |
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.
|
inlineinherited |
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() |
|
inline |
obtain weight of i-th integration point
This method returns the weight of the i-th integration point for 0 <= i < nop() within the quadrature.
[in] | i | number of the integration point, 0 <= i < nop() |
Referenced by Dune::Fem::LocalAverageHelper::applyQuadrature(), and Dune::Fem::Integrator< Quadrature >::integrateAdd().
|
static |
|
protectedinherited |