20 #ifndef GEOS_MESH_PARTITIONDESCRIPTOR_H_
21 #define GEOS_MESH_PARTITIONDESCRIPTOR_H_
23 #include "mesh/mpiCommunications/SpatialPartition.hpp"
62 m_metisNeighborList.clear();
63 m_metisNeighborList.insert( metisNeighborList.cbegin(), metisNeighborList.cend() );
88 void setSpatialPartition( SpatialPartition
const & spatialPartition ) { m_spatialPartition = spatialPartition; }
92 bool m_hasMetisNeighborList;
93 std::set< int > m_metisNeighborList;
94 SpatialPartition m_spatialPartition;
Simple utility to retrieve partition information in case of Metis or Spatial partition.
void setHasMetisNeighborList(bool hasMetisNeighborList)
Sets the boolean that indicates if the partition is described using a Metis Neighbor list.
SpatialPartition const & getSpatialPartition() const
Returns a reference to the spatialPartition.
void setSpatialPartition(SpatialPartition const &spatialPartition)
Sets the spatialPartition.
void setHasSpatialPartition(bool hasSpatialPartition)
Sets the boolean that indicates if the partition is described using a Metis Neighbor list.
std::set< int > const & getMetisNeighborList() const
Gets a reference to the list of metis neighbor list.
bool hasMetisNeighborList() const
indicate if the partition is described using a Metis Neighbor list.
bool hasSpatialPartition() const
indicate if the partition is described using a spatial partition.
void setMetisNeighborList(std::vector< int > const &metisNeighborList)
Sets the list of metis neighbor list.