5 #ifndef DUNE_LOCALFUNCTIONS_BREZZIDOUGLASFORTINMARINI_BDFMCUBE_HH 6 #define DUNE_LOCALFUNCTIONS_BREZZIDOUGLASFORTINMARINI_BDFMCUBE_HH 8 #include <dune/geometry/type.hh> 43 template<
class D,
class R,
unsigned int dim,
unsigned int order>
62 : basis( s ), interpolation( s )
70 unsigned int size ()
const {
return basis.size(); }
71 static constexpr
auto type () -> GeometryType {
return GeometryTypes::cube(dim); }
75 LocalCoefficients coefficients;
76 LocalInterpolation interpolation;
81 #endif // #ifndef DUNE_LOCALFUNCTIONS_BREZZIDOUGLASFORTINMARINI_BDFMCUBE_HH traits helper struct
Definition: localfiniteelementtraits.hh:12
auto localBasis() const -> const LocalBasis &
Definition: bdfmcube.hh:65
Brezzi-Douglas-Fortin-Marini finite elements for cubes.
Definition: bdfmcube.hh:44
auto localCoefficients() const -> const LocalCoefficients &
Definition: bdfmcube.hh:66
auto localInterpolation() const -> const LocalInterpolation &
Definition: bdfmcube.hh:67
Layout map for Brezzi-Douglas-Fortin-Marini elements on cubes.
Definition: brezzidouglasfortinmarini/cube/localcoefficients.hh:32
static constexpr auto type() -> GeometryType
Definition: bdfmcube.hh:71
Definition: bdfmcube.hh:17
BDFMCubeLocalFiniteElement()
Standard constructor.
Definition: bdfmcube.hh:54
Brezzi-Douglas-Fortin-Marini shape functions on a reference cube.
Definition: brezzidouglasfortinmarini/cube/localbasis.hh:36
unsigned int size() const
Number of shape functions in this finite element.
Definition: bdfmcube.hh:70
Interpolation for Brezzi-Douglas-Fortin-Marini shape functions on cubes.
Definition: brezzidouglasfortinmarini/cube/localinterpolation.hh:35
BDFMCubeLocalFiniteElement(std::bitset< 2 *dim > s)
Make set number s, where 0 <= s < 2^(2*dim)
Definition: bdfmcube.hh:61