Skip to main content
`Ctrl`+`K`

# PetscPartitioner

PETSc object that manages a graph partitioner

## Synopsis

    typedef struct _p_PetscPartitioner *PetscPartitioner;

## Note

Also consider `MatPartitioning` which provides an alternative API for partitioning.

## See Also

`PetscPartitionerCreate()`, `PetscPartitionerSetType()`, `PetscPartitionerType`, `MatPartitioning`, `MatPartitioningCreate()`

## Level

intermediate

## Location

include/petscpartitioner.h

## Examples

src/ts/tutorials/ex30.c

## Implementations

_p_PetscPartitioner in include/petsc/private/partitionerimpl.h
PetscPartitioner_Chaco in src/dm/partitioner/impls/chaco/partchaco.c
PetscPartitioner_Gather in src/dm/partitioner/impls/gather/partgather.c
PetscPartitioner_MatPartitioning in src/dm/partitioner/impls/matpart/partmatpart.c
PetscPartitioner_MS in src/dm/partitioner/impls/multistage/mspart.c
PetscPartitioner_ParMetis in src/dm/partitioner/impls/parmetis/partparmetis.c
PetscPartitioner_PTScotch in src/dm/partitioner/impls/ptscotch/partptscotch.c
PetscPartitioner_Shell in src/dm/partitioner/impls/shell/partshell.c
PetscPartitioner_Simple in src/dm/partitioner/impls/simple/partsimple.c

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