Simple utility to retrieve partition information in case of Metis or Spatial partition.
More...
#include <PartitionDescriptor.hpp>
Simple utility to retrieve partition information in case of Metis or Spatial partition.
Definition at line 35 of file PartitionDescriptor.hpp.
◆ getMetisNeighborList()
std::set< int > const& geos::PartitionDescriptor::getMetisNeighborList |
( |
| ) |
const |
|
inline |
Gets a reference to the list of metis neighbor list.
- Returns
- A reference to the Metis neighbor list.
Definition at line 54 of file PartitionDescriptor.hpp.
◆ getSpatialPartition()
SpatialPartition const& geos::PartitionDescriptor::getSpatialPartition |
( |
| ) |
const |
|
inline |
Returns a reference to the spatialPartition.
- Returns
- The spatial partiton.
Definition at line 82 of file PartitionDescriptor.hpp.
◆ hasMetisNeighborList()
bool geos::PartitionDescriptor::hasMetisNeighborList |
( |
| ) |
const |
|
inline |
indicate if the partition is described using a Metis Neighbor list.
- Returns
- A boolean indicating if the partition is described usins a Metis neighbor list.
Definition at line 42 of file PartitionDescriptor.hpp.
◆ hasSpatialPartition()
bool geos::PartitionDescriptor::hasSpatialPartition |
( |
| ) |
const |
|
inline |
indicate if the partition is described using a spatial partition.
- Returns
- A boolean indicating if the parition is described using a spatial partition.
Definition at line 70 of file PartitionDescriptor.hpp.
◆ setHasMetisNeighborList()
void geos::PartitionDescriptor::setHasMetisNeighborList |
( |
bool |
hasMetisNeighborList | ) |
|
|
inline |
Sets the boolean that indicates if the partition is described using a Metis Neighbor list.
- Parameters
-
hasMetisNeighborList | A boolean indicating if the partition is described usins a Metis neighbor list. |
Definition at line 48 of file PartitionDescriptor.hpp.
◆ setHasSpatialPartition()
void geos::PartitionDescriptor::setHasSpatialPartition |
( |
bool |
hasSpatialPartition | ) |
|
|
inline |
Sets the boolean that indicates if the partition is described using a Metis Neighbor list.
- Parameters
-
hasSpatialPartition | a boolean indicating if the parition is described using a spatial partition. |
Definition at line 76 of file PartitionDescriptor.hpp.
◆ setMetisNeighborList()
void geos::PartitionDescriptor::setMetisNeighborList |
( |
std::vector< int > const & |
metisNeighborList | ) |
|
|
inline |
Sets the list of metis neighbor list.
- Parameters
-
metisNeighborList | A reference to the Metis neighbor list. |
Definition at line 60 of file PartitionDescriptor.hpp.
◆ setSpatialPartition()
void geos::PartitionDescriptor::setSpatialPartition |
( |
SpatialPartition const & |
spatialPartition | ) |
|
|
inline |
Sets the spatialPartition.
- Parameters
-
spatialPartition | The spatial partiton. |
Definition at line 88 of file PartitionDescriptor.hpp.
The documentation for this class was generated from the following file: