2 #ifndef DUNE_PDELAB_FINITEELEMENTMAP_P0FEM_HH
3 #define DUNE_PDELAB_FINITEELEMENTMAP_P0FEM_HH
5 #include <dune/geometry/type.hh>
7 #include<dune/localfunctions/lagrange/p0.hh>
15 template<
class D,
class R,
int d>
37 std::size_t
size(GeometryType gt)
const
39 return gt == _gt ? 1 : 0;
48 const GeometryType _gt;
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
static constexpr bool hasDOFs(int codim)
Definition: p0fem.hh:32
std::size_t size(GeometryType gt) const
Definition: p0fem.hh:37
P0LocalFiniteElementMap(const Dune::GeometryType &type)
Definition: p0fem.hh:21
static constexpr std::size_t maxLocalSize()
Definition: p0fem.hh:42
static constexpr bool fixedSize()
Definition: p0fem.hh:27