petsc-3.13.6 2020-09-29
Report Typos and Errors

DMPlexGetTreeParent

get the parent of a point in the tree describing the point hierarchy (not the DAG)

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexGetTreeParent(DM dm, PetscInt point, PetscInt *parent, PetscInt *childID)

Input Parameters

dm - the DMPlex object
point - the query point

Output Parameters

parent - if not NULL, set to the parent of the point, or the point itself if the point does not have a parent
childID - if not NULL, set to the child ID of the point with respect to its parent, or 0 if the point does not have a parent

See Also

DMPlexSetTree(), DMPlexGetTree(), DMPlexGetTreeChildren()

Level

intermediate

Location

src/dm/impls/plex/plextree.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages