petsc-3.14.6 2021-03-30
Report Typos and Errors

PetscPartitionerSetType

Builds a particular PetscPartitioner

Synopsis

#include "petscpartitioner.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

See Also

PetscPartitionerGetType(), PetscPartitionerCreate()

Level

intermediate

Location

src/dm/partitioner/interface/partitioner.c

Examples

src/dm/field/tutorials/ex1.c.html
src/snes/tutorials/ex77.c.html

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