petsc-3.14.6 2021-03-30
PetscPartitionerDMPlexPartition
Create a non-overlapping partition of the cells in the mesh
Synopsis
#include "petscdmplex.h"
PetscErrorCode PetscPartitionerDMPlexPartition(PetscPartitioner part, DM dm, PetscSection targetSection, PetscSection partSection, IS *partition)
Collective on PetscPartitioner
Input Parameters
Output Parameters
| partSection | - The PetscSection giving the division of points by partition
|
| partition | - The list of points by partition
|
Notes
If the DM has a local section associated, each point to be partitioned will be weighted by the total number of dofs identified
by the section in the transitive closure of the point.
See Also
DMPlexDistribute(), PetscPartitionerCreate(), PetscSectionCreate(), PetscSectionSetChart(), PetscPartitionerPartition()
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