Function t8_cmesh_trees_get_part_data(t8_cmesh_trees_t, int, t8_locidx_t *, t8_locidx_t *, t8_locidx_t *, t8_locidx_t *)

Function Documentation

void t8_cmesh_trees_get_part_data(t8_cmesh_trees_t trees, int proc, t8_locidx_t *first_tree, t8_locidx_t *num_trees, t8_locidx_t *first_ghost, t8_locidx_t *num_ghosts)

Return the part data of a trees struct.

Parameters:
  • trees[in] The trees structure to be queried.

  • proc[in] The part number to be queried.

  • first_tree[out] The local id of the first tree in the part.

  • num_trees[out] The number of trees in the part.

  • first_ghost[out] The local id of the first ghost in the part.

  • num_ghosts[out] The number of ghosts in the part.