Function t8_forest_get_local_num_leaf_elements

Function Documentation

t8_locidx_t t8_forest_get_local_num_leaf_elements(const t8_forest_t forest)

Return the number of process local leaf elements in the forest.

Parameters:

forest[in] A forest.

Returns:

The number of leaf elements on this process in forest. forest must be committed before calling this function.