Function t8_forest_get_tree_leaf_element_array(t8_forest_t, t8_locidx_t)

Function Documentation

const t8_element_array_t *t8_forest_get_tree_leaf_element_array(t8_forest_t forest, t8_locidx_t ltreeid)

Return the array of leaf elements of a tree. Const 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.