DMPlexGetCone#

Return the points on the in-edges for this point in the DAG

Synopsis#

#include "petscdmplex.h"   
PetscErrorCode DMPlexGetCone(DM dm, PetscInt p, const PetscInt *cone[])

Not Collective

Input Parameters#

Output Parameter#

  • cone - An array of points which are on the in-edges for point p

Fortran Notes#

You must also call DMPlexRestoreCone() after you finish using the returned array. DMPlexRestoreCone() is not needed/available in C.

See Also#

DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexGetConeSize(), DMPlexSetCone(), DMPlexGetConeTuple(), DMPlexSetChart(), DMPlexRestoreCone()

Level#

beginner

Location#

src/dm/impls/plex/plex.c

Examples#

src/ts/tutorials/ex11_sa.c
src/dm/impls/plex/tutorials/ex11.c
src/ts/tutorials/ex52.c
src/snes/tutorials/ex7.c


Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages