:orphan:
# DMPlexPermute
Reorder the mesh according to the input permutation 
## Synopsis
```
#include "petscdmplex.h"   
#include "petscmat.h"      
PetscErrorCode DMPlexPermute(DM dm, IS perm, DM *pdm)
```
Collective


## Input Parameters

- ***dm -*** The `DMPLEX` object
- ***perm -*** The point permutation, `perm`[old point number] = new point number



## Output Parameter

- ***pdm -*** The permuted `DM`





## See Also
 `DMPLEX`, `MatPermute()`

## Level
intermediate

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


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