Function t8_cmesh_treeid_is_local_tree

Function Documentation

int t8_cmesh_treeid_is_local_tree(const t8_cmesh_t cmesh, const t8_locidx_t ltreeid)

Query whether a given t8_locidx_t belongs to a local tree of a cmesh.

Parameters:
  • cmesh[in] The cmesh to be considered.

  • ltreeid[in] An (possible) tree index.

Returns:

True if ltreeid matches the range of local trees of cmesh. False if not. cmesh must be committed before calling this function.