Function t8_forest_get_tree_leaf_element_count

Function Documentation

t8_locidx_t t8_forest_get_tree_leaf_element_count(t8_tree_t tree)

Return the number of leaf elements of a tree.

Parameters:

tree[in] A tree in a forest.

Returns:

The number of leaf elements of that tree.