Function t8_forest_get_tree_num_leaf_elements

Function Documentation

t8_locidx_t t8_forest_get_tree_num_leaf_elements(t8_forest_t forest, t8_locidx_t ltreeid)

Return the number of leaf elements of a tree.

Parameters:
  • forest[in] The forest.

  • ltreeid[in] A local id of a tree.

Returns:

The number of leaf elements in the local tree ltreeid.