4#ifndef DUNE_PDELAB_FINITEELEMENTMAP_SERENDIPITYFEM_HH
5#define DUNE_PDELAB_FINITEELEMENTMAP_SERENDIPITYFEM_HH
9#include "serendipity.hh"
10#include <dune/pdelab/finiteelementmap/finiteelementmap.hh>
17 template<
typename GV,
typename D,
typename R, std::
size_t k>
19 :
public SimpleLocalFiniteElementMap< Dune::SerendipityLocalFiniteElement<D,R,GV::dimension,k>,GV::dimension>
26 "SerendipityLocalFiniteElementMap is only implemented for d = 1,2,3"
31 "SerendipityLocalFiniteElementMap is only available for k = 2"
37 static constexpr bool fixedSize()
42 static constexpr bool hasDOFs(
int codim)
47 static constexpr std::size_t size(GeometryType gt)
49 return (gt.isVertex() || gt.isLine() ) ? 1 : 0;
52 static constexpr std::size_t maxLocalSize()
54 const auto d = GV::dimension;
Definition: serendipityfem.hh:20