DMDASetStencilWidth#
Sets the width of the communication stencil
Synopsis#
#include "petscdmda.h"
PetscErrorCode DMDASetStencilWidth(DM da, PetscInt width)
Logically Collective
Input Parameters#
da - The
DMDAwidth - The stencil width
See Also#
DMDA - Creating vectors for structured grids, DM, DMDA, DMDACreate(), DMDestroy(), DMDAStencilType, DMDA_STENCIL_BOX, DMDA_STENCIL_STAR.
Level#
intermediate
Location#
Examples#
src/dm/tutorials/ex19.c
src/dm/impls/swarm/tests/ex12.c
src/ksp/ksp/tests/ex32.c
src/mat/tests/ex129.c
src/snes/tests/ex2.c
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages