#include "petscis.h" PetscErrorCode ISColoringCreate(MPI_Comm comm,PetscInt ncolors,PetscInt n,const ISColoringValue colors[],PetscCopyMode mode,ISColoring *iscoloring)Collective
comm | - communicator for the processors creating the coloring | |
ncolors | - max color value | |
n | - number of nodes on this processor | |
colors | - array containing the colors for this processor, color numbers begin at 0. | |
mode | - see PetscCopyMode for meaning of this flag. |
iscoloring | - the resulting coloring data structure |
-is_coloring_view | - Activates ISColoringView() |