|
dune-fem 2.12-git
|
constructor More...
#include <dune/fem/quadrature/elementquadrature.hh>

Public Types | |
| typedef Base::GridPartType | GridPartType |
| type of grid part | |
| typedef Base::CoordinateType | CoordinateType |
| type for coordinates in the codim-0 reference element | |
| typedef QuadraturePointWrapper< This > | QuadraturePointWrapperType |
| type of the quadrature point | |
| typedef QuadraturePointIterator< This > | IteratorType |
| type of iterator | |
| typedef Base::EntityType | EntityType |
| typedef Base::IntegrationPointListType | IntegrationPointListType |
| enum | Side { INSIDE , OUTSIDE } |
| inside and outside flags More... | |
| typedef GridPartType::ctype | RealType |
| coordinate type | |
| typedef IntegrationPointListType::CoordinateType | LocalCoordinateType |
Public Member Functions | |
| template<class QuadratureKeyType > | |
| ElementQuadratureImpl (const EntityType &entity, const QuadratureKeyType &quadKey, const bool checkGeomType=isQuadrature) | |
| constructor | |
| template<class QuadratureKeyType > | |
| ElementQuadratureImpl (const GeometryType &geometry, const QuadratureKeyType &quadKey) | |
| constructor | |
| const QuadraturePointWrapperType | operator[] (const size_t i) const |
| IteratorType | begin () const noexcept |
| IteratorType | end () const noexcept |
| const CoordinateType & | point (const size_t i) const |
| obtain coordinates of i-th integration point | |
| auto | weight (size_t i) const |
| obtain weight of i-th integration point (if quadrature, else 1.0) | |
| const LocalCoordinateType & | localPoint (size_t i) const |
| obtain local coordinates of i-th integration point | |
| size_t | nop () const |
| obtain the number of integration points | |
| size_t | id () const |
| obtain the identifier of the integration point list | |
| int | order () const |
| obtain order of the integration point list | |
| GeometryType | geometry () const |
| GeometryType | type () const |
| GeometryType | geometryType () const |
| GeometryType | elementGeometry () const |
| obtain GeometryType of the corresponding codim-0 the integration point list belongs to | |
| size_t | cachingPoint (const size_t quadraturePoint) const |
| convenience implementation for Dune::Fem::CachingInterface | |
| size_t | localCachingPoint (const size_t quadraturePoint) const |
| convenience implementation for Dune::Fem::CachingInterface | |
| int | twistId () const |
| convenience implementation for Dune::Fem::CachingInterface | |
| int | localFaceIndex () const |
| int | nCachingPoints () const |
| int | cachingPointStart () const |
Static Public Member Functions | |
| static constexpr bool | twisted () |
| convenience implementation for Dune::Fem::CachingInterface | |
Static Public Attributes | |
| static const int | codimension = 0 |
| codimension of the integration point list | |
| static const int | dimension = GridPartType::dimension |
| dimension of the grid | |
Protected Member Functions | |
| template<class QuadratureKeyType > | |
| IntegrationPointListType | createQuadrature (const EntityType &entity, const QuadratureKeyType &quadKey, const bool checkGeomType) |
| const IntegrationPointListType & | quadImp () const |
| obtain the actual implementation of the quadrature | |
Protected Attributes | |
| IntegrationPointListType | quad_ |
Detailed Description
class Dune::Fem::ElementQuadratureImpl< GridPartImp, 0, IntegrationTraits, isQuadrature >
constructor
- Parameters
-
[in] geometry geometry type, the quadrature lives on [in] order desired minimal order of the quadrature [in] checkGeomType if true geometry type is checked for isNone.
Member Typedef Documentation
◆ CoordinateType
| typedef Base::CoordinateType Dune::Fem::ElementQuadratureImpl< GridPartImp, 0, IntegrationTraits, isQuadrature >::CoordinateType |
type for coordinates in the codim-0 reference element
◆ EntityType
| typedef Base::EntityType Dune::Fem::ElementQuadratureImpl< GridPartImp, 0, IntegrationTraits, isQuadrature >::EntityType |
◆ GridPartType
| typedef Base::GridPartType Dune::Fem::ElementQuadratureImpl< GridPartImp, 0, IntegrationTraits, isQuadrature >::GridPartType |
type of grid part
◆ IntegrationPointListType
| typedef Base::IntegrationPointListType Dune::Fem::ElementQuadratureImpl< GridPartImp, 0, IntegrationTraits, isQuadrature >::IntegrationPointListType |
◆ IteratorType
| typedef QuadraturePointIterator< This > Dune::Fem::ElementQuadratureImpl< GridPartImp, 0, IntegrationTraits, isQuadrature >::IteratorType |
type of iterator
◆ LocalCoordinateType
|
inherited |
◆ QuadraturePointWrapperType
| typedef QuadraturePointWrapper< This > Dune::Fem::ElementQuadratureImpl< GridPartImp, 0, IntegrationTraits, isQuadrature >::QuadraturePointWrapperType |
type of the quadrature point
◆ RealType
|
inherited |
coordinate type
Member Enumeration Documentation
◆ Side
|
inherited |
Constructor & Destructor Documentation
◆ ElementQuadratureImpl() [1/2]
|
inline |
constructor
- Parameters
-
[in] geometry geometry type, the quadrature lives on [in] order desired minimal order of the quadrature [in] checkGeomType if true geometry type is checked for isNone.
◆ ElementQuadratureImpl() [2/2]
|
inline |
constructor
- Parameters
-
[in] geometry geometry type, the quadrature lives on [in] order desired minimal order of the quadrature
Member Function Documentation
◆ begin()
|
inlinenoexcept |
◆ cachingPoint()
|
inlineinherited |
convenience implementation for Dune::Fem::CachingInterface
◆ cachingPointStart()
|
inlineinherited |
◆ createQuadrature()
|
inlineprotected |
◆ elementGeometry()
|
inlineinherited |
obtain GeometryType of the corresponding codim-0 the integration point list belongs to
An element integration point list can return the coordinates of integration points with resepct to the codim-0 reference element and the reference element corresponding to the subentity the quadrature actually lives on. This method returns the geometry of the codim-0 entity.
- Note
- Calling this method yields a virtual function call, so do not call this method unnecessarily.
- Returns
- GeometryType for this integration point list
◆ end()
|
inlinenoexcept |
◆ geometry()
|
inlineinherited |
◆ geometryType()
|
inlineinherited |
◆ id()
|
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.
- Note
- Quadratures are considered distinct if they differ in one of the following points: geometry type, order, dimension or implementation.
- Returns
- globally unique identifier of the integration point list
◆ localCachingPoint()
|
inlineinherited |
convenience implementation for Dune::Fem::CachingInterface
◆ localFaceIndex()
|
inlineinherited |
◆ localPoint()
|
inline |
obtain local coordinates of i-th integration point
This method returns a reference to the local coordinates of the i-th integration point for 0 <= i < nop(). Here, local coordinates means coordinates with respect to the reference element of the subentity.
- Parameters
-
[in] i number of the integration point, 0 <= i < nop()
- Returns
- reference to i-th integration point
◆ nCachingPoints()
|
inlineinherited |
◆ nop()
|
inline |
obtain the number of integration points
- Returns
- number of integration points within this list
◆ operator[]()
|
inline |
◆ order()
|
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.
- Note
- Calling this method yields a virtual function call, so do not call this method unnecessarily.
- Returns
- the order of the integration point list
◆ point()
|
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.
- Parameters
-
[in] i number of the integration point, 0 <= i < nop()
- Returns
- reference to i-th integration point
◆ quadImp()
|
inlineprotected |
obtain the actual implementation of the quadrature
- Note
- This method may only be used in derived classes.
- Returns
- a reference to the actual implementation of the quadrature
◆ twisted()
|
inlinestaticconstexprinherited |
convenience implementation for Dune::Fem::CachingInterface
◆ twistId()
|
inlineinherited |
convenience implementation for Dune::Fem::CachingInterface
◆ type()
|
inlineinherited |
◆ weight()
|
inline |
obtain weight of i-th integration point (if quadrature, else 1.0)
This method returns the weight of the i-th integration point for 0 <= i < nop() within the quadrature.
- Note
- The integration point can be obtained via the point() method.
- The quadrature weights sum up to the volume of the reference element.
- Parameters
-
[in] i number of the integration point, 0 <= i < nop()
- Returns
- weight of the i-th integration point
Member Data Documentation
◆ codimension
|
staticinherited |
codimension of the integration point list
◆ dimension
|
staticinherited |
dimension of the grid
◆ quad_
|
protectedinherited |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8