:orphan:
# DMDirection
Indicates a coordinate direction
## Synopsis
```
typedef enum {
DM_X,
DM_Y,
DM_Z
} DMDirection;
```
## Values
- ***`DM_X` -*** the x coordinate direction
- ***`DM_Y` -*** the y coordinate direction
- ***`DM_Z` -*** the z coordinate direction
## See Also
`DM`, `DMDA`, `DMDAGetRay()`, `DMDAGetProcessorSubset()`, `DMPlexShearGeometry()`
## Level
beginner
## Location
include/petscdmtypes.h
## Examples
src/dm/tutorials/ex22.c
src/dm/tutorials/ex51.c
src/snes/tutorials/ex13.c
src/snes/tutorials/ex17.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscdmtypes.h)
[Index of all DM routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)