petsc-3.7.7 2017-09-25
Report Typos and Errors

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)

Determines what ghost point values are brought over to each process; in this case the "corner" values are not brought over and hence should not be accessed locally

See Also

DMDA_STENCIL_BOX, DMDAStencilType, DMDASetStencilType()

Level:beginner
Location:
src/dm/impls/da/../../../../include/petscdmda.h
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/dm/examples/tutorials/ex1.c.html
src/dm/examples/tutorials/ex2.c.html
src/dm/examples/tutorials/ex5.c.html
src/dm/examples/tutorials/ex10.c.html
src/dm/examples/tutorials/ex12.c.html
src/dm/examples/tutorials/ex51.c.html
src/dm/examples/tutorials/ex13f90.F90.html
src/ksp/ksp/examples/tutorials/ex29.c.html
src/ksp/ksp/examples/tutorials/ex32.c.html
src/ksp/ksp/examples/tutorials/ex34.c.html
src/ksp/ksp/examples/tutorials/ex45.c.html