CreateCommunicator

Creates a new communicator for the group of processes with a not null (totalCells > 0) mesh region.

Synopsis

PetscErrorCode CreateCommunicator(MeshRegion *overlaps, PetscInt numOverlaps,
    MPI_Comm *ret)

Input parameters

overlaps - Array of mesh regions with the portion of the new patch owned by each process.
numOverlaps - Number of elements in the overlaps array. ( == mpi size).

Output parameters

ret -The new MPI communicator.

Keywords

MPI, communicator, mesh, region

See Also

CreatePatch

Level:developer
Location:
src/patch.c
Index of all MICSc routines
Table of Contents for all manual pages
Index of all manual pages