#include "petscdmpatch.h" PetscErrorCode DMPatchZoom(DM dm, MatStencil lower, MatStencil upper, MPI_Comm commz, DM *dmz, PetscSF *sfz, PetscSF *sfzr)Collective on dm
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 |
dmz | - the patch DM | |
sfz | - the PetscSF mapping the patch+halo to the zoomed version (optional) | |
sfzr | - the PetscSF mapping the patch to the restricted zoomed version |