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;
55 #endif // DUNE_PDELAB_FINITEELEMENTMAP_P0FEM_HH bool hasDOFs(int codim) const
Definition: p0fem.hh:32
P0LocalFiniteElementMap(const Dune::GeometryType &type)
Definition: p0fem.hh:21
simple implementation where all entities have the same finite element
Definition: finiteelementmap.hh:95
std::size_t size(GeometryType gt) const
Definition: p0fem.hh:37
bool fixedSize() const
Definition: p0fem.hh:27
For backward compatibility – Do not use this!
Definition: adaptivity.hh:27
std::size_t maxLocalSize() const
Definition: p0fem.hh:42