:orphan: # DMPlexGetPartitioner Get the mesh partitioner ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexGetPartitioner(DM dm, PetscPartitioner *part) ``` Not Collective ## Input Parameter - ***dm -*** The `DM` ## Output Parameter - ***part -*** The `PetscPartitioner` ## Note This gets a borrowed reference, so the user should not destroy this `PetscPartitioner`. ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `PetscPartitioner`, `PetscSection`, `DMPlexDistribute()`, `DMPlexSetPartitioner()`, `PetscPartitionerDMPlexPartition()`, `PetscPartitionerCreate()` ## Level developer ## Location src/dm/impls/plex/plexpartition.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexpartition.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)