ISAllGatherColors#

Given a a set of colors on each processor, generates a large set (same on each processor) by concatenating together each processors colors

Synopsis#

#include "petscis.h"  
PetscErrorCode ISAllGatherColors(MPI_Comm comm, PetscInt n, ISColoringValue *lindices, PetscInt *outN, ISColoringValue *outindices[])

Collective

Input Parameters#

  • comm - communicator to share the indices

  • n - local size of set

  • lindices - local colors

Output Parameters#

  • outN - total number of indices

  • outindices - all of the colors

Note#

ISAllGatherColors() is clearly not scalable for large index sets.

See Also#

ISCOloringValue, ISColoring(), ISCreateGeneral(), ISCreateStride(), ISCreateBlock(), ISAllGather()

Level#

intermediate

Location#

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


Edit on GitLab

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