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

# PetscPartitionerSetType

Builds a particular PetscPartitioner

### Synopsis

    #include "petscdmplex.h"
    PetscErrorCode PetscPartitionerSetType(PetscPartitioner part, PetscPartitionerType name)

Collective on PetscPartitioner

### Input Parameters

| part | - The PetscPartitioner object
| name | - The kind of partitioner

### Options Database Key

-petscpartitioner_type <type> -Sets the PetscPartitioner type; use -help for a list of available types

### Keywords

PetscPartitioner, set, type

### See Also

PetscPartitionerGetType(), PetscPartitionerCreate()

Level:intermediate
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