DMPatchSetPatchSize#

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

Synopsis#

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

Logically Collective

Input Parameters#

  • dm - the DMPATCH

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

See Also#

DMPATCH, DMPatchGetPatchSize(), DMPatchSetCommSize(), 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