5 #ifndef DUNE_LOCALFUNCTIONS_REFINED_REFINEDP1_HH 6 #define DUNE_LOCALFUNCTIONS_REFINED_REFINEDP1_HH 8 #include <dune/geometry/type.hh> 27 template<
class D,
class R,
int dim>
34 Impl::LagrangeSimplexLocalCoefficients<dim,2>,
35 Impl::LagrangeSimplexLocalInterpolation<Impl::LagrangeSimplexLocalBasis<D,R,dim,2> > >
Traits;
60 return interpolation_;
71 static constexpr GeometryType
type ()
73 return GeometryTypes::simplex(dim);
78 Impl::LagrangeSimplexLocalCoefficients<dim,2> coefficients_;
83 Impl::LagrangeSimplexLocalInterpolation<Impl::LagrangeSimplexLocalBasis<D,R,dim,2> > interpolation_;
88 #endif // DUNE_LOCALFUNCTIONS_REFINED_REFINEDP1_HH traits helper struct
Definition: localfiniteelementtraits.hh:12
Definition: refinedp1localbasis.hh:21
LC LocalCoefficientsType
Definition: localfiniteelementtraits.hh:20
Definition: bdfmcube.hh:17
const Traits::LocalInterpolationType & localInterpolation() const
Evaluates all degrees of freedom for a given function.
Definition: refinedp1.hh:58
const Traits::LocalBasisType & localBasis() const
The set of shape functions.
Definition: refinedp1.hh:44
static constexpr GeometryType type()
The element type that this finite element is defined on.
Definition: refinedp1.hh:71
LocalFiniteElementTraits< RefinedP1LocalBasis< D, R, dim >, Impl::LagrangeSimplexLocalCoefficients< dim, 2 >, Impl::LagrangeSimplexLocalInterpolation< Impl::LagrangeSimplexLocalBasis< D, R, dim, 2 > > > Traits
Export all types used by this implementation.
Definition: refinedp1.hh:35
Linear Lagrange shape functions on a uniformly refined reference element.
const Traits::LocalCoefficientsType & localCoefficients() const
Produces the assignments of the degrees of freedom to the element subentities.
Definition: refinedp1.hh:51
RefinedP1LocalFiniteElement()
Default constructor.
Definition: refinedp1.hh:39
unsigned int size() const
Number of shape functions of this finite element.
Definition: refinedp1.hh:64
LI LocalInterpolationType
Definition: localfiniteelementtraits.hh:24
LB LocalBasisType
Definition: localfiniteelementtraits.hh:16
Piecewise linear continuous Lagrange functions on a uniformly refined simplex element.
Definition: refinedp1.hh:28