Function t8_forest_element_find_owner_old

Function Documentation

int t8_forest_element_find_owner_old(t8_forest_t forest, t8_gloidx_t gtreeid, t8_element_t *element, t8_eclass_t eclass, sc_array_t *all_owners_of_tree)

Find the owner process of a given element, deprecated version.

Use t8_forest_element_find_owner instead.

Note

The element must exist in the forest.

Note

forest must be committed before calling this function.

Parameters:
  • forest[in] The forest.

  • gtreeid[in] The global id of the tree in which the element lies.

  • element[in] The element to look for.

  • eclass[in] The element class of the tree gtreeid.

  • all_owners_of_tree[inout] If not NULL, a sc_array of integers. If the element count is zero then on output all owners of the tree are stored. If the element count is non-zero then it is assumed to be filled with all owners of the tree.

Returns:

The mpirank of the process that owns element.