13.7. C++ Bindings for Process Topologies


Up: MPI-1 C++ Language Binding Next: C++ Bindings for Environmental Inquiry Previous: C++ Bindings for Groups, Contexts, and Communicators


namespace MPI { 
Cartcomm Intracomm::Create_cart(int ndims, const int dims[], const bool periods[], bool reorder) const
void Compute_dims(int nnodes, int ndims, int dims[])
Graphcomm Intracomm::Create_graph(int nnodes, const int index[], const int edges[], bool reorder) const
int Comm::Get_topology() const
void Graphcomm::Get_dims(int nnodes[], int nedges[]) const
void Graphcomm::Get_topo(int maxindex, int maxedges, int index[], int edges[]) const
int Cartcomm::Get_dim() const
void Cartcomm::Get_topo(int maxdims, int dims[], bool periods[], int coords[]) const
int Cartcomm::Get_cart_rank(const int coords[]) const
void Cartcomm::Get_coords(int rank, int maxdims, int coords[]) const
int Graphcomm::Get_neighbors_count(int rank) const
void Graphcomm::Get_neighbors(int rank, int maxneighbors, int neighbors[]) const
void Cartcomm::Shift(int direction, int disp, int& rank_source, int& rank_dest) const
Cartcomm Cartcomm::Sub(const bool remain_dims[]) const
int Cartcomm::Map(int ndims, const int dims[], const bool periods[]) const
int Graphcomm::Map(int nnodes, const int index[], const int edges[]) const

}; 



Up: MPI-1 C++ Language Binding Next: C++ Bindings for Environmental Inquiry Previous: C++ Bindings for Groups, Contexts, and Communicators


Return to MPI-2 Standard Index
Return to MPI 1.1 Standard Index
Return to MPI Forum Home Page

MPI-2.0 of July 18, 1997
HTML Generated on September 10, 2001