# DMPlexReorderSetDefault
Set flag indicating whether the DM should be reordered by default 
## Synopsis
```
#include "petscdmplex.h"   
#include "petscmat.h"      
PetscErrorCode DMPlexReorderSetDefault(DM dm, DMPlexReorderDefaultFlag reorder)
```
Logically collective


## Input Parameters

- ***dm        -*** The DM
- ***reorder   -*** Flag for reordering





## See Also
 `DMPlexReorderGetDefault()`

## Level
intermediate

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

## Implementations

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexreorder.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)  
