petsc-3.7.1 2016-05-15
Report Typos and Errors

DMPlexGetCone

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

Synopsis

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

Input Parameters

mesh - The DMPlex Many br
p - The Sieve point, which must lie in the chart set with DMPlexSetChart() Many br

Output Parameter

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

Many br

Fortran Notes

Since it returns an array, this routine is only available in Fortran 90, and you must Many brinclude petsc.h90 in your code. Many br

You must also call DMPlexRestoreCone() after you finish using the returned array. Many br

See Also

DMPlexCreate(), DMPlexSetCone(), DMPlexSetChart()

Level:beginner
Location:
src/dm/impls/plex/plex.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/ex11.c.html