Function t8_cmesh_treeid_is_ghost

Function Documentation

int t8_cmesh_treeid_is_ghost(const t8_cmesh_t cmesh, const t8_locidx_t ltreeid)

Query whether a given t8_locidx_t belongs to a ghost of a cmesh.

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

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

Returns:

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