#include "petscmat.h" PetscErrorCode MatPartitioningSetVertexWeights(MatPartitioning part,const PetscInt weights[])Logically Collective on Partitioning
part | - the partitioning context | |
weights | - the weights, on each process this array must have the same size as the number of local rows |