ISColoringSetType#

indicates if the coloring is for the local representation (including ghost points) or the global representation of a Mat

Synopsis#

#include "petscis.h"  
PetscErrorCode ISColoringSetType(ISColoring coloring, ISColoringType type)

Collective

Input Parameters#

Notes#

IS_COLORING_LOCAL can lead to faster computations since parallel ghost point updates are not needed for each color

With IS_COLORING_LOCAL the coloring is in the numbering of the local vector, for IS_COLORING_GLOBAL it is in the numbering of the global vector

See Also#

MatFDColoringCreate(), ISColoring, ISColoringType, ISColoringCreate(), IS_COLORING_LOCAL, IS_COLORING_GLOBAL, ISColoringGetType()

Level#

intermediate

Location#

src/vec/is/is/utils/iscoloring.c


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