|
|
| constexpr | GeometryType () |
| | Default constructor, not initializing anything. More...
|
| |
| | GeometryType (BasicType basicType, unsigned int dim) DUNE_DEPRECATED_MSG("The GeometryType const ructor taking BasicType is deprecated and will be removed after DUNE 2.6") |
| | Constructor, using the basic type and the dimension. More...
|
| |
| constexpr | GeometryType (unsigned int topologyId, unsigned int dim, bool none) |
| | Constructor, using the topologyId (integer), the dimension and a flag for type none. More...
|
| |
| constexpr | GeometryType (unsigned int topologyId, unsigned int dim) |
| | Constructor, using the topologyId (integer) and the dimension. More...
|
| |
| template<class TopologyType , class = Dune::void_t<decltype(TopologyType::dimension), decltype(TopologyType::id)>> |
| | GeometryType (TopologyType t) |
| | Constructor from static TopologyType class. More...
|
| |
| | GeometryType (unsigned int dim) |
| | Constructor for vertices and segments. More...
|
| |
| | GeometryType (int dim) |
| | Constructor for vertices and segments. More...
|
| |
|
| | DUNE_DEPRECATED_MSG ("makeVertex() is deprecated in DUNE 2.6, please use Dune::GeometryTypes::vertex instead") void makeVertex() |
| | Make a vertex. More...
|
| |
| | DUNE_DEPRECATED_MSG ("makeLine() is deprecated in DUNE 2.6, please use Dune::GeometryTypes::line instead") void makeLine() |
| | Make a line segment. More...
|
| |
| | DUNE_DEPRECATED_MSG ("makeTriangle() is deprecated in DUNE 2.6, please use Dune::GeometryTypes::triangle instead") void makeTriangle() |
| | Make a triangle. More...
|
| |
| | DUNE_DEPRECATED_MSG ("makeQuadrilateral() is deprecated in DUNE 2.6, please use Dune::GeometryTypes::quadrilateral instead") void makeQuadrilateral() |
| | Make a quadrilateral. More...
|
| |
| | DUNE_DEPRECATED_MSG ("makeTetrahedron() is deprecated in DUNE 2.6, please use Dune::GeometryTypes::tetrahedron instead") void makeTetrahedron() |
| | Make a tetrahedron. More...
|
| |
| | DUNE_DEPRECATED_MSG ("makePyramid() is deprecated in DUNE 2.6, please use Dune::GeometryTypes::pyramid instead") void makePyramid() |
| | Make a pyramid. More...
|
| |
| | DUNE_DEPRECATED_MSG ("makePrism() is deprecated in DUNE 2.6, please use Dune::GeometryTypes::prism instead") void makePrism() |
| | Make a prism. More...
|
| |
| | DUNE_DEPRECATED_MSG ("makeHexahedron() is deprecated in DUNE 2.6, please use Dune::GeometryTypes::hexahedron instead") void makeHexahedron() |
| | Make a hexahedron. More...
|
| |
| | DUNE_DEPRECATED_MSG ("makeSimplex(dim) is deprecated in DUNE 2.6, please use Dune::GeometryTypes::simplex(dim) instead") void makeSimplex(unsigned int dim) |
| | Make a simplex of given dimension. More...
|
| |
| | DUNE_DEPRECATED_MSG ("makeCube(dim) is deprecated in DUNE 2.6, please use Dune::GeometryTypes::cube(dim) instead") void makeCube(unsigned int dim) |
| | Make a hypercube of given dimension. More...
|
| |
| | DUNE_DEPRECATED_MSG ("makeNone(dim) is deprecated in DUNE 2.6, please use Dune::GeometryTypes::none(dim) instead") void makeNone(unsigned int dim) |
| | Make a singular of given dimension. More...
|
| |
| void | makeFromVertices (unsigned int dim, unsigned int vertices) DUNE_DEPRECATED_MSG("Use the utility function geometryTypeFromVertexCount(...) instead.") |
| | Construct the correct geometry type given the dimension and the number of vertices. More...
|
| |
|
| constexpr bool | isVertex () const |
| | Return true if entity is a vertex. More...
|
| |
| constexpr bool | isLine () const |
| | Return true if entity is a line segment. More...
|
| |
| constexpr bool | isTriangle () const |
| | Return true if entity is a triangle. More...
|
| |
| constexpr bool | isQuadrilateral () const |
| | Return true if entity is a quadrilateral. More...
|
| |
| constexpr bool | isTetrahedron () const |
| | Return true if entity is a tetrahedron. More...
|
| |
| constexpr bool | isPyramid () const |
| | Return true if entity is a pyramid. More...
|
| |
| constexpr bool | isPrism () const |
| | Return true if entity is a prism. More...
|
| |
| constexpr bool | isHexahedron () const |
| | Return true if entity is a hexahedron. More...
|
| |
| constexpr bool | isSimplex () const |
| | Return true if entity is a simplex of any dimension. More...
|
| |
| constexpr bool | isCube () const |
| | Return true if entity is a cube of any dimension. More...
|
| |
| constexpr bool | isNone () const |
| | Return true if entity is a singular of any dimension. More...
|
| |
| constexpr unsigned int | dim () const |
| | Return dimension of the type. More...
|
| |
| constexpr unsigned int | id () const |
| | Return the topology id of the type. More...
|
| |
|
| constexpr bool | operator== (const GeometryType &other) const |
| | Check for equality. This method knows that in dimension 0 and 1 all BasicTypes are equal. More...
|
| |
| constexpr bool | operator!= (const GeometryType &other) const |
| | Check for inequality. More...
|
| |
| constexpr bool | operator< (const GeometryType &other) const |
| | less-than operation for use with maps More...
|
| |
Unique label for each type of entities that can occur in DUNE grids.
This class has to be extended if a grid implementation with new entity types is added to DUNE.
GeometryType is a C++ "literal type" and can be used in constexpr context if created with a constexpr constructor.