Function t8_forest_get_tree_leaf_element_array_mutable
Defined in File t8_forest_private.h
Function Documentation
-
t8_element_array_t *t8_forest_get_tree_leaf_element_array_mutable(const t8_forest_t forest, t8_locidx_t ltreeid)
Return the array of leaf elements of a tree.
Mutable version.
- Parameters:
forest – [in] The forest.
ltreeid – [in] The local id of a local tree. Must be a valid local tree id.
- Returns:
Returns the array of leaf elements of the tree. forest must be committed before calling this function.