#include "petscsys.h" #include "petscis.h" int ISColoringCreate(MPI_Comm comm,int n,const int colors[],ISColoring *iscoloring)Collective on MPI_Comm
comm | - communicator for the processors creating the coloring | |
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_LOCAL
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