DMDA_STENCIL_STAR#

“Star”-type stencil. In logical grid coordinates, only (i,j,k), (i+s,j,k), (i,j+s,k), (i,j,k+s) are in the stencil NOT, for example, (i+s,j+s,k)

Note#

Determines what ghost point values are brought over to each process in DMGlobalToLocalBegin()/ DMGlobalToLocalEnd(); in this case the “corner” values are not brought over and hence should not be accessed locally

See Also#

DM Basics, DMDA, DMDA_STENCIL_BOX, DMDAStencilType, DMDASetStencilType()

Level#

beginner

Location#

include/petscdmda.h

Examples#

src/snes/tutorials/ex5.c
src/dm/tutorials/ex51.c
src/dm/tutorials/ex14.c
src/snes/tutorials/ex9.c
src/dm/tutorials/ex10.c
src/snes/tutorials/ex19.c
src/dm/tutorials/ex22.c
src/dm/tutorials/ex6.c
src/tao/bound/tutorials/jbearing2.c
src/tao/unconstrained/tutorials/eptorsion2.c


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