:orphan:
# PetscViewerExodusIIGetOrder
Get the elements order in the exodusII file.
## Synopsis
```
#include "petscdmplex.h"
PetscErrorCode PetscViewerExodusIIGetOrder(PetscViewer viewer, PetscInt *order)
```
Collective
## Input Parameters
- ***viewer -*** the `PETSCVIEWEREXODUSII` viewer
- ***order -*** elements order
## Output Parameter
## See Also
`PETSCVIEWEREXODUSII`, `PetscViewer`, `PetscViewerExodusIIGetId()`, `PetscViewerExodusIIGetOrder()`, `PetscViewerExodusIISetOrder()`
## Level
beginner
## Location
src/dm/impls/plex/plexexodusii.c
## Implementations
PetscViewerExodusIIGetOrder_ExodusII in src/dm/impls/plex/plexexodusii.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexexodusii.c)
[Index of all DMPlex routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)