# DMPlexGetRedundantDM
Get a copy of the DMPlex that is completely copied on each process. 
## Synopsis
```
#include "petscdmplex.h"   
#include "petscdmlabel.h"  
PetscErrorCode DMPlexGetRedundantDM(DM dm, PetscSF *sf, DM *redundantMesh)
```
Collective on dm


## Input Parameter

- ***dm -*** the original DMPlex object



## Output Parameters

- ***sf -*** the PetscSF used for point distribution (optional)
- ***redundantMesh -*** the redundant DM object, or NULL





## See Also
 `DMPlexDistribute()`, `DMPlexGetGatherDM()`

## Level
intermediate

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


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