Function t8_forest_get_tree_leaf_element_mutable
Defined in File t8_forest_private.h
Function Documentation
-
t8_element_t *t8_forest_get_tree_leaf_element_mutable(t8_tree_t tree, t8_locidx_t elem_in_tree)
Return a leaf element of a tree.
Mutable version.
- Parameters:
tree – [in] The tree.
elem_in_tree – [in] The index of the leaf element within the tree.
- Returns:
Returns the leaf element with index elem_in_tree of the element array of tree.