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

Public Types | |
| typedef GridPartImp | GridPartType |
| type of the grid partition | |
| typedef Base::RealType | RealType |
| typedef Base::CoordinateType | CoordinateType |
| Type of coordinates in codim-0 reference element. | |
| typedef GridPartType::IntersectionIteratorType | IntersectionIteratorType |
| Type of the intersection iterator. | |
| typedef IntersectionIteratorType::Intersection | IntersectionType |
| typedef QuadraturePointWrapper< This > | QuadraturePointWrapperType |
| typedef QuadraturePointIterator< This > | IteratorType |
| type of iterator | |
| typedef ElementQuadratureImpl< GridPartType, codimension, IntegrationTraits, isQuadrature > | NonConformingQuadratureType |
| type of quadrature used for non-conforming intersections | |
| typedef GridPartType::TwistUtilityType | TwistUtilityType |
| typedef IntersectionIteratorType | IntersectionIterator |
| enum | Side |
| inside and outside flags More... | |
| typedef IntegrationTraits::IntegrationPointListType | IntegrationPointListType |
| type of the integration point list | |
| typedef IntegrationPointListType::CoordinateType | LocalCoordinateType |
Public Member Functions | |
| template<class QuadratureKeyType > | |
| CachingQuadratureImpl (const GridPartType &gridPart, const IntersectionType &intersection, const QuadratureKeyType &quadKey, const typename Base ::Side side) | |
| constructor | |
| const QuadraturePointWrapperType | operator[] (const size_t i) const |
| IteratorType | begin () const noexcept |
| IteratorType | end () const noexcept |
| Base::Side | side () const |
| bool | isInside () const |
| const CoordinateType & | point (const size_t i) const |
| obtain coordinates of i-th integration point | |
| auto | weight (std::size_t i) const |
| obtain weight of i-th integration point (if quadrature, else 1.0) | |
| const IntersectionType & | intersection () const |
| int | twistId () const |
| returns the twistId, i.e. [0,...,7] | |
| size_t | cachingPoint (const size_t quadraturePoint) const |
| map quadrature points to caching points | |
| size_t | interpolationPoint (const size_t quadraturePoint) const |
| map quadrature points to interpolation points | |
| bool | isInterpolationQuadrature (const size_t numShapeFunctions) const |
| check if quadrature is interpolation quadrature | |
| size_t | localCachingPoint (const size_t i) const |
| size_t | nop () const |
| obtain the number of integration points | |
| const LocalCoordinateType & | localPoint (size_t i) const |
| obtain local coordinates of i-th integration point | |
| 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 |
| obtain GeometryType for this integration point list | |
| GeometryType | elementGeometry () const |
| obtain GeometryType of the corresponding codim-0 the integration point list belongs to | |
| int | nCachingPoints () const |
| int | cachingPointStart () const |
| int | localFaceIndex () const |
Static Public Member Functions | |
| static constexpr bool | twisted () |
| returns true if cachingPoint is not the identity mapping | |
Static Public Attributes | |
| static const int | dimension = Base::dimension |
| static const int | codimension = Base::codimension |
| static const int | pointSetId |
Protected Types | |
| typedef CachingTraits< RealType, dimension >::MapperPairType | MapperPairType |
| typedef CachingTraits< RealType, dimension >::PointVectorType | PointVectorType |
| typedef CacheProvider< GridPartType, codimension > | CacheProviderType |
| typedef PointProvider< RealType, dimension, codimension > | PointProviderType |
Protected Member Functions | |
| template<class QuadratureKeyType > | |
| Base | getPointList (const IntersectionType &intersection, const QuadratureKeyType &key, const typename Base ::Side side) |
| int | getTwist (const GridPartType &gridPart, const IntersectionType &intersection, const typename Base ::Side side) |
| const IntegrationPointListType & | quadImp () const |
| obtain the actual implementation of the quadrature | |
Static Protected Member Functions | |
| static GeometryType | getFaceGeometry (const GeometryType &elementGeo, const int face) |
Detailed Description
class Dune::Fem::CachingQuadratureImpl< GridPartImp, 1, IntegrationTraits, isQuadrature >
constructor
- Note
- The CachingQuadratureImpl requires the grid part to get twist information for TwistUtility (see also ElementIntegrationPointList<GridPartImp,1>).
- Parameters
-
[in] gridPart grid partition [in] intersection intersection [in] quadKey desired order of the quadrature or other means of quadrature identification [in] side either INSIDE or OUTSIDE; codim-0 entity for which the ElementQuadrature shall be created
Member Typedef Documentation
◆ CacheProviderType
|
protected |
◆ CoordinateType
| typedef Base::CoordinateType Dune::Fem::CachingQuadratureImpl< GridPartImp, 1, IntegrationTraits, isQuadrature >::CoordinateType |
Type of coordinates in codim-0 reference element.
◆ GridPartType
| typedef GridPartImp Dune::Fem::CachingQuadratureImpl< GridPartImp, 1, IntegrationTraits, isQuadrature >::GridPartType |
type of the grid partition
◆ IntegrationPointListType
|
inherited |
type of the integration point list
◆ IntersectionIterator
| typedef IntersectionIteratorType Dune::Fem::CachingQuadratureImpl< GridPartImp, 1, IntegrationTraits, isQuadrature >::IntersectionIterator |
◆ IntersectionIteratorType
| typedef GridPartType::IntersectionIteratorType Dune::Fem::CachingQuadratureImpl< GridPartImp, 1, IntegrationTraits, isQuadrature >::IntersectionIteratorType |
Type of the intersection iterator.
◆ IntersectionType
| typedef IntersectionIteratorType::Intersection Dune::Fem::CachingQuadratureImpl< GridPartImp, 1, IntegrationTraits, isQuadrature >::IntersectionType |
◆ IteratorType
| typedef QuadraturePointIterator< This > Dune::Fem::CachingQuadratureImpl< GridPartImp, 1, IntegrationTraits, isQuadrature >::IteratorType |
type of iterator
◆ LocalCoordinateType
|
inherited |
◆ MapperPairType
|
protected |
◆ NonConformingQuadratureType
| typedef ElementQuadratureImpl< GridPartType, codimension, IntegrationTraits, isQuadrature > Dune::Fem::CachingQuadratureImpl< GridPartImp, 1, IntegrationTraits, isQuadrature >::NonConformingQuadratureType |
type of quadrature used for non-conforming intersections
◆ PointProviderType
|
protected |
◆ PointVectorType
|
protected |
◆ QuadraturePointWrapperType
| typedef QuadraturePointWrapper< This > Dune::Fem::CachingQuadratureImpl< GridPartImp, 1, IntegrationTraits, isQuadrature >::QuadraturePointWrapperType |
◆ RealType
| typedef Base::RealType Dune::Fem::CachingQuadratureImpl< GridPartImp, 1, IntegrationTraits, isQuadrature >::RealType |
◆ TwistUtilityType
| typedef GridPartType::TwistUtilityType Dune::Fem::CachingQuadratureImpl< GridPartImp, 1, IntegrationTraits, isQuadrature >::TwistUtilityType |
Member Enumeration Documentation
◆ Side
|
inherited |
inside and outside flags
Constructor & Destructor Documentation
◆ CachingQuadratureImpl()
|
inline |
constructor
- Note
- The CachingQuadratureImpl requires the grid part to get twist information for TwistUtility (see also ElementIntegrationPointList<GridPartImp,1>).
- Parameters
-
[in] gridPart grid partition [in] intersection intersection [in] quadKey desired order of the quadrature or other means of quadrature identification [in] side either INSIDE or OUTSIDE; codim-0 entity for which the ElementQuadrature shall be created
Member Function Documentation
◆ begin()
|
inlinenoexcept |
◆ cachingPoint()
|
inline |
map quadrature points to caching points
For codim-1 entites, the mapping consists of two stages:
- Consider the twist to get the quadrature point number on the face of the (codim-0) reference element,
- Map the twisted quadrature point number to the caching point number.
- Parameters
-
[in] quadraturePoint number of quadrature point to map to a caching point
◆ cachingPointStart()
|
inlineinherited |
◆ 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 |
obtain GeometryType for this integration point list
◆ getFaceGeometry()
|
inlinestaticprotectedinherited |
◆ getPointList()
|
inlineprotected |
◆ getTwist()
|
inlineprotected |
◆ 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
◆ interpolationPoint()
|
inline |
map quadrature points to interpolation points
- Parameters
-
[in] quadraturePoint number of quadrature point to map to an interpolation point
◆ intersection()
|
inline |
◆ isInside()
|
inline |
◆ isInterpolationQuadrature()
|
inline |
check if quadrature is interpolation quadrature
- Parameters
-
[in] numShapeFunctions number of shapeFunctions that has to match number of quadrature points or number of internal interpolation points
◆ localCachingPoint()
|
inline |
◆ localFaceIndex()
|
inlineinherited |
◆ localPoint()
|
inlineinherited |
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()
|
inlineinherited |
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()
|
inlineprotectedinherited |
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
◆ side()
|
inline |
◆ twisted()
|
inlinestaticconstexpr |
returns true if cachingPoint is not the identity mapping
◆ twistId()
|
inline |
returns the twistId, i.e. [0,...,7]
◆ 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
|
static |
◆ dimension
|
static |
◆ pointSetId
|
static |
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