[This is preliminary documentation and is subject to change.]
Retrieve the number of 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_count( int comm, int rank, out int nneighbors ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function MPI_Graph_neighbors_count ( _ comm As Integer, _ rank As Integer, _ <OutAttribute> ByRef nneighbors As Integer _ ) As Integer |
| Visual C++ |
|---|
public: static int MPI_Graph_neighbors_count( int comm, int rank, [OutAttribute] int% nneighbors ) |
Parameters
- comm
- Type: System..::.Int32
The communicator.
- rank
- Type: System..::.Int32
The rank of the node of interest.
- nneighbors
- Type:
System..::.Int32
%
Output parameter to store the number of neighbors.