petsc-3.8.4 2018-03-24
Report Typos and Errors

MatColoringCreate

Creates a matrix coloring context.

Synopsis

#include "petscmat.h"  
PetscErrorCode MatColoringCreate(Mat m,MatColoring *mcptr)
Collective on MatColoring

Input Parameters

comm -MPI communicator

Output Parameter

mcptr -the new MatColoring context

Options Database Keys

-mat_coloring_type - the type of coloring algorithm used
-mat_coloring_maxcolors - the maximum number of relevant colors, all nodes not in a color are in maxcolors+1
-mat_coloring_distance - compute a distance 1,2,... coloring.
-mat_coloring_view - print information about the coloring and the produced index sets
-mat_coloring_valid - debugging option that prints all coloring incompatibilities

Keywords

Coloring, Matrix

See Also

MatColoring, MatColoringApply()

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