# DMPlexPointLocalFieldRead
return read access to a field on a point in local array 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexPointLocalFieldRead(DM dm, PetscInt point, PetscInt field, const PetscScalar *array, void *ptr)
```
Not Collective


## Input Parameters

- ***dm -*** `DM` defining topological space
- ***point -*** topological point
- ***field -*** field number
- ***array -*** array to index into



## Output Parameter

- ***ptr -*** address of read reference to point data, type generic so user can place in structure





## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMGetLocalSection()`, `PetscSectionGetOffset()`, `PetscSectionGetDof()`, `DMPlexGetPointLocal()`, `DMPlexPointGlobalRef()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexpoint.c.html#DMPlexPointLocalFieldRead">src/dm/impls/plex/plexpoint.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexpoint.c)


[Index of all DMPlex routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
