2 #ifndef DUNE_PDELAB_FINITEELEMENTMAP_BREZZIDOUGLASMARINIFEM_HH 3 #define DUNE_PDELAB_FINITEELEMENTMAP_BREZZIDOUGLASMARINIFEM_HH 5 #include <dune/grid/common/capabilities.hh> 25 template<
typename GV,
int dim, GeometryType::BasicType basic_type,
typename D,
typename R, std::
size_t k>
26 struct BrezziDouglasMariniLocalFiniteElementMapBaseSelector
28 static_assert((
AlwaysFalse<GV>::value),
"The requested type of Brezzi-Douglas-Marini element is not implemented, sorry!");
36 template<
typename GV,
typename D,
typename R>
37 struct BrezziDouglasMariniLocalFiniteElementMapBaseSelector<GV,2,GeometryType::simplex,D,R,1>
39 typedef BDM1Simplex2DLocalFiniteElementMap<GV,D,R> type;
42 template<
typename GV,
typename D,
typename R>
43 struct BrezziDouglasMariniLocalFiniteElementMapBaseSelector<GV,2,GeometryType::cube,D,R,1>
45 typedef BDM1Cube2DLocalFiniteElementMap<GV,D,R> type;
76 GeometryType::BasicType basic_type = BasicTypeFromDimensionAndTopologyId<
78 Capabilities::hasSingleGeometryType<typename GV::Grid>::topologyId
82 public detail::BrezziDouglasMariniLocalFiniteElementMapBaseSelector<GV,GV::dimension,basic_type,D,R,k>::type
89 : detail::BrezziDouglasMariniLocalFiniteElementMapBaseSelector<GV,GV::dimension,basic_type,D,R,k>::type(gv)
97 template<
typename GV,
typename D,
typename R, std::
size_t k>
101 "Your chosen grid does not export a usable topology id for its cells." 102 "Please provide the correct GeometryType::BasicType as an additional template parameter.");
110 #endif // DUNE_PDELAB_FINITEELEMENTMAP_BREZZIDOUGLASMARINIFEM_HH static const unsigned int value
Definition: gridfunctionspace/tags.hh:139
Definition: brezzidouglasmarinifem.hh:81
For backward compatibility – Do not use this!
Definition: adaptivity.hh:27
BrezziDouglasMariniLocalFiniteElementMap(const GV &gv)
Constructs a finite element map on the GridView gv.
Definition: brezzidouglasmarinifem.hh:88