dune-fem 2.12-git
Loading...
Searching...
No Matches
Dune::Fem::CachingInterface Class Reference

interface a cachable quadrature has to implement More...

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

Inheritance diagram for Dune::Fem::CachingInterface:
Inheritance graph

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
 
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
 

Static Public Member Functions

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

Protected Member Functions

 CachingInterface ()
 

Detailed Description

interface a cachable quadrature has to implement

Constructor & Destructor Documentation

◆ CachingInterface()

Dune::Fem::CachingInterface::CachingInterface ( )
inlineprotected

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

◆ 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

◆ 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

◆ twisted()

static constexpr bool Dune::Fem::CachingInterface::twisted ( )
inlinestaticconstexpr

returns true if cachingPoint is not the identity mapping

◆ twistId()

int Dune::Fem::CachingInterface::twistId ( ) const
inline

returns the twistId, i.e. [0,...,7]


The documentation for this class was generated from the following file: