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);
Hierarchical p2 shape functions for the simplex.
Definition bdfmcube.hh:18
traits helper struct
Definition localfiniteelementtraits.hh:13
Linear Lagrange functions enriched with quadratic edge bubble functions and an element bubble functio...
Definition hierarchicalp2withelementbubble.hh:34
HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim > LocalBasisType
Type of the local basis.
Definition hierarchicalp2withelementbubble.hh:37
static constexpr std::size_t size() noexcept
Returns the number of shape functions in this finite-element.
Definition hierarchicalp2withelementbubble.hh:68
static constexpr GeometryType type() noexcept
Returns the type of the geometry the finite-element is attached to.
Definition hierarchicalp2withelementbubble.hh:74
const LocalBasisType & localBasis() const
Returns the local basis, i.e., the set of shape functions.
Definition hierarchicalp2withelementbubble.hh:50
const LocalInterpolationType & localInterpolation() const
Returns object that evaluates degrees of freedom.
Definition hierarchicalp2withelementbubble.hh:62
HierarchicalSimplexP2WithElementBubbleLocalCoefficients< dim > LocalCoefficientsType
Type of the local coefficients.
Definition hierarchicalp2withelementbubble.hh:40
const LocalCoefficientsType & localCoefficients() const
Returns the assignment of the degrees of freedom to the element subentities.
Definition hierarchicalp2withelementbubble.hh:56
HierarchicalSimplexP2WithElementBubbleLocalInterpolation< LocalBasisType, dim > LocalInterpolationType
Type of the local interpolation.
Definition hierarchicalp2withelementbubble.hh:43
P1 basis in dim-d enriched by quadratic edge bubble functions and an element bubble function of order...
Definition hierarchicalsimplexp2withelementbubble.hh:46
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:229