DMPatchSetCommSize#

Set the process grid used for each patch of a DMPATCH

Synopsis#

#include "petscdmpatch.h"   
PetscErrorCode DMPatchSetCommSize(DM dm, MatStencil commSize)

Logically Collective

Input Parameters#

  • dm - the DMPATCH

  • commSize - a MatStencil whose i, j, k fields hold the number of processes to use per patch in each dimension

See Also#

DMPATCH, DMPatchGetCommSize(), DMPatchSetPatchSize(), 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