petsc-3.12.5 2020-03-29
Report Typos and Errors

MatPartitioningSetUseEdgeWeights

Set a flag to indicate whether or not to use edge weights.

Synopsis

#include "petscmat.h" 
PetscErrorCode  MatPartitioningSetUseEdgeWeights(MatPartitioning part,PetscBool use_edge_weights)
Logically Collective on Partitioning

Input Parameters

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.

Options Database Keys

-mat_partitioning_use_edge_weights -(true or false)

See Also

MatPartitioningCreate(), MatPartitioningSetType(), MatPartitioningSetVertexWeights(), MatPartitioningSetPartitionWeights()

Level

beginner

Location

src/mat/partition/partition.c

Examples

src/mat/examples/tutorials/ex15.c.html

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