template<class ct, int dimworld>
class Dumux::ProcessGeometricEntitySet< ct, dimworld >
Used as the entity set of the replicated "process tree" of a Dumux::DistributedBoundingBoxTree: each entity is the partition bounding box of a process and carries the owning rank, so that the index-to-rank mapping lives with the entity set itself.
|
| | ProcessGeometricEntitySet (std::vector< Entity > &&entities) |
| | Constructor from a vector of process partition entities.
|
| std::size_t | size () const |
| | the number of entities in this set
|
| decltype(auto) | begin () const |
| | begin iterator to enable range-based for iteration
|
| decltype(auto) | end () const |
| | end iterator to enable range-based for iteration
|
| std::size_t | index (const Entity &e) const |
| | get an entities index
|
| const Entity & | entity (std::size_t index) const |
| | get an entity from an index
|
| int | rank (std::size_t index) const |
| | get the rank owning the entity with the given index
|