3 #ifndef DUNE_HIERARCHICAL_P2_WITH_ELEMENTBUBBLE_LOCALFINITEELEMENT_HH
4 #define DUNE_HIERARCHICAL_P2_WITH_ELEMENTBUBBLE_LOCALFINITEELEMENT_HH
6 #include <dune/geometry/type.hh>
17 template<
class D,
class R,
int dim>
21 static_assert(dim==2,
"HierarchicalP2WithElementBubbleLocalFiniteElement only implemented for dim==2.");
53 return interpolation_;
64 static constexpr GeometryType
type ()
66 return GeometryTypes::triangle;
Hierarchical p2 shape functions for the simplex.
Definition: bdfmcube.hh:16
traits helper struct
Definition: localfiniteelementtraits.hh:11
LB LocalBasisType
Definition: localfiniteelementtraits.hh:14
LC LocalCoefficientsType
Definition: localfiniteelementtraits.hh:18
LI LocalInterpolationType
Definition: localfiniteelementtraits.hh:22
Definition: hierarchicalsimplexp2withelementbubble.hh:24
The local finite element needed for the Zou-Kornhuber estimator for Signorini problems.
Definition: hierarchicalsimplexp2withelementbubble.hh:412
Definition: hierarchicalsimplexp2withelementbubble.hh:454
Definition: hierarchicalp2withelementbubble.hh:19
LocalFiniteElementTraits< HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim >, HierarchicalSimplexP2WithElementBubbleLocalCoefficients< dim >, HierarchicalSimplexP2WithElementBubbleLocalInterpolation< HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim > > > Traits
Definition: hierarchicalp2withelementbubble.hh:21
unsigned int size() const
Number of shape functions in this finite element.
Definition: hierarchicalp2withelementbubble.hh:57
const Traits::LocalCoefficientsType & localCoefficients() const
Definition: hierarchicalp2withelementbubble.hh:44
const Traits::LocalInterpolationType & localInterpolation() const
Definition: hierarchicalp2withelementbubble.hh:51
static constexpr GeometryType type()
Definition: hierarchicalp2withelementbubble.hh:64
HierarchicalP2WithElementBubbleLocalFiniteElement()
Definition: hierarchicalp2withelementbubble.hh:32
const Traits::LocalBasisType & localBasis() const
Definition: hierarchicalp2withelementbubble.hh:37