#include "petscdmplex.h" PetscErrorCode DMPlexGetTreeParent(DM dm, PetscInt point, PetscInt *parent, PetscInt *childID)
dm | - the DMPlex object | |
point | - the query point |
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 |