#include "petscmat.h" PetscErrorCode MatColoringPatch(Mat mat,PetscInt ncolors,PetscInt n,ISColoringValue colorarray[],ISColoring *iscoloring)Collective on Mat
mat | - the matrix | |
ncolors | - max color value | |
n | - number of entries in colorarray | |
colorarray | - array indicating color for each column |
iscoloring | - coloring generated using colorarray information |