|
dune-pdelab 2.9
|
Loading...
Searching...
No Matches
Dune::PDELab::BasicTypeFromDimensionAndTopologyId< dimension, topologyId > Struct Template Reference
Utility TMP for determining the BasicType of a geometry from its dimension and topology id. More...
#include <dune/pdelab/common/topologyutility.hh>
Static Public Attributes | |
| static const bool | isCube |
| static const bool | isSimplex |
| static const GeometryType::BasicType | value |
| The BasicType of Topology. | |
Detailed Description
template<int dimension, unsigned int topologyId>
struct Dune::PDELab::BasicTypeFromDimensionAndTopologyId< dimension, topologyId >
struct Dune::PDELab::BasicTypeFromDimensionAndTopologyId< dimension, topologyId >
Utility TMP for determining the BasicType of a geometry from its dimension and topology id.
BasicTypeFromDimensionAndTopologyId invokes GenericGeometry-internal machinery to identify the GeometryType::BasicType that belongs to the given combination of dimension and topologyId.
This information is often useful when writing generic frontends for FiniteElementMaps that are specialized on dimension and BasicType.
- Template Parameters
-
dimension The dimension of the geometry. topologyId The topologyId of the geometry.
Member Data Documentation
◆ isCube
template<int dimension, unsigned int topologyId>
|
static |
Initial value:
=
((topologyId ^ ((1 << dimension)-1)) >> 1 == 0)
◆ isSimplex
template<int dimension, unsigned int topologyId>
|
static |
Initial value:
=
(topologyId | 1) == 1
◆ value
template<int dimension, unsigned int topologyId>
|
static |
Initial value:
=
: (
)
simplex
static const bool isSimplex
Definition topologyutility.hh:30
static const bool isCube
Definition topologyutility.hh:27
The BasicType of Topology.
The documentation for this struct was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8