petsc-master 2019-12-13
Report Typos and Errors

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 Parameter

Output Parameter

dm - The source DMPlex object
migrationSF - The star forest that describes the parallel point remapping
ownership - Flag causing a vote to determine point ownership
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