DMPatchZoom#
Create patches of a DMDA
on subsets of processes, indicated by commz
Synopsis#
#include "petscdmpatch.h"
PetscErrorCode DMPatchZoom(DM dm, MatStencil lower, MatStencil upper, MPI_Comm commz, DM *dmz, PetscSF *sfz, PetscSF *sfzr)
Collective
Input Parameters#
dm - the
DM
lower - the lower left corner of the requested patch
upper - the upper right corner of the requested patch
commz - the new communicator for the patch,
MPI_COMM_NULL
indicates that the given rank will not own a patch
Output Parameters#
See Also#
DMPatchSolve()
, DMDACreatePatchIS()
Level#
intermediate
Location#
Examples#
Index of all DMPatch routines
Table of Contents for all manual pages
Index of all manual pages