Function t8_forest_element_has_leaf_desc
Defined in File t8_forest_private.h
Function Documentation
-
int t8_forest_element_has_leaf_desc(t8_forest_t forest, t8_gloidx_t gtreeid, const t8_element_t *element, const t8_eclass_t tree_class)
Compute whether for a given element there exist leaf or ghost leaf elements in the local forest that are a descendant of the element but not the element itself.
Note
If no ghost layer was created for the forest, only local elements are tested.
Note
forest must be committed before calling this function.
- Parameters:
forest – [in] The forest.
gtreeid – [in] The global id of the tree the element is in
element – [in] The element
tree_class – [in] The eclass of element.
- Returns:
True if in the forest there exists a local leaf or ghost leaf that is a descendant of element but not equal to element.