petsc-3.13.6 2020-09-29
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(), PetscPartitionerDMPlexPartition(), PetscPartitionerCreate()

Level

developer

Location

src/dm/impls/plex/plexpartition.c

Examples

src/dm/impls/plex/tutorials/ex5.c.html
src/dm/impls/plex/tutorials/ex7.c.html
src/dm/field/tutorials/ex1.c.html
src/snes/tutorials/ex12.c.html
src/snes/tutorials/ex56.c.html
src/snes/tutorials/ex62.c.html
src/snes/tutorials/ex77.c.html

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