# 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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexdistribute.c.html#DMPlexCreatePointSF">src/dm/impls/plex/plexdistribute.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexdistribute.c)


[Index of all DMPlex routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
