DMPatchGetPatchSize#

Get the size of a single patch of a DMPATCH, in grid cells

Synopsis#

#include "petscdmpatch.h"   
PetscErrorCode DMPatchGetPatchSize(DM dm, MatStencil *patchSize)

Not Collective

Input Parameter#

Output Parameter#

  • patchSize - a MatStencil whose i, j, k, c fields hold the patch extent in each dimension

See Also#

DMPATCH, DMPatchSetPatchSize(), DMPatchGetCommSize(), MatStencil

Level#

intermediate

Location#

src/dm/impls/patch/patch.c


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