Skip to main content
Ctrl+K
PETSc v3.23.6-606-g7787bf7449e94 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • DMDAStencilType

DMDAStencilType#

Determines if the stencil extends only along the coordinate directions, or also to the northeast, northwest etc

Synopsis#

typedef enum {
  DMDA_STENCIL_STAR,
  DMDA_STENCIL_BOX
} DMDAStencilType;

See Also#

DM Basics, DMDA, DMDA_STENCIL_BOX, DMDA_STENCIL_STAR,DMDACreate1d(), DMDACreate2d(), DMDACreate3d(), DMDACreate(), DMDASetStencilType()

Level#

beginner

Location#

include/petscdmdatypes.h

Examples#

src/snes/tutorials/ex15.c
src/snes/tutorials/ex55.c
src/snes/tutorials/ex5.c
src/snes/tutorials/ex19.c
src/snes/tutorials/ex9.c
src/snes/tutorials/ex18.c
src/snes/tutorials/ex25.c
src/snes/tutorials/ex14.c
src/snes/tutorials/ex35.c
src/snes/tutorials/ex46.c

Examples#

src/snes/tutorials/ex15.c
src/snes/tutorials/ex48.c
src/ksp/ksp/tutorials/ex70.c
src/snes/tutorials/ex58.c
src/snes/tutorials/ex4.c
src/ksp/ksp/tutorials/ex43.c
src/ksp/ksp/tutorials/ex49.c
src/snes/tutorials/ex16.c
src/ksp/ksp/tutorials/ex42.c
src/ksp/ksp/tutorials/ex71.c

Examples#

src/snes/tutorials/ex48.c
src/dm/tutorials/ex12.c
src/snes/tutorials/ex30.c
src/ts/tutorials/ex14.c
src/dm/tutorials/ex1.c
src/dm/tutorials/ex3.c
src/ksp/ksp/tutorials/ex59.c
src/dm/tutorials/ex5.c


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

On this page
  • Synopsis
  • See Also
  • Level
  • Location
  • Examples
  • Examples
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2025, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2025-09-19T03:48:02-0500 (v3.23.6-606-g7787bf7449e94).