:orphan: # DMPlexGetTreeChildren get the children of a point in the tree describing the point hierarchy (not the DAG) ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexGetTreeChildren(DM dm, PetscInt point, PetscInt *numChildren, const PetscInt *children[]) ``` ## Input Parameters - ***dm -*** the `DMPLEX` object - ***point -*** the query point ## Output Parameters - ***numChildren -*** if not `NULL`, set to the number of children - ***children -*** if not `NULL`, set to a list children, or set to `NULL` if the point has no children ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexSetTree()`, `DMPlexGetTree()`, `DMPlexGetTreeParent()` ## Level intermediate ## Location src/dm/impls/plex/plextree.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plextree.c) [Index of all DMPlex routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)