Template Function tree_local_to_global_id

Function Documentation

template<typename grid_t>
t8_gloidx_t tree_local_to_global_id(const grid_t grid, t8_locidx_t itree)

Templated getter functions to use one call to get the global tree id of a local tree id.

Template Parameters:

grid_t

Parameters:
  • grid[in] The forest/cmesh to use.

  • itree[in] The local id of a tree.

Returns:

t8_gloidx_t