DUNE-FEM (unstable)

Dune::Fem::CachingInterface Class Reference

interface a cachable quadrature has to implement More...

#include <dune/fem/quadrature/cachingquadrature.hh>

Public Member Functions

int twistId () const
 returns the twistId, i.e. [0,...,7]
 
size_t cachingPoint (const size_t quadraturePoint) const
 map quadrature points to caching points More...
 
size_t interpolationPoint (const size_t quadraturePoint) const
 map quadrature points to interpolation points More...
 
bool isInterpolationQuadrature (const size_t numShapeFunctions) const
 check if quadrature is interpolation quadrature More...
 

Static Public Member Functions

static constexpr bool twisted ()
 returns true if cachingPoint is not the identity mapping
 

Detailed Description

interface a cachable quadrature has to implement

Member Function Documentation

◆ cachingPoint()

size_t Dune::Fem::CachingInterface::cachingPoint ( const size_t  quadraturePoint) const
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]quadraturePointnumber of quadrature point to map to a caching point

References DUNE_THROW.

◆ interpolationPoint()

size_t Dune::Fem::CachingInterface::interpolationPoint ( const size_t  quadraturePoint) const
inline

map quadrature points to interpolation points

Parameters
[in]quadraturePointnumber of quadrature point to map to an interpolation point

References DUNE_THROW.

◆ isInterpolationQuadrature()

bool Dune::Fem::CachingInterface::isInterpolationQuadrature ( const size_t  numShapeFunctions) const
inline

check if quadrature is interpolation quadrature

Parameters
[in]numShapeFunctionsnumber of shapeFunctions that has to match number of quadrature points or number of internal interpolation points

References DUNE_THROW.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 13, 23:29, 2024)