petsc-3.12.5 2020-03-29
DMPlexGetConeRecursiveVertices
Expand each given point into its cone points and do that recursively until we end up just with vertices.
Synopsis
#include "petscdmplex.h"
PetscErrorCode DMPlexGetConeRecursiveVertices(DM dm, IS points, IS *expandedPoints)
Not collective
Input Parameters
| dm | - The DMPlex
|
| points | - The IS of points, which must lie in the chart set with DMPlexSetChart()
|
Output Parameter
expandedPoints -An array of vertices recursively expanded from input points
Notes
Like DMPlexGetConeRecursive but returns only the 0-depth IS (i.e. vertices only) and no sections.
There is no corresponding Restore function, just call ISDestroy() on the returned IS to deallocate.
See Also
DMPlexCreate(), DMPlexGetCone(), DMPlexGetConeTuple(), DMPlexGetConeRecursive(), DMPlexRestoreConeRecursive(), DMPlexGetDepth()
Level
advanced
Location
src/dm/impls/plex/plex.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages