GEOS
Public Member Functions | List of all members
geos::PartitionDescriptor Class Reference

Simple utility to retrieve partition information in case of Metis or Spatial partition. More...

#include <PartitionDescriptor.hpp>

Public Member Functions

bool hasMetisNeighborList () const
 indicate if the partition is described using a Metis Neighbor list. More...
 
void setHasMetisNeighborList (bool hasMetisNeighborList)
 Sets the boolean that indicates if the partition is described using a Metis Neighbor list. More...
 
std::set< int > const & getMetisNeighborList () const
 Gets a reference to the list of metis neighbor list. More...
 
void setMetisNeighborList (std::vector< int > const &metisNeighborList)
 Sets the list of metis neighbor list. More...
 
bool hasSpatialPartition () const
 indicate if the partition is described using a spatial partition. More...
 
void setHasSpatialPartition (bool hasSpatialPartition)
 Sets the boolean that indicates if the partition is described using a Metis Neighbor list. More...
 
SpatialPartition const & getSpatialPartition () const
 Returns a reference to the spatialPartition. More...
 
void setSpatialPartition (SpatialPartition const &spatialPartition)
 Sets the spatialPartition. More...
 

Detailed Description

Simple utility to retrieve partition information in case of Metis or Spatial partition.

Definition at line 35 of file PartitionDescriptor.hpp.

Member Function Documentation

◆ 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
hasMetisNeighborListA 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
hasSpatialPartitiona 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
metisNeighborListA 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
spatialPartitionThe spatial partiton.

Definition at line 88 of file PartitionDescriptor.hpp.


The documentation for this class was generated from the following file: