PetscSubcommSetTypeGeneral#
Divides up a communicator based on a specific user’s specification
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscSubcommSetTypeGeneral(PetscSubcomm psubcomm, PetscMPIInt color, PetscMPIInt subrank)
Collective
Input Parameters#
psubcomm -
PetscSubcommcontextcolor - control of subset assignment (nonnegative integer). Processes with the same color are in the same subcommunicator.
subrank - rank in the subcommunicator
See Also#
PetscSubcommType, PETSC_SUBCOMM_CONTIGUOUS, PETSC_SUBCOMM_INTERLACED, PetscSubcommCreate(), PetscSubcommDestroy(), PetscSubcommSetNumber(), PetscSubcommSetType()
Level#
advanced
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages