1 #ifndef DUNE_FEM_CACHINGQUADRATURE_HH
2 #define DUNE_FEM_CACHINGQUADRATURE_HH
37 template<
typename Gr
idPartImp,
int codim >
43 template<
typename Gr
idPart >
45 :
public CachingPointList< GridPart, 0, ElementQuadratureTraits< GridPart, 0 > >
52 static constexpr
auto codimension = 0;
62 static constexpr
auto dimension = BaseType::dimension;
65 typedef typename BaseType :: RealType
RealType;
75 typedef typename GridPartType::template Codim< 0 >::EntityType
EntityType;
78 using BaseType :: quadImp;
122 return quadImp().weight( i );
129 template<
typename Gr
idPartImp >
132 < GridPartImp, 1, ElementQuadratureTraits< GridPartImp, 1 > >
139 static constexpr
auto codimension = 1;
148 using BaseType :: quadImp;
152 static constexpr
auto dimension = BaseType::dimension;
187 int order,
typename BaseType::Side side )
188 :
BaseType( gridPart, intersection, order, side )
210 return quadImp().weight(i);
Definition: bindguard.hh:11
integration point list supporting base function caching
Definition: cachingpointlist.hh:74
quadrature class supporting base function caching
Definition: cachingquadrature.hh:38
IteratorType end() const noexcept
Definition: cachingquadrature.hh:117
CachingQuadrature(const GeometryType &type, int order)
constructor
Definition: cachingquadrature.hh:99
BaseType ::CoordinateType CoordinateType
type of the coordinates in the codim-0 reference element
Definition: cachingquadrature.hh:67
GridPartType::template Codim< 0 >::EntityType EntityType
Definition: cachingquadrature.hh:75
GridPart GridPartType
type of grid partition
Definition: cachingquadrature.hh:49
CachingQuadrature(const EntityType &entity, int order)
constructor
Definition: cachingquadrature.hh:89
QuadraturePointIterator< ThisType > IteratorType
type of iterator
Definition: cachingquadrature.hh:72
BaseType ::RealType RealType
just another name for double
Definition: cachingquadrature.hh:65
QuadraturePointWrapper< ThisType > QuadraturePointWrapperType
type of the quadrature point
Definition: cachingquadrature.hh:70
const RealType & weight(std::size_t i) const
obtain weight of i-th integration point
Definition: cachingquadrature.hh:120
CachingQuadrature(const ThisType &org)
copy constructor
Definition: cachingquadrature.hh:107
IteratorType begin() const noexcept
Definition: cachingquadrature.hh:116
CachingQuadrature(const GridPartType &gridPart, const IntersectionType &intersection, int order, typename BaseType::Side side)
constructor
Definition: cachingquadrature.hh:186
BaseType::CoordinateType CoordinateType
the coordinates of the quadrature points in the codim-0 reference element
Definition: cachingquadrature.hh:158
IntersectionIteratorType ::Intersection IntersectionType
Definition: cachingquadrature.hh:167
QuadraturePointWrapper< ThisType > QuadraturePointWrapperType
type of the quadrature point
Definition: cachingquadrature.hh:161
const RealType & weight(std::size_t i) const
Definition: cachingquadrature.hh:208
IteratorType begin() const noexcept
Definition: cachingquadrature.hh:204
CachingQuadrature(const ThisType &org)
copy constructor
Definition: cachingquadrature.hh:195
BaseType::RealType RealType
just another name for double
Definition: cachingquadrature.hh:155
GridPartImp GridPartType
type of the grid partition
Definition: cachingquadrature.hh:136
BaseType ::IntersectionIteratorType IntersectionIteratorType
type of the intersection iterator
Definition: cachingquadrature.hh:166
QuadraturePointIterator< ThisType > IteratorType
type of iterator
Definition: cachingquadrature.hh:163
IteratorType end() const noexcept
Definition: cachingquadrature.hh:205
ElementQuadrature< GridPartImp, codimension > NonConformingQuadratureType
type of quadrature used for non-conforming intersections
Definition: cachingquadrature.hh:170
quadrature on the codim-0 reference element
Definition: elementquadrature.hh:47
Definition: elementquadrature.hh:53
wrapper for a (Quadrature,int) pair
Definition: quadrature/quadrature.hh:41
iterator over quadrature points
Definition: quadrature/quadrature.hh:108