#include "petscpartitioner.h" PetscErrorCode PetscPartitionerPartition(PetscPartitioner part, PetscInt nparts, PetscInt numVertices, PetscInt start[], PetscInt adjacency[], PetscSection vertexSection, PetscSection targetSection, PetscSection partSection, IS *partition)Collective on PetscPartitioner
part | - The PetscPartitioner | |
nparts | - Number of partitions | |
numVertices | - Number of vertices in the local part of the graph | |
start | - row pointers for the local part of the graph (CSR style) | |
adjacency | - adjacency list (CSR style) | |
vertexSection | - PetscSection describing the absolute weight of each local vertex (can be NULL) | |
targetSection | - PetscSection describing the absolute weight of each partition (can be NULL) |
partSection | - The PetscSection giving the division of points by partition | |
partition | - The list of points by partition |
-petscpartitioner_view | - View the partitioner information | |
-petscpartitioner_view_graph | - View the graph we are partitioning |