:orphan:
# DMPlexDistributionGetName
Retrieve the name of the specific parallel distribution 
## Synopsis
```
#include "petscdmplex.h"   
#include "petscdmlabel.h"  
PetscErrorCode DMPlexDistributionGetName(DM dm, const char *name[])
```

## Input Parameter

- ***dm -*** The `DM`



## Output Parameter

- ***name -*** The name of the specific parallel distribution





## Note
If distribution name is set when saving, `DMPlexTopologyView()` saves the plex's
parallel distribution (i.e., partition, ownership, and local ordering of points) under
this name. Conversely, if distribution name is set when loading, `DMPlexTopologyLoad()`
loads the parallel distribution stored in file under this name.


## See Also
 `DMPLEX`, `DMPlexDistributionSetName()`, `DMPlexTopologyView()`, `DMPlexTopologyLoad()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexdistribute.c.html#DMPlexDistributionGetName">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
