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>
25 (k == 1) or (GV::dimension == 2 or GV::dimension == 3),
26 "QkLocalFiniteElementMap with k = 2 is only implemented for d = 2,3"
31 "QkLocalFiniteElementMap is only implemented for k = 1,2"
47 return codim == GV::dimension;
55 static constexpr std::size_t
size(GeometryType gt)
60 return gt == GeometryTypes::vertex ? 1 : 0;
72 for (std::size_t i = 0; i < GV::dimension; ++i)
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 std::size_t maxLocalSize()
Definition: qkfem.hh:69
static constexpr bool fixedSize()
Definition: qkfem.hh:37
QkLocalFiniteElementMap(const GV &gv)
Definition: qkfem.hh:34
static constexpr bool hasDOFs(int codim)
Definition: qkfem.hh:42
static constexpr std::size_t size(GeometryType gt)
Definition: qkfem.hh:55