Function t8_forest_last_tree_shared

Function Documentation

int t8_forest_last_tree_shared(t8_forest_t forest)

return nonzero if the last tree of a forest is shared with a bigger process.

This is the case if and only if the first descendant of the first tree that we store is not the first possible descendant of that tree.

Note

forest must be committed before calling this function.

Parameters:

forest[in] The forest.

Returns:

True if the last tree in the forest is shared with a bigger rank. False otherwise.