:orphan:
# DMStagGetProductCoordinateArraysRead
extract product coordinate arrays, read-only
## Synopsis
```
PetscErrorCode DMStagGetProductCoordinateArraysRead(DM dm, void *arrX, void *arrY, void *arrZ)
```
Logically Collective
## Input Parameter
- ***dm -*** the `DMSTAG` object
## Output Parameters
- ***arrX -*** local 1D coordinate arrays for x direction
- ***arrY -*** local 1D coordinate arrays for y direction, not set for one dimensional problems
- ***arrZ -*** local 1D coordinate arrays for z direction, not set for one and two dimensional problems
## Note
See `DMStagGetProductCoordinateArrays()` for more information.
## See Also
[](ch_stag), `DMSTAG`, `DMPRODUCT`, `DMStagGetProductCoordinateArrays()`, `DMStagSetUniformCoordinates()`, `DMStagSetUniformCoordinatesProduct()`, `DMStagGetProductCoordinateLocationSlot()`
## Level
intermediate
## Location
src/dm/impls/stag/stagutils.c
## Examples
src/dm/impls/stag/tutorials/ex2.c
src/dm/impls/stag/tutorials/ex4.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/stag/stagutils.c)
[Index of all DMStag routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)