An interface for a set of geometric entities. More...
#include <dumux/common/geometry/geometricentityset.hh>
An interface for a set of geometric entities.
Public Types | |
enum | { dimensionworld = Entity::Geometry::coorddimension } |
The world dimension of the entity set. More... | |
using | Entity = EntityWrapper |
using | ctype = typename Entity::Geometry::ctype |
the coordinate type More... | |
Public Member Functions | |
GeometriesEntitySet (std::initializer_list< typename Entity::Geometry > &&geometries) | |
Constructor for initializer_list. More... | |
GeometriesEntitySet (const std::vector< typename Entity::Geometry > &geometries) | |
Constructor for a vector of geometries. More... | |
GeometriesEntitySet (std::vector< typename Entity::Geometry > &&geometries) | |
Constructor for a vector of geometries. More... | |
decltype(auto) | size () const |
the number of entities in this set More... | |
decltype(auto) | begin () const |
begin iterator to enable range-based for iteration More... | |
decltype(auto) | end () const |
end iterator to enable range-based for iteration More... | |
template<class Entity > | |
std::size_t | index (const Entity &e) const |
get an entities index More... | |
Entity | entity (std::size_t index) const |
get an entity from an index More... | |
using Dumux::GeometriesEntitySet< GeoType >::ctype = typename Entity::Geometry::ctype |
the coordinate type
using Dumux::GeometriesEntitySet< GeoType >::Entity = EntityWrapper |
anonymous enum |
|
inline |
Constructor for initializer_list.
|
inline |
Constructor for a vector of geometries.
|
inline |
Constructor for a vector of geometries.
|
inline |
begin iterator to enable range-based for iteration
|
inline |
end iterator to enable range-based for iteration
|
inline |
get an entity from an index
|
inline |
get an entities index
|
inline |
the number of entities in this set