#include "petscis.h" PetscErrorCode ISColoringCreate(MPI_Comm comm,PetscInt ncolors,PetscInt n,const ISColoringValue colors[],ISColoring *iscoloring)Collective on MPI_Comm
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. In C/C++ this array must have been obtained with PetscMalloc() and should NOT be freed (The ISColoringDestroy() will free it). |
Notes: By default sets coloring type to IS_COLORING_GLOBAL
Level:advanced
Location:src/vec/is/utils/iscoloring.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages