Skip to main content
Ctrl+K
PETSc v3.23.4-326-g32eed818bddc 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
  • DMStagStencilType

DMStagStencilType#

Elementwise stencil type, determining which neighbors participate in communication

Synopsis#

typedef enum {
  DMSTAG_STENCIL_NONE,
  DMSTAG_STENCIL_STAR,
  DMSTAG_STENCIL_BOX
} DMStagStencilType;

See Also#

DMSTAG: Staggered, Structured Grid, DMSTAG, DMDA, DMStagCreate1d(), DMStagCreate2d(), DMStagCreate3d(), DMStagStencil, DMDAStencilType, DMStagStencilLocation, DMDAStencilType

Level#

beginner

Location#

include/petscdmstag.h

Examples#

src/dm/impls/stag/tutorials/ex1.c
src/dm/impls/stag/tutorials/ex3.c
src/dm/impls/stag/tutorials/ex6.c
src/dm/impls/stag/tutorials/ex4.c
src/dm/impls/stag/tutorials/ex2.c
src/dm/impls/stag/tutorials/ex8.c


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

On this page
  • Synopsis
  • See Also
  • Level
  • Location
  • 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-07-10T03:45:34-0500 (v3.23.4-326-g32eed818bddc).