MatColoringSetType#
Sets the type of coloring algorithm used
Synopsis#
#include "petscmat.h"
PetscErrorCode MatColoringSetType(MatColoring mc, MatColoringType type)
Collective
Input Parameters#
mc - the
MatColoring
contexttype - the type of coloring
Options Database Key#
-mat_coloring_type type - the name of the type
Note#
Possible types include the sequential types MATCOLORINGLF
,
MATCOLORINGSL
, and MATCOLORINGID
from the MINPACK package as well
as a parallel MATCOLORINGGREEDY
algorithm.
See Also#
MatColoring
, MatColoringSetFromOptions()
, MatColoringType
, MatColoringCreate()
, MatColoringApply()
Level#
beginner
Location#
Examples#
Index of all MatGraphOperations routines
Table of Contents for all manual pages
Index of all manual pages