ISColoringType#

determines if the coloring is for the entire parallel grid/graph/matrix or for just the local ghosted portion

Synopsis#

#include "petscis.h" 
typedef enum {
  IS_COLORING_GLOBAL,
  IS_COLORING_LOCAL
} ISColoringType;
`IS_COLORING_GLOBAL` - does not include the colors for ghost points, this is used when the function
is called synchronously in parallel. This requires generating a "parallel coloring".
`IS_COLORING_LOCAL` - includes colors for ghost points, this is used when the function can be called
separately on individual processes with the ghost points already filled in. Does not
require a "parallel coloring", rather each process colors its local + ghost part.
Using this can result in much less parallel communication. Currently only works
with DMDA and if you call MatFDColoringSetFunction() with the local function.

See Also#

DMCreateColoring()

Level#

beginner

Location#

include/petscis.h

Examples#

src/snes/tutorials/ex14.c.html
src/tao/unconstrained/tutorials/minsurf2.c.html


Edit on GitLab

Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages