DUNE-FEM (unstable)
cachingquadrature.hh
239 SelectQuadraturePointSetId< typename IntegrationTraits::IntegrationPointListType::Traits > :: value;
280 mapper_( CacheProviderType::getMapper( quadImp(), elementGeometry(), localFaceIndex(), twist_) ),
377 DUNE_THROW( InvalidStateException, "ElementIntegrationPointList: side must either be INSIDE or OUTSIDE." );
394 DUNE_THROW( InvalidStateException, "ElementIntegrationPointList: side must either be INSIDE or OUTSIDE." );
412 template< typename GridPart, int codim, template <class, int> class QuadratureTraits = DefaultQuadratureTraits >
413 using CachingQuadrature = CachingQuadratureImpl< GridPart, codim, ElementQuadratureTraits< GridPart, codim, QuadratureTraits >, true>;
416 static inline auto cachingQuadrature(const GridPart& gridPart, const Entity& entity, unsigned quadOrder)
Traits::IntersectionIteratorType IntersectionIteratorType
type of intersection iterator
Definition: adaptiveleafgridpart.hh:92
interface a cachable quadrature has to implement
Definition: cachingquadrature.hh:23
size_t interpolationPoint(const size_t quadraturePoint) const
map quadrature points to interpolation points
Definition: cachingquadrature.hh:58
bool isInterpolationQuadrature(const size_t numShapeFunctions) const
check if quadrature is interpolation quadrature
Definition: cachingquadrature.hh:70
static constexpr bool twisted()
returns true if cachingPoint is not the identity mapping
Definition: cachingquadrature.hh:32
size_t cachingPoint(const size_t quadraturePoint) const
map quadrature points to caching points
Definition: cachingquadrature.hh:47
int twistId() const
returns the twistId, i.e. [0,...,7]
Definition: cachingquadrature.hh:35
Definition: cachingquadrature.hh:109
size_t cachingPoint(const size_t quadraturePoint) const
map quadrature points to caching points
Definition: cachingquadrature.hh:178
auto weight(std::size_t i) const
obtain weight of i-th integration point (if quadrature, else 1.0)
Definition: cachingquadrature.hh:172
Base::CoordinateType CoordinateType
The type of the coordinates in the codim-0 reference element.
Definition: cachingquadrature.hh:119
size_t interpolationPoint(const size_t quadraturePoint) const
map quadrature points to interpolation points
Definition: cachingquadrature.hh:184
QuadraturePointWrapper< This > QuadraturePointWrapperType
the type of the quadrature point
Definition: cachingquadrature.hh:122
const CoordinateType & point(const size_t i) const
obtain coordinates of i-th integration point
Definition: cachingquadrature.hh:166
CachingQuadratureImpl(const EntityType &entity, const QuadratureKeyType &quadKey)
Definition: cachingquadrature.hh:142
bool isInterpolationQuadrature(const size_t numShapeFunctions) const
check if quadrature is interpolation quadrature
Definition: cachingquadrature.hh:190
CachingQuadratureImpl(const GeometryType &geometry, const QuadratureKeyType &quadKey)
Definition: cachingquadrature.hh:151
QuadraturePointIterator< This > IteratorType
type of iterator
Definition: cachingquadrature.hh:124
constructor
Definition: cachingquadrature.hh:205
static constexpr bool twisted()
returns true if cachingPoint is not the identity mapping
Definition: cachingquadrature.hh:316
size_t interpolationPoint(const size_t quadraturePoint) const
map quadrature points to interpolation points
Definition: cachingquadrature.hh:329
GridPartType::IntersectionIteratorType IntersectionIteratorType
Type of the intersection iterator.
Definition: cachingquadrature.hh:221
const CoordinateType & point(const size_t i) const
obtain coordinates of i-th integration point
Definition: cachingquadrature.hh:299
bool isInterpolationQuadrature(const size_t numShapeFunctions) const
check if quadrature is interpolation quadrature
Definition: cachingquadrature.hh:336
size_t cachingPoint(const size_t quadraturePoint) const
map quadrature points to caching points
Definition: cachingquadrature.hh:322
int twistId() const
returns the twistId, i.e. [0,...,7]
Definition: cachingquadrature.hh:319
GridPartImp GridPartType
type of the grid partition
Definition: cachingquadrature.hh:211
ElementQuadratureImpl< GridPartType, codimension, IntegrationTraits, isQuadrature > NonConformingQuadratureType
type of quadrature used for non-conforming intersections
Definition: cachingquadrature.hh:230
CachingQuadratureImpl(const GridPartType &gridPart, const IntersectionType &intersection, const QuadratureKeyType &quadKey, const typename Base ::Side side)
constructor
Definition: cachingquadrature.hh:274
auto weight(std::size_t i) const
obtain weight of i-th integration point (if quadrature, else 1.0)
Definition: cachingquadrature.hh:305
QuadraturePointIterator< This > IteratorType
type of iterator
Definition: cachingquadrature.hh:226
Base::CoordinateType CoordinateType
Type of coordinates in codim-0 reference element.
Definition: cachingquadrature.hh:218
quadrature class supporting base function caching
Definition: cachingquadrature.hh:101
GridPartType::ctype RealType
coordinate type
Definition: elementpointlistbase.hh:207
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
Default exception if a function was called while the object is not in a valid state for that function...
Definition: exceptions.hh:281
actual interface class for quadratures
Some useful basic math stuff.
Utility to get twist from IntersectionIterator, if provided by grid (i.e. AlbertaGrid,...
Definition: twistutility.hh:107
selects Obj::pointSetId if available, otherwise defaultValue (default is -1)
Definition: utility.hh:174
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)