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();
Definition bdfmcube.hh:18
const Q1FiniteElementFactory< Geometry, RF >::LFE Q1FiniteElementFactory< Geometry, RF >::lfe
Definition q1.hh:47
DiscontinuousLocalFiniteElement(LFE lfe) -> DiscontinuousLocalFiniteElement< LFE >
Meta-finite element turning a finite-element into "discontinuous" finite-element by associating all b...
Definition discontinuous.hh:26
DiscontinuousLocalFiniteElement(LFE_ &&lfe)
Construct a finite element.
Definition discontinuous.hh:51
const Traits::LocalInterpolationType & localInterpolation() const
Extract interpolation of this finite element.
Definition discontinuous.hh:81
const GeometryType type() const
Return the geometry type the finite element can be bound to.
Definition discontinuous.hh:93
const Traits::LocalBasisType & localBasis() const
Extract basis of this finite element.
Definition discontinuous.hh:61
const Traits::LocalCoefficientsType & localCoefficients() const
Extract coefficients of this finite element.
Definition discontinuous.hh:71
unsigned int size() const
Return the number of basis functions.
Definition discontinuous.hh:87
types of component objects
Definition discontinuous.hh:35
LB LocalBasisType
type of the Basis
Definition discontinuous.hh:37
LI LocalInterpolationType
type of the Interpolation
Definition discontinuous.hh:41
DGLocalCoefficients LocalCoefficientsType
type of the Coefficients
Definition discontinuous.hh:39
A class providing local coefficients for dg spaces.
Definition dglocalcoefficients.hh:23