Function t8_forest_compute_elements_offset
Defined in File t8_forest_private.h
Function Documentation
-
void t8_forest_compute_elements_offset(t8_forest_t forest)
Given a forest whose trees are already filled with elements compute the element offset of each local tree.
The element offset of a tree is the number of local elements of the forest that live in all the trees with a smaller treeid.
- Parameters:
forest – [inout] The forest. forest does not need to be committed before calling this function, but all elements must have been constructed.