3 #ifndef DUNE_PDELAB_COMMON_TOPOLOGYUTILITY_HH
4 #define DUNE_PDELAB_COMMON_TOPOLOGYUTILITY_HH
6 #include <dune/geometry/type.hh>
24 template<
int dimension,
unsigned int topologyId>
28 ((topologyId ^ ((1 << dimension)-1)) >> 1 == 0);
31 (topologyId | 1) == 1;
34 static const GeometryType::BasicType
value =
37 isCube ? GeometryType::cube
For backward compatibility – Do not use this!
Definition: adaptivity.hh:28
Utility TMP for determining the BasicType of a geometry from its dimension and topology id.
Definition: topologyutility.hh:26
static const bool isSimplex
Definition: topologyutility.hh:30
static const GeometryType::BasicType value
The BasicType of Topology.
Definition: topologyutility.hh:34
static const bool isCube
Definition: topologyutility.hh:27