Function t8_forest_ghost_get_leaf_element
Defined in File t8_forest_ghost.h
Function Documentation
-
t8_element_t *t8_forest_ghost_get_leaf_element(t8_forest_t forest, t8_locidx_t lghost_tree, t8_locidx_t lelement)
Given an index into the ghost_trees array and for that tree an element index, return the corresponding element.
- Parameters:
forest – [in] The forest. Ghost layer must exist.
lghost_tree – [in] The ghost tree id of a ghost tree.
lelement – [in] The local id of the ghost leaf element considered.
- Returns:
A pointer to the ghost leaf element. forest must be committed before calling this function.