petsc-3.7.1 2016-05-15
Report Typos and Errors

MatColoringSetDistance

Sets the distance of the coloring

Synopsis

#include "petscmat.h"  
PetscErrorCode MatColoringSetDistance(MatColoring mc,PetscInt dist)
Logically Collective on MatColoring Many br

Input Parameter

mc - the MatColoring context Many br dist - the distance the coloring should compute Many br

Many br

Notes: The distance of the coloring denotes the minimum number Many brof edges in the graph induced by the matrix any two vertices Many brof the same color are. Distance-1 colorings are the classical Many brcoloring, where no two vertices of the same color are adjacent. Many brdistance-2 colorings are useful for the computation of Jacobians. Many br

Keywords

Coloring, distance, Jacobian

See Also

MatColoringGetDistance(), 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