Function t8_forest_get_first_local_leaf_element_id

Function Documentation

t8_gloidx_t t8_forest_get_first_local_leaf_element_id(t8_forest_t forest)

Compute the global index of the first local leaf element of a forest.

This function is collective.

Parameters:

forest[in] A committed forest, whose first leaf element’s index is computed.

Returns:

The global index of forest’s first local leaf element. Forest must be committed when calling this function. This function is collective and must be called on each process.