Function t8_forest_ghost_get_global_treeid
Defined in File t8_forest_ghost.h
Function Documentation
-
t8_gloidx_t t8_forest_ghost_get_global_treeid(const t8_forest_t forest, const t8_locidx_t lghost_tree)
Given a local ghost tree compute the global tree id of it.
See also
https://github.com/DLR-AMR/t8code/wiki/Tree-indexing for more details about tree indexing.
- Parameters:
forest – [in] The forest. Ghost layer must exist.
lghost_tree – [in] The ghost tree id of a ghost tree. (0 <= lghost_tree < num_ghost_trees)
- Returns:
The global id of the local ghost tree lghost_tree. forest must be committed before calling this function.