PetscSubcomm#
A decomposition of an MPI communicator into subcommunicators
Synopsis#
typedef struct _n_PetscSubcomm *PetscSubcomm;
Sample Usage#
PetscSubcommCreate()
PetscSubcommSetNumber()
PetscSubcommSetType(PETSC_SUBCOMM_INTERLACED);
ccomm = PetscSubcommChild()
PetscSubcommDestroy()
Note#
After a call to PetscSubcommSetType(), PetscSubcommSetTypeGeneral(), or PetscSubcommSetFromOptions() one may call
PetscSubcommChild() returns the associated subcommunicator on this process
PetscSubcommContiguousParent() returns a parent communitor but with all child of the same subcommunicator having contiguous rank
Developer Note#
This is used in objects such as PCREDUNDANT to manage the subcommunicators on which the redundant computations
are performed.
See Also#
PetscSubcommCreate(), PetscSubcommSetNumber(), PetscSubcommSetType(), PetscSubcommView(), PetscSubcommSetFromOptions(),
PetscSubcommType
Level#
advanced
Location#
Examples#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages