[This is preliminary documentation and is subject to change.]
Retrieve a list of the neighbors of a node.
Namespace:
MPIAssembly: MPI (in MPI.dll)
Version: 0.8.0.0 (0.8.0.0)
Syntax
| C# |
|---|
public static int MPI_Graph_neighbors( int comm, int rank, int maxneighbors, int* neighbors ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function MPI_Graph_neighbors ( _ comm As Integer, _ rank As Integer, _ maxneighbors As Integer, _ neighbors As Integer* _ ) As Integer |
| Visual C++ |
|---|
public: static int MPI_Graph_neighbors( int comm, int rank, int maxneighbors, int* neighbors ) |
Parameters
- comm
- Type: System..::.Int32
The communicator.
- rank
- Type: System..::.Int32
The rank of the node of interest.
- maxneighbors
- Type: System..::.Int32
The size of neighbors.
- neighbors
- Type:
System..::.Int32
*
Output array to store the list of neighbors.