6 #ifndef DUNE_LOCALFUNCTIONS_META_DISCONTINUOUS_HH 7 #define DUNE_LOCALFUNCTIONS_META_DISCONTINUOUS_HH 11 #include <dune/common/referencehelper.hh> 12 #include <dune/geometry/type.hh> 27 using LFERaw = ResolveRef_t<LFE>;
29 using LB =
typename LFERaw::Traits::LocalBasisType;
30 using LC =
typename LFERaw::Traits::LocalCoefficientsType;
31 using LI =
typename LFERaw::Traits::LocalInterpolationType;
52 : lfe_(
std::forward<LFE_>(lfe))
63 return resolveRef(lfe_).localBasis();
83 return resolveRef(lfe_).localInterpolation();
89 return resolveRef(lfe_).size();
93 const GeometryType
type ()
const 95 return resolveRef(lfe_).type();
102 -> DiscontinuousLocalFiniteElement<LFE>;
106 #endif // DUNE_LOCALFUNCTIONS_META_DISCONTINUOUS_HH const GeometryType type() const
Return the geometry type the finite element can be bound to.
Definition: discontinuous.hh:93
DiscontinuousLocalFiniteElement(LFE lfe) -> DiscontinuousLocalFiniteElement< LFE >
A class providing local coefficients for dg spaces.
Definition: dglocalcoefficients.hh:22
types of component objects
Definition: discontinuous.hh:35
Definition: bdfmcube.hh:17
Meta-finite element turning a finite-element into "discontinuous" finite-element by associating all b...
Definition: discontinuous.hh:25
LI LocalInterpolationType
type of the Interpolation
Definition: discontinuous.hh:41
const Traits::LocalCoefficientsType & localCoefficients() const
Extract coefficients of this finite element.
Definition: discontinuous.hh:71
const Traits::LocalBasisType & localBasis() const
Extract basis of this finite element.
Definition: discontinuous.hh:61
unsigned int size() const
Return the number of basis functions.
Definition: discontinuous.hh:87
DiscontinuousLocalFiniteElement(LFE_ &&lfe)
Construct a finite element.
Definition: discontinuous.hh:51
LB LocalBasisType
type of the Basis
Definition: discontinuous.hh:37
const Traits::LocalInterpolationType & localInterpolation() const
Extract interpolation of this finite element.
Definition: discontinuous.hh:81