petsc-3.8.4 2018-03-24
MatColoringApply
Apply the coloring to the matrix, producing index sets corresponding to a number of independent sets in the induced graph.
Synopsis
#include "petscmat.h"
PetscErrorCode MatColoringApply(MatColoring mc,ISColoring *coloring)
Collective on MatColoring
Input Parameters
mc -the MatColoring context
Output Parameter
coloring -the ISColoring instance containing the coloring
Keywords
Coloring, Apply
See Also
MatColoring, MatColoringCreate()
Level:beginner
Location:src/mat/color/interface/matcoloring.c
Index of all MatOrderings routines
Table of Contents for all manual pages
Index of all manual pages
Examples
src/mat/examples/tutorials/ex16.c.html