MatPartitioningSetAdjacency#

Sets the adjacency graph (matrix) of the thing to be partitioned.

Synopsis#

Collective

Input Parameters#

  • part - the partitioning context

  • adj - the adjacency matrix, this can be any MatType but the natural representation is MATMPIADJ

See Also#

Matrices, Mat, MatPartitioning, MatPartitioningType, MatPartitioningCreate()

Level#

beginner

Location#

src/mat/graphops/partition/partition.c

Examples#

src/mat/tutorials/ex15.c
src/ksp/ksp/tutorials/ex64.c
src/mat/tutorials/ex17.c
src/mat/tutorials/ex11.c


Index of all MatGraphOperations routines
Table of Contents for all manual pages
Index of all manual pages