4#ifndef DUNE_PDELAB_FINITEELEMENTMAP_EDGES0_5FEM_HH
5#define DUNE_PDELAB_FINITEELEMENTMAP_EDGES0_5FEM_HH
7#include <dune/localfunctions/whitney/edges0.5.hh>
23 template<
class Geometry,
class VertexOrderFactory,
class RF>
26 EdgeS0_5FiniteElementFactory<Geometry, RF>, VertexOrderFactory
29 typedef EdgeS0_5FiniteElementFactory<Geometry, RF> FEFactory;
31 FEFactory, VertexOrderFactory
34 static FEFactory &feFactory() {
35 static FEFactory feFactory_;
42 static constexpr int dimension = Geometry::mydimension;
45 Base(feFactory(), voFactory)
55 return Geometry::mydimension - codim == 1;
58 static constexpr std::size_t
size(GeometryType gt)
60 return gt == GeometryTypes::line ? 1 : 0;
For backward compatibility – Do not use this!
Definition adaptivity.hh:28
Global-valued finite element map for EdgeS0_5 elements.
Definition edges0.5fem.hh:28
static constexpr std::size_t maxLocalSize()
Definition edges0.5fem.hh:63
EdgeS0_5FiniteElementMap(const VertexOrderFactory &voFactory)
Definition edges0.5fem.hh:44
static constexpr bool hasDOFs(int codim)
Definition edges0.5fem.hh:53
static constexpr bool fixedSize()
Definition edges0.5fem.hh:48
static constexpr std::size_t size(GeometryType gt)
Definition edges0.5fem.hh:58
static constexpr int dimension
The dimension of the finite elements returned by this map.
Definition edges0.5fem.hh:42
Generic finite element map for global finite elements created with a geometry and a vertex ordering.
Definition global.hh:62