#include "petscdmplex.h" PetscErrorCode DMPlexCreatePartitionerGraph(DM dm, PetscInt height, PetscInt *numVertices, PetscInt **offsets, PetscInt **adjacency, IS *globalNumbering)
dm | - The mesh DM dm | |
height | - Height of the strata from which to construct the graph |
numVertices | - Number of vertices in the graph | |
offsets | - Point offsets in the graph | |
adjacency | - Point connectivity in the graph | |
globalNumbering | - A map from the local cell numbering to the global numbering used in "adjacency". Negative indicates that the cell is a duplicate from another process. |
The user can control the definition of adjacency for the mesh using DMPlexGetAdjacencyUseCone() and DMPlexSetAdjacencyUseClosure(). They should choose the combination appropriate for the function representation on the mesh.
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