Function t8_forest_get_global_num_leaf_elements

Function Documentation

t8_gloidx_t t8_forest_get_global_num_leaf_elements(const t8_forest_t forest)

Return the number of global leaf elements in the forest.

Parameters:

forest[in] A forest.

Returns:

The number of leaf elements (summed over all processes) in forest. forest must be committed before calling this function.