5 #ifndef DUNE_HIERARCHICAL_P2_WITH_ELEMENTBUBBLE_LOCALFINITEELEMENT_HH
6 #define DUNE_HIERARCHICAL_P2_WITH_ELEMENTBUBBLE_LOCALFINITEELEMENT_HH
8 #include <dune/geometry/type.hh>
19 template<
class D,
class R,
int dim>
23 static_assert(dim==2,
"HierarchicalP2WithElementBubbleLocalFiniteElement only implemented for dim==2.");
55 return interpolation_;
66 static constexpr GeometryType
type ()
68 return GeometryTypes::triangle;
Hierarchical p2 shape functions for the simplex.
Definition: bdfmcube.hh:18
traits helper struct
Definition: localfiniteelementtraits.hh:13
LB LocalBasisType
Definition: localfiniteelementtraits.hh:16
LC LocalCoefficientsType
Definition: localfiniteelementtraits.hh:20
LI LocalInterpolationType
Definition: localfiniteelementtraits.hh:24
Definition: hierarchicalsimplexp2withelementbubble.hh:26
The local finite element needed for the Zou-Kornhuber estimator for Signorini problems.
Definition: hierarchicalsimplexp2withelementbubble.hh:414
Definition: hierarchicalsimplexp2withelementbubble.hh:456
Definition: hierarchicalp2withelementbubble.hh:21
LocalFiniteElementTraits< HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim >, HierarchicalSimplexP2WithElementBubbleLocalCoefficients< dim >, HierarchicalSimplexP2WithElementBubbleLocalInterpolation< HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim > > > Traits
Definition: hierarchicalp2withelementbubble.hh:23
unsigned int size() const
Number of shape functions in this finite element.
Definition: hierarchicalp2withelementbubble.hh:59
const Traits::LocalCoefficientsType & localCoefficients() const
Definition: hierarchicalp2withelementbubble.hh:46
const Traits::LocalInterpolationType & localInterpolation() const
Definition: hierarchicalp2withelementbubble.hh:53
static constexpr GeometryType type()
Definition: hierarchicalp2withelementbubble.hh:66
HierarchicalP2WithElementBubbleLocalFiniteElement()
Definition: hierarchicalp2withelementbubble.hh:34
const Traits::LocalBasisType & localBasis() const
Definition: hierarchicalp2withelementbubble.hh:39