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/ex15.c


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