PetscSubcommCreate#

Create a PetscSubcomm context. This object is used to manage the division of a MPI_Comm into subcommunicators

Synopsis#

#include "petscsys.h"    
PetscErrorCode PetscSubcommCreate(MPI_Comm comm, PetscSubcomm *psubcomm)

Collective

Input Parameter#

  • comm - MPI communicator

Output Parameter#

See Also#

PetscSubcomm, PetscSubcommDestroy(), PetscSubcommSetTypeGeneral(), PetscSubcommSetFromOptions(), PetscSubcommSetType(), PetscSubcommSetNumber()

Level#

advanced

Location#

src/sys/objects/subcomm.c

Examples#

src/sys/tests/ex50.c
src/sys/tests/ex53f.F90
src/ksp/ksp/tutorials/ex73.c
src/ksp/ksp/tests/ex37.c
src/mat/tests/ex169.c
src/mat/tests/ex9.c


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