5#ifndef DUNE_LOCALFUNCTIONS_ENRICHED_CUBEQ1BUBBLE_HH
6#define DUNE_LOCALFUNCTIONS_ENRICHED_CUBEQ1BUBBLE_HH
8#include <dune/geometry/type.hh>
41 template<
class D,
class R,
int dim>
73 return interpolation_;
77 static constexpr std::size_t
size () noexcept
83 static constexpr GeometryType
type () noexcept
85 return GeometryTypes::simplex(dim);
Definition bdfmcube.hh:18
const EdgeS0_5FiniteElement< Geometry, RF >::Traits::Coefficients & EdgeS0_5FiniteElement< Geometry, RF >::coefficients_
Definition edges0.5.hh:84
traits helper struct
Definition localfiniteelementtraits.hh:13
Linear Lagrange functions enriched with an element bubble function.
Definition cubeq1bubble.hh:43
const LocalCoefficientsType & localCoefficients() const
Returns the assignment of the degrees of freedom to the element subentities.
Definition cubeq1bubble.hh:65
const LocalInterpolationType & localInterpolation() const
Returns object that evaluates degrees of freedom.
Definition cubeq1bubble.hh:71
CubeQ1BubbleLocalBasis< D, R, dim > LocalBasisType
Type of the local basis.
Definition cubeq1bubble.hh:46
static constexpr std::size_t size() noexcept
Returns the number of shape functions in this finite-element.
Definition cubeq1bubble.hh:77
CubeQ1BubbleLocalCoefficients< dim > LocalCoefficientsType
Type of the local coefficients.
Definition cubeq1bubble.hh:49
LocalFiniteElementTraits< LocalBasisType, LocalCoefficientsType, LocalInterpolationType > Traits
Traits type that specifies the local basis, coefficients, and interpolation type.
Definition cubeq1bubble.hh:55
CubeQ1BubbleLocalInterpolation< LocalBasisType > LocalInterpolationType
Type of the local interpolation.
Definition cubeq1bubble.hh:52
static constexpr GeometryType type() noexcept
Returns the type of the geometry the finite-element is attached to.
Definition cubeq1bubble.hh:83
const LocalBasisType & localBasis() const
Returns the local basis, i.e., the set of shape functions.
Definition cubeq1bubble.hh:59
Q1 basis in dim-d enriched by an (order 2) element bubble function.
Definition enriched/cubeq1bubble/localbasis.hh:36
static constexpr std::size_t size() noexcept
Returns number of shape functions.
Definition enriched/cubeq1bubble/localbasis.hh:59
The Local keys associated to the dim-d local basis functions.
Definition enriched/cubeq1bubble/localcoefficients.hh:24
Interpolation into the CubeQ1BubbleLocalBasis.
Definition enriched/cubeq1bubble/localinterpolation.hh:34