Function t8_forest_ghost_get_tree_element_offset
Defined in File t8_forest_ghost.h
Function Documentation
-
t8_locidx_t t8_forest_ghost_get_tree_element_offset(t8_forest_t forest, t8_locidx_t lghost_tree)
Return the element offset of a ghost tree.
Note
forest must be committed before calling this function.
- Parameters:
forest – [in] The forest with constructed ghost layer.
lghost_tree – [in] A local ghost id of a ghost tree.
- Returns:
The element offset of this ghost tree within the set of local ghost elements.