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/ksp/ksp/tutorials/ex29.c
src/ksp/ksp/tutorials/ex46.c
src/ksp/ksp/tutorials/ex34.c
src/dm/tutorials/ex6.c
src/dm/tutorials/ex14.c
src/ksp/ksp/tutorials/ex32.c
src/dm/tutorials/ex10.c
src/dm/tutorials/ex22.c
src/ksp/ksp/tutorials/ex50.c
src/dm/tutorials/ex51.c


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