1#ifndef DUNE_FEM_CACHINGQUADRATURE_HH
2#define DUNE_FEM_CACHINGQUADRATURE_HH
40 template<
typename Gr
idPartImp,
int codim,
template <
class,
int>
class QuadratureTraits = DefaultQuadratureTraits >
46 template<
typename Gr
idPart,
template <
class,
int>
class QuadratureTraits >
48 :
public CachingPointList< GridPart, 0, ElementQuadratureTraits< GridPart, 0, QuadratureTraits > >
55 static constexpr auto codimension = 0;
65 static constexpr auto dimension = BaseType::dimension;
68 typedef typename BaseType :: RealType
RealType;
81 typedef typename GridPartType::template Codim< 0 >::EntityType
EntityType;
128 return quadImp().weight( i );
135 template<
typename Gr
idPartImp,
template <
class,
int>
class QuadratureTraits >
138 < GridPartImp, 1, ElementQuadratureTraits< GridPartImp, 1, QuadratureTraits > >
145 static constexpr auto codimension = 1;
158 static constexpr auto dimension = BaseType::dimension;
197 :
BaseType( gridPart, intersection, quadKey, side )
219 return quadImp().weight(i);
223 template<
class Gr
idPart,
class Entity>
224 static inline auto cachingQuadrature(
const GridPart& gridPart,
const Entity& entity,
unsigned quadOrder)
Definition: bindguard.hh:11
static auto cachingQuadrature(const GridPart &gridPart, const Entity &entity, unsigned quadOrder)
Definition: cachingquadrature.hh:224
integration point list supporting base function caching
Definition: cachingpointlist.hh:103
quadrature class supporting base function caching
Definition: cachingquadrature.hh:41
QuadraturePointWrapper< ThisType > QuadraturePointWrapperType
type of the quadrature point
Definition: cachingquadrature.hh:76
BaseType::RealType RealType
just another name for double
Definition: cachingquadrature.hh:68
CachingQuadrature(const GeometryType &type, const QuadratureKeyType &quadKey)
constructor
Definition: cachingquadrature.hh:105
CachingQuadrature(const ThisType &org)
copy constructor
Definition: cachingquadrature.hh:113
IteratorType begin() const noexcept
Definition: cachingquadrature.hh:122
QuadraturePointIterator< ThisType > IteratorType
type of iterator
Definition: cachingquadrature.hh:78
GridPart GridPartType
type of grid partition
Definition: cachingquadrature.hh:52
const RealType & weight(std::size_t i) const
Definition: cachingquadrature.hh:126
BaseType::QuadratureKeyType QuadratureKeyType
type of quadrature identifier on user side (default is the order of quadrature)
Definition: cachingquadrature.hh:73
BaseType::CoordinateType CoordinateType
type of the coordinates in the codim-0 reference element
Definition: cachingquadrature.hh:70
IteratorType end() const noexcept
Definition: cachingquadrature.hh:123
CachingQuadrature(const EntityType &entity, const QuadratureKeyType &quadKey)
constructor
Definition: cachingquadrature.hh:95
GridPartType::template Codim< 0 >::EntityType EntityType
Definition: cachingquadrature.hh:81
BaseType::QuadratureKeyType QuadratureKeyType
type of quadrature identifier on user side (default is the order of quadrature)
Definition: cachingquadrature.hh:167
GridPartImp GridPartType
type of the grid partition
Definition: cachingquadrature.hh:142
CachingQuadrature(const GridPartType &gridPart, const IntersectionType &intersection, const QuadratureKeyType &quadKey, typename BaseType::Side side)
constructor
Definition: cachingquadrature.hh:195
const RealType & weight(std::size_t i) const
Definition: cachingquadrature.hh:217
BaseType::CoordinateType CoordinateType
the coordinates of the quadrature points in the codim-0 reference element
Definition: cachingquadrature.hh:164
BaseType::IntersectionIteratorType IntersectionIteratorType
type of the intersection iterator
Definition: cachingquadrature.hh:175
IteratorType end() const noexcept
Definition: cachingquadrature.hh:214
IntersectionIteratorType::Intersection IntersectionType
Definition: cachingquadrature.hh:176
BaseType::RealType RealType
just another name for double
Definition: cachingquadrature.hh:161
QuadraturePointIterator< ThisType > IteratorType
type of iterator
Definition: cachingquadrature.hh:172
ElementQuadrature< GridPartImp, codimension > NonConformingQuadratureType
type of quadrature used for non-conforming intersections
Definition: cachingquadrature.hh:179
CachingQuadrature(const ThisType &org)
copy constructor
Definition: cachingquadrature.hh:204
QuadraturePointWrapper< ThisType > QuadraturePointWrapperType
type of the quadrature point
Definition: cachingquadrature.hh:170
IteratorType begin() const noexcept
Definition: cachingquadrature.hh:213
quadrature on the codim-0 reference element
Definition: elementquadrature.hh:58
Definition: elementquadrature.hh:64
wrapper for a (Quadrature,int) pair
Definition: quadrature.hh:43
iterator over quadrature points
Definition: quadrature.hh:106
actual interface class for quadratures
Definition: quadrature.hh:405