#include "petscmat.h" PetscErrorCode MatColoringRegister(const char sname[],PetscErrorCode (*function)(MatColoring))Not Collective Many br
sname | - name of Coloring (for example MATCOLORINGSL) Many br | |
function | - function pointer that creates the coloring Many br |
Many br
MatColoringRegister("my_color",MyColor);Many br
Then, your partitioner can be chosen with the procedural interface via Many br
MatColoringSetType(part,"my_color")or at runtime via the option Many br
-mat_coloring_type my_color
Level:developer
Location:src/mat/color/interface/matcoloring.c
Index of all MatOrderings routines
Table of Contents for all manual pages
Index of all manual pages