CalculateOverlaps

Calculates the portion of the patch owned by each process.

Synopsis

PetscErrorCode CalculateOverlaps(PetscInt x, PetscInt nx, PetscInt y,
    PetscInt ny, PetscInt z, PetscInt nz, MeshRegion **ret,
    PetscInt *numOverlaps)

Input parameters

x - X coordinate of the patch's lower corner.
nx - Number of patch elements along the X direction.
y - Y coordinate of the patch's lower corner.
ny - Number of patch elements along the Y direction.
z - Z coordinate of the patch's lower corner.
nz - Number of patch elements along the Z direction.

Output parameters

ret - The portion owned by each process.
numOverlaps - The number of portions (== mpi size).

Keywords

mesh, region, overlap

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