1 #ifndef __COMM_TOPOLOGY__
2 #define __COMM_TOPOLOGY__
48 std::vector<unsigned int>
dims_;
Specifies interface for topology policies.
CommTopology(MPI_Comm comm=MPI_COMM_WORLD)
virtual void discover()=0
every implementation must provide a discover method
std::vector< unsigned int > dims_
unsigned int getNumDimensions() const
std::vector< unsigned int > getCoordinates() const
std::vector< unsigned int > getDimensions() const
unsigned int getCoreID() const
std::vector< unsigned int > coords_