5#ifndef DUNE_LOCALFUNCTIONS_ENRICHED_SIMPLEXP1BUBBLE_HH
6#define DUNE_LOCALFUNCTIONS_ENRICHED_SIMPLEXP1BUBBLE_HH
8#include <dune/geometry/type.hh>
43 template<
class D,
class R,
int dim>
75 return interpolation_;
79 static constexpr std::size_t
size () noexcept
85 static constexpr GeometryType
type () noexcept
87 return GeometryTypes::simplex(dim);
Definition bdfmcube.hh:18
traits helper struct
Definition localfiniteelementtraits.hh:13
Linear Lagrange functions enriched with an element bubble function.
Definition simplexp1bubble.hh:45
const LocalInterpolationType & localInterpolation() const
Returns object that evaluates degrees of freedom.
Definition simplexp1bubble.hh:73
SimplexP1BubbleLocalBasis< D, R, dim > LocalBasisType
Type of the local basis.
Definition simplexp1bubble.hh:48
const LocalCoefficientsType & localCoefficients() const
Returns the assignment of the degrees of freedom to the element subentities.
Definition simplexp1bubble.hh:67
const LocalBasisType & localBasis() const
Returns the local basis, i.e., the set of shape functions.
Definition simplexp1bubble.hh:61
SimplexP1BubbleLocalCoefficients< dim > LocalCoefficientsType
Type of the local coefficients.
Definition simplexp1bubble.hh:51
static constexpr std::size_t size() noexcept
Returns the number of shape functions in this finite-element.
Definition simplexp1bubble.hh:79
SimplexP1BubbleLocalInterpolation< LocalBasisType > LocalInterpolationType
Type of the local interpolation.
Definition simplexp1bubble.hh:54
static constexpr GeometryType type() noexcept
Returns the type of the geometry the finite-element is attached to.
Definition simplexp1bubble.hh:85
P1 basis in dim-d enriched by an (order dim+1) element bubble function.
Definition enriched/simplexp1bubble/localbasis.hh:35
static constexpr std::size_t size() noexcept
Returns number of shape functions.
Definition enriched/simplexp1bubble/localbasis.hh:55
The Local keys associated to the dim-d local basis functions.
Definition enriched/simplexp1bubble/localcoefficients.hh:24