:orphan:
# DMDAGetLocalInfo
Gets information about a given distributed array and this processors location in it
## Synopsis
```
#include "petscdmda.h"
PetscErrorCode DMDAGetLocalInfo(DM da, DMDALocalInfo *info)
```
Not Collective
## Input Parameter
- ***da -*** the distributed array
## Output Parameters
- ***dainfo -*** structure containing the information
## Note
See `DMDALocalInfo` for the information that is returned
## See Also
`DM`, `DMDA`, `DMDAGetInfo()`, `DMDAGetCorners()`, `DMDALocalInfo`
## Level
beginner
## Location
src/dm/impls/da/daview.c
## Examples
src/dm/tutorials/ex14.c
src/dm/tutorials/ex2.c
src/dm/tutorials/ex25.c
src/dm/tutorials/ex51.c
src/ksp/ksp/tutorials/ex46.c
src/snes/tutorials/ex15.c
src/snes/tutorials/ex19.c
src/snes/tutorials/ex28.c
src/snes/tutorials/ex35.c
src/snes/tutorials/ex9.c
src/ts/tutorials/ex10.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/da/daview.c)
[Index of all DMDA routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)