Dune Core Modules (2.6.0)

Dune::GeometryTypes Namespace Reference

Predefined GeometryTypes for common geometries. More...

Functions

constexpr GeometryType simplex (unsigned int dim)
 Returns a GeometryType representing a simplex of dimension dim.
 
constexpr GeometryType cube (unsigned int dim)
 Returns a GeometryType representing a hypercube of dimension dim.
 
constexpr GeometryType none (unsigned int dim)
 Returns a GeometryType representing a singular of dimension dim.
 

Variables

constexpr GeometryType vertex = GeometryType(0,0,false)
 GeometryType representing a vertex.
 
constexpr GeometryType line = GeometryType(0,1,false)
 GeometryType representing a line.
 
constexpr GeometryType triangle = simplex(2)
 GeometryType representing a triangle.
 
constexpr GeometryType quadrilateral = cube(2)
 GeometryType representing a quadrilateral (a square).
 
constexpr GeometryType tetrahedron = simplex(3)
 GeometryType representing a tetrahedron.
 
constexpr GeometryType pyramid = GeometryType(0b0011,3,false)
 GeometryType representing a 3D pyramid.
 
constexpr GeometryType prism = GeometryType(0b0101,3,false)
 GeometryType representing a 3D prism.
 
constexpr GeometryType hexahedron = cube(3)
 GeometryType representing a hexahedron.
 

Detailed Description

Predefined GeometryTypes for common geometries.

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Jun 16, 22:32, 2024)