Function t8_cmesh_get_first_tree

Function Documentation

t8_ctree_t t8_cmesh_get_first_tree(t8_cmesh_t cmesh)

Return a pointer to the first local tree in a cmesh.

Parameters:

cmesh[in] The cmesh to be queried.

Returns:

A pointer to the first local tree in cmesh. If cmesh has no local trees, NULL is returned. cmesh must be committed before calling this function.