petsc-3.8.4 2018-03-24
Report Typos and Errors

PetscPartitionerPartition

Create a non-overlapping partition of the cells in the mesh

Synopsis

#include "petscdmplex.h"   
PetscErrorCode PetscPartitionerPartition(PetscPartitioner part, DM dm, PetscSection partSection, IS *partition)
Collective on DM

Input Parameters

part - The PetscPartitioner
dm - The mesh DM

Output Parameters

partSection - The PetscSection giving the division of points by partition
partition - The list of points by partition

Note: Instead of cells, points at a given height can be partitioned by calling PetscPartitionerSetPointHeight()

See Also

DMPlexDistribute(), PetscPartitionerSetPointHeight(), PetscPartitionerCreate()

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