MatColoringRegister
Adds a new sparse matrix coloring to the matrix package.
Synopsis
int MatColoringRegister(MatColoringType name,MatColoringType *oname,char *sname,int (*color)(Mat,MatColoringType,ISColoring*))
Input Parameters
name -name of coloring (for example COLORING_SL) or COLORING_NEW
sname -corresponding string for name
order -routine that does coloring
Output Parameters
oname -number associated with the coloring (for example COLORING_SL)
Not
Collective
Keywords
matrix, coloring, register
See Also
MatColoringRegisterDestroy(), MatColoringRegisterAll()
Location: src/mat/impls/color/color.c
Matrix Index
Table of Contents