Function t8_forest_element_owners_at_face_bounds

Function Documentation

void t8_forest_element_owners_at_face_bounds(t8_forest_t forest, t8_gloidx_t gtreeid, const t8_element_t *element, t8_eclass_t eclass, int face, int *lower, int *upper)

Constant time algorithm to compute lower and upper bounds for the owner processes of the face leaves of a given element.

Note

If on input lower >= upper, then the bounds are not changed by this algorithm. We interpret lower = upper such that the owner is unique and equals lower.

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.

  • face[in] The face of element to consider.

  • lower[inout] On input a known lower bound for the owner process, on output a (better) bound.

  • upper[inout] On input a known upper bound for the owner process, on output a (better) bound.