2 #ifndef DUNE_PDELAB_FINITEELEMENTMAP_PK2DFEM_HH
3 #define DUNE_PDELAB_FINITEELEMENTMAP_PK2DFEM_HH
5 #warning dune/pdelab/finiteelementmap/pk2dfem.hh and Pk2DLocalFiniteElementMap are deprecated, please use dune/pdelab/finiteelementmap/pkfem.hh and PkLocalFiniteElementMap instead
7 #include <dune/common/deprecated.hh>
9 #include <dune/localfunctions/lagrange/pk2d.hh>
20 template<
typename GV,
typename D,
typename R,
unsigned int k>
28 : fem::PkLocalFiniteElementMapBase<GV,D,R,k,2>(gv)
43 template<
class Geometry,
class VertexOrderFactory,
class RF, std::
size_t k>
46 Pk2DFiniteElementFactory<Geometry, RF, k>, VertexOrderFactory
49 typedef Pk2DFiniteElementFactory<Geometry, RF, k> FEFactory;
51 FEFactory, VertexOrderFactory
54 static FEFactory &feFactory() {
55 static FEFactory feFactory_;
61 Base(feFactory(), voFactory)
69 std::size_t
size(GeometryType gt)
const
74 return k > 1 ? k - 1 : 0;
76 return k > 2 ? (k-2)*(k-1)/2 : (k == 0);
89 #endif // DUNE_PDELAB_FINITEELEMENTMAP_PK2DFEM_HH
std::size_t size(GeometryType gt) const
Definition: pk2dfem.hh:69
std::size_t maxLocalSize() const
Definition: pk2dfem.hh:80
Pk2DFiniteElementMap(const VertexOrderFactory &voFactory)
Definition: pk2dfem.hh:60
Definition: pk2dfem.hh:21
Pk2DLocalFiniteElementMap(const GV &gv)
Definition: pk2dfem.hh:27
Generic finite element map for global finite elements created with a geometry and a vertex ordering...
Definition: global.hh:61
bool fixedSize() const
Definition: pk2dfem.hh:64
Global-valued finite element map for Pk2D elements.
Definition: pk2dfem.hh:44