PETSc version 3.16.1
DMPlexCreatePointSF
Build a point SF from an SF describing a point migration
Synopsis
#include "petscdmplex.h"
#include "petscdmlabel.h"
PetscErrorCode DMPlexCreatePointSF(DM dm, PetscSF migrationSF, PetscBool ownership, PetscSF *pointSF)
Input Parameters
| dm | - The source DMPlex object
|
| migrationSF | - The star forest that describes the parallel point remapping
|
| ownership | - Flag causing a vote to determine point ownership
|
Output Parameter
| pointSF | - The star forest describing the point overlap in the remapped DM
|
Notes
Output pointSF is guaranteed to have the array of local indices (leaves) sorted.
See Also
DMPlexDistribute(), DMPlexDistributeOverlap()
Level
developer
Location
src/dm/impls/plex/plexdistribute.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages