Template Function grid_first_local_id

Function Documentation

template<typename grid_t>
t8_gloidx_t grid_first_local_id(const grid_t grid)

Templated getter functions to use one call to get the id of the first local element (tree) for a forest(cmesh).

Template Parameters:

grid_t – Either a cmesh or a forest.

Parameters:

grid[in] The forest/cmesh to use.

Returns:

The global id of the first local element/tree.