dune-geometry  2.6-git
Functions | Variables
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. More...
 
constexpr GeometryType cube (unsigned int dim)
 Returns a GeometryType representing a hypercube of dimension dim. More...
 
constexpr GeometryType none (unsigned int dim)
 Returns a GeometryType representing a singular of dimension dim. More...
 

Variables

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

Detailed Description

Predefined GeometryTypes for common geometries.