Function t8_forest_element_find_owner
Defined in File t8_forest_general.h
Function Documentation
-
int t8_forest_element_find_owner(t8_forest_t forest, t8_gloidx_t gtreeid, t8_element_t *element, t8_eclass_t eclass)
Find the owner process of a given element.
See also
See also
Note
The element must not exist in the forest, but an ancestor of its first descendant has to. If the element’s owner is not unique, the owner of the element’s first descendant is returned.
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.
- Returns:
The mpirank of the process that owns element.