Skip to main content
Ctrl+K
PETSc 3.23.1 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
  • DMDAGetLocalInfo

DMDAGetLocalInfo#

Gets information about a given DMDA and this MPI process’s location in it

Synopsis#

#include "petscdmda.h"   
PetscErrorCode DMDAGetLocalInfo(DM da, DMDALocalInfo *info)

Not Collective

Input Parameter#

  • da - the DMDA

Output Parameter#

  • info - structure containing the information

Note#

See DMDALocalInfo for the information that is returned

See Also#

DMDA - Creating vectors for structured grids, DM, DMDA, DMDAGetInfo(), DMDAGetCorners(), DMDALocalInfo

Level#

beginner

Location#

src/dm/impls/da/daview.c

Examples#

src/snes/tutorials/ex19.c
src/dm/tutorials/ex14.c
src/dm/tutorials/ex25.c
src/snes/tutorials/ex15.c
src/dm/tutorials/ex2.c
src/snes/tutorials/ex35.c
src/snes/tutorials/ex9.c
src/snes/tutorials/ex28.c
src/ksp/ksp/tutorials/ex46.c
src/dm/tutorials/ex51.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
  • Note
  • 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-04-30T13:10:40-0500 (v3.23.1).