5 #ifndef DUNE_HIERARCHICAL_P2_WITH_ELEMENTBUBBLE_LOCALFINITEELEMENT_HH 6 #define DUNE_HIERARCHICAL_P2_WITH_ELEMENTBUBBLE_LOCALFINITEELEMENT_HH 8 #include <dune/geometry/type.hh> 32 template<
class D,
class R,
int dim>
64 return interpolation_;
68 static constexpr std::size_t
size () noexcept
74 static constexpr GeometryType
type () noexcept
76 return GeometryTypes::simplex(dim);
traits helper struct
Definition: localfiniteelementtraits.hh:12
const LocalBasisType & localBasis() const
Returns the local basis, i.e., the set of shape functions.
Definition: hierarchicalp2withelementbubble.hh:50
static constexpr std::size_t size() noexcept
Returns number of shape functions.
Definition: hierarchicalsimplexp2withelementbubble.hh:105
The local keys of the hierarchical basis functions with element bubble.
Definition: hierarchicalsimplexp2withelementbubble.hh:228
const LocalInterpolationType & localInterpolation() const
Returns object that evaluates degrees of freedom.
Definition: hierarchicalp2withelementbubble.hh:62
Definition: bdfmcube.hh:17
const LocalCoefficientsType & localCoefficients() const
Returns the assignment of the degrees of freedom to the element subentities.
Definition: hierarchicalp2withelementbubble.hh:56
static constexpr std::size_t size() noexcept
Returns the number of shape functions in this finite-element.
Definition: hierarchicalp2withelementbubble.hh:68
HierarchicalSimplexP2WithElementBubbleLocalCoefficients< dim > LocalCoefficientsType
Type of the local coefficients.
Definition: hierarchicalp2withelementbubble.hh:40
HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim > LocalBasisType
Type of the local basis.
Definition: hierarchicalp2withelementbubble.hh:37
Linear Lagrange functions enriched with quadratic edge bubble functions and an element bubble functio...
Definition: hierarchicalp2withelementbubble.hh:33
P1 basis in dim-d enriched by quadratic edge bubble functions and an element bubble function of order...
Definition: hierarchicalsimplexp2withelementbubble.hh:45
HierarchicalSimplexP2WithElementBubbleLocalInterpolation< LocalBasisType, dim > LocalInterpolationType
Type of the local interpolation.
Definition: hierarchicalp2withelementbubble.hh:43
Hierarchical p2 shape functions for the simplex.
static constexpr GeometryType type() noexcept
Returns the type of the geometry the finite-element is attached to.
Definition: hierarchicalp2withelementbubble.hh:74