6#ifndef DUNE_PDELAB_FINITEELEMENTMAP_PK1D_HH
7#define DUNE_PDELAB_FINITEELEMENTMAP_PK1D_HH
9#include<dune/localfunctions/lagrange.hh>
10#include<dune/localfunctions/lagrange/equidistantpoints.hh>
25 template<
class D,
class R>
32 :
Dune::PDELab::
SimpleLocalFiniteElementMap<LagrangeLocalFiniteElement<EquidistantPointSet,1,D,R>,1>(LagrangeLocalFiniteElement<EquidistantPointSet,1,D,R>(GeometryTypes::cube(1),k))
53 std::size_t
size(GeometryType gt)
const
56 return _k > 0 ? 1 : 0;
58 return _k > 0 ? _k - 1 : 1;
For backward compatibility – Do not use this!
Definition adaptivity.hh:28
simple implementation where all entities have the same finite element
Definition finiteelementmap.hh:101
FiniteElementMap for the Pk basis in 1d.
Definition finiteelementmap/pk1d.hh:28
static constexpr bool fixedSize()
Definition finiteelementmap/pk1d.hh:36
bool hasDOFs(int codim) const
Definition finiteelementmap/pk1d.hh:41
Pk1dLocalFiniteElementMap(std::size_t k)
Definition finiteelementmap/pk1d.hh:31
std::size_t maxLocalSize() const
Definition finiteelementmap/pk1d.hh:62
std::size_t size(GeometryType gt) const
Definition finiteelementmap/pk1d.hh:53