Function t8_forest_element_owners_at_neigh_face_bounds
Defined in File t8_forest_private.h
Function Documentation
-
void t8_forest_element_owners_at_neigh_face_bounds(t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, int face, int *lower, int *upper)
Constant time algorithm to find bounds for the owner processes that own descendant of a face neighbor of a given local element that touch the given face.
Note
If on input lower >= upper, then the bounds are not changed by this algorithm. We interpret lower = such that the owner is unique and equals lower.
Note
forest must be committed before calling this function. This is equivalent to calling t8_forest_element_face_neighbor and t8_forest_element_owners_at_face_bounds for the resulting neighbor.
- Parameters:
forest – [in] The forest.
ltreeid – [in] The local id of the tree in which the element lies.
element – [in] The element, whose neighbor’s face owners should be computed.
face – [in] A face of element.
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.