# PetscViewerExodusIISetOrder
Set the elements order in the exodusII file. 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode PetscViewerExodusIISetOrder(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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexexodusii.c.html#PetscViewerExodusIISetOrder">src/dm/impls/plex/plexexodusii.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexexodusii.c.html#PetscViewerExodusIISetOrder_ExodusII">PetscViewerExodusIISetOrder_ExodusII in src/dm/impls/plex/plexexodusii.c</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
