DMPlexDistributionGetName — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# 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

src/dm/impls/plex/plexdistribute.c

Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages