# DMPlexDistributeGetDefault
Get flag indicating whether the DM should be distributed by default 
## Synopsis
```
#include "petscdmplex.h"   
#include "petscdmlabel.h"  
PetscErrorCode DMPlexDistributeGetDefault(DM dm, PetscBool *dist)
```
Not collective


## Input Parameter

- ***dm   -*** The DM



## Output Parameter

- ***dist -*** Flag for distribution





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

## Level
intermediate

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

## Implementations

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


---
[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)  
