Dune Core Modules (2.4.1)
Dune::GenericGeometry::DuneGeometryTypeProvider< dim, linetype > Class Template Reference
dynamically convert a generic topology type into a GeometryType More...
#include <dune/geometry/genericgeometry/conversion.hh>
Static Public Member Functions | |
static const GeometryType & | type (unsigned int topologyId) |
obtain a Geometry type from a topology id More... | |
Static Public Attributes | |
static const unsigned int | dimension = dim |
dimension of the topologies to be converted | |
static const unsigned int | numTopologies = (1 << dimension) |
number of possible topologies | |
Detailed Description
template<unsigned int dim, GeometryType::BasicType linetype>
class Dune::GenericGeometry::DuneGeometryTypeProvider< dim, linetype >
class Dune::GenericGeometry::DuneGeometryTypeProvider< dim, linetype >
dynamically convert a generic topology type into a GeometryType
- Template Parameters
-
dim dimension of the topologies to be converted linetype basic geometry type to assign to a line (either simplex or cube)
- Note
- After 3D not all geometries are simplices, pyramids, prisms or cubes so that no meaningful GeometryType is available; therefore none is returned.
Member Function Documentation
◆ type()
template<unsigned int dim, GeometryType::BasicType linetype>
|
inlinestatic |
obtain a Geometry type from a topology id
- Parameters
-
[in] topologyId id of the topology to be converted
- Returns
- GeometryType associated with the given topology id
References Dune::GenericGeometry::DuneGeometryTypeProvider< dim, linetype >::numTopologies.
The documentation for this class was generated from the following file:
- dune/geometry/genericgeometry/conversion.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 22, 23:30, 2024)