4 #ifndef DUNE_PDELAB_FINITEELEMENTMAP_QKFEM_HH 5 #define DUNE_PDELAB_FINITEELEMENTMAP_QKFEM_HH 9 #include <dune/localfunctions/lagrange/qk.hh> 17 template<
typename GV,
typename D,
typename R, std::
size_t k>
37 return codim == GV::dimension;
39 if (GV::dimension != 2 && GV::dimension != 3)
40 DUNE_THROW(NotImplemented,
"QkLocalFiniteElementMap with k = 2 is only implemented for d = 2,3");
43 DUNE_THROW(NotImplemented,
"QkLocalFiniteElementMap is only implemented for k <= 2");
47 std::size_t
size(GeometryType gt)
const 52 return gt.isVertex() ? 1 : 0;
55 if (GV::dimension != 2 && GV::dimension != 3)
56 DUNE_THROW(NotImplemented,
"QkLocalFiniteElementMap with k = 2 is only implemented for d = 2,3");
61 DUNE_THROW(NotImplemented,
"QkLocalFiniteElementMap is only implemented for k <= 2");
68 for (std::size_t i = 0; i < GV::dimension; ++i)
78 #endif // DUNE_PDELAB_FINITEELEMENTMAP_QKFEM_HH bool fixedSize() const
Definition: qkfem.hh:27
QkLocalFiniteElementMap(const GV &gv)
Definition: qkfem.hh:24
std::size_t size(GeometryType gt) const
Definition: qkfem.hh:47
bool hasDOFs(int codim) const
Definition: qkfem.hh:32
simple implementation where all entities have the same finite element
Definition: finiteelementmap.hh:95
std::size_t maxLocalSize() const
Definition: qkfem.hh:65
For backward compatibility – Do not use this!
Definition: adaptivity.hh:27