petsc-3.6.2 2015-10-02
Report Typos and Errors

# 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

DMPlexDistribute(), DMPlexSetPartitioner(), PetscPartitionerCreate()

Level:developer
Location: src/dm/impls/plex/plexpartition.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/snes/examples/tutorials/ex62.c.html