#include "petscmat.h" PetscErrorCode MatPartitioningSetUseEdgeWeights(MatPartitioning part,PetscBool use_edge_weights)Logically Collective on Partitioning
part | - the partitioning context | |
use_edge_weights | - the flag indicateing whether or not to use edge weights. By default no edge weights will be used, that is, use_edge_weights is set to FALSE. If set use_edge_weights to TRUE, users need to make sure legal edge weights are stored in an ADJ matrix. |
-mat_partitioning_use_edge_weights | - (true or false) |