dune-localfunctions 2.10
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Dune::BDFMCubeLocalInterpolation< D, R, dim, order > Class Template Reference

Interpolation for Brezzi-Douglas-Fortin-Marini shape functions on cubes. More...

#include <dune/localfunctions/brezzidouglasfortinmarini/cube/localinterpolation.hh>

Public Member Functions

 BDFMCubeLocalInterpolation ()
 Standard constructor.
 
 BDFMCubeLocalInterpolation (std::bitset< numFaces > s)
 Make set number s, where 0 <= s < 2^(2*dim)
 
template<class F , class C >
void interpolate (const F &f, C &out) const
 Interpolate a given function with shape functions.
 
template<class F , class C >
void trace (unsigned int face, const F &f, C &out) const
 Interpolate a given function with shape functions on a face of the reference element.
 
template<class F , class C >
void interior (const F &f, C &out) const
 Interpolate a given function with shape functions in the interior of the reference element.
 

Detailed Description

template<class D, class R, unsigned int dim, unsigned int order>
class Dune::BDFMCubeLocalInterpolation< D, R, dim, order >

Interpolation for Brezzi-Douglas-Fortin-Marini shape functions on cubes.

Template Parameters
DType of represent the field in the domain.
RType of represent the field in the domain.
dimdimension of the reference element, must be >= 2.
orderorder of the element, must be >= 1.

Constructor & Destructor Documentation

◆ BDFMCubeLocalInterpolation() [1/2]

template<class D , class R , unsigned int dim, unsigned int order>
Dune::BDFMCubeLocalInterpolation< D, R, dim, order >::BDFMCubeLocalInterpolation ( )
inline

Standard constructor.

◆ BDFMCubeLocalInterpolation() [2/2]

template<class D , class R , unsigned int dim, unsigned int order>
Dune::BDFMCubeLocalInterpolation< D, R, dim, order >::BDFMCubeLocalInterpolation ( std::bitset< numFaces >  s)
inline

Make set number s, where 0 <= s < 2^(2*dim)

Parameters
sEdge orientation indicator

Member Function Documentation

◆ interior()

template<class D , class R , unsigned int dim, unsigned int order>
template<class F , class C >
void Dune::BDFMCubeLocalInterpolation< D, R, dim, order >::interior ( const F &  f,
C &  out 
) const
inline

Interpolate a given function with shape functions in the interior of the reference element.

Template Parameters
FFunction type for function which should be interpolated
CCoefficient vector type
Parameters
ffunction which should be interpolated
outreturn value, vector of coefficients

◆ interpolate()

template<class D , class R , unsigned int dim, unsigned int order>
template<class F , class C >
void Dune::BDFMCubeLocalInterpolation< D, R, dim, order >::interpolate ( const F &  f,
C &  out 
) const
inline

Interpolate a given function with shape functions.

Template Parameters
FFunction type for function which should be interpolated
CCoefficient vector type
Parameters
ffunction which should be interpolated
outreturn value, vector of coefficients

◆ trace()

template<class D , class R , unsigned int dim, unsigned int order>
template<class F , class C >
void Dune::BDFMCubeLocalInterpolation< D, R, dim, order >::trace ( unsigned int  face,
const F &  f,
C &  out 
) const
inline

Interpolate a given function with shape functions on a face of the reference element.

Template Parameters
FFunction type for function which should be interpolated
CCoefficient vector type
Parameters
faceindex of the face on which to interpolate
ffunction which should be interpolated
outreturn value, vector of coefficients

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