Skip to main content
Ctrl+K
Logo image Logo image

Site Navigation

  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.

Site Navigation

  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.

DMDAGetStencilType#

Gets the type of the communication stencil

Synopsis#

#include "petscdmda.h"   
PetscErrorCode DMDAGetStencilType(DM da, DMDAStencilType *stype)

Not Collective

Input Parameter#

  • da - The DMDA

Output Parameter#

  • stype - The stencil type, use either DMDA_STENCIL_BOX or DMDA_STENCIL_STAR.

See Also#

DM, DMDA, DMDACreate(), DMDestroy()

Level#

intermediate

Location#

src/dm/impls/da/da.c


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

On this page
  • Synopsis
  • Input Parameter
  • Output Parameter
  • See Also
  • Level
  • Location
Edit this page

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

Created using Sphinx 5.3.0.

Last updated on 2023-11-30T13:19:16-0600 (v3.20.2).