Dune Core Modules (unstable)
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) More... | |
template<class F , class C > | |
void | interpolate (const F &f, C &out) const |
Interpolate a given function with shape functions. More... | |
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. More... | |
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. More... | |
Detailed Description
class Dune::BDFMCubeLocalInterpolation< D, R, dim, order >
Interpolation for Brezzi-Douglas-Fortin-Marini shape functions on cubes.
- Template Parameters
-
D Type of represent the field in the domain. R Type of represent the field in the domain. dim dimension of the reference element, must be >= 2. order order of the element, must be >= 1.
Constructor & Destructor Documentation
◆ BDFMCubeLocalInterpolation()
|
inline |
Make set number s, where 0 <= s < 2^(2*dim)
- Parameters
-
s Edge orientation indicator
Member Function Documentation
◆ interior()
|
inline |
Interpolate a given function with shape functions in the interior of the reference element.
- Template Parameters
-
F Function type for function which should be interpolated C Coefficient vector type
- Parameters
-
f function which should be interpolated out return value, vector of coefficients
References Dune::GeometryTypes::cube(), Dune::Hybrid::max, and Dune::QuadratureRules< ctype, dim >::rule().
Referenced by Dune::BDFMCubeLocalInterpolation< D, R, dim, order >::interpolate().
◆ interpolate()
|
inline |
Interpolate a given function with shape functions.
- Template Parameters
-
F Function type for function which should be interpolated C Coefficient vector type
- Parameters
-
f function which should be interpolated out return value, vector of coefficients
References Dune::BDFMCubeLocalInterpolation< D, R, dim, order >::interior(), and Dune::BDFMCubeLocalInterpolation< D, R, dim, order >::trace().
◆ trace()
|
inline |
Interpolate a given function with shape functions on a face of the reference element.
- Template Parameters
-
F Function type for function which should be interpolated C Coefficient vector type
- Parameters
-
face index of the face on which to interpolate f function which should be interpolated out return value, vector of coefficients
References Dune::GeometryTypes::cube(), and Dune::QuadratureRules< ctype, dim >::rule().
Referenced by Dune::BDFMCubeLocalInterpolation< D, R, dim, order >::interpolate().
The documentation for this class was generated from the following file:
- dune/localfunctions/brezzidouglasfortinmarini/cube/localinterpolation.hh