Function t8_forest_element_owners_at_neigh_face
Defined in File t8_forest_private.h
Function Documentation
-
void t8_forest_element_owners_at_neigh_face(t8_forest_t forest, t8_locidx_t ltreeid, const t8_element_t *element, int face, sc_array_t *owners)
Find all owner processes that own descendant of a face neighbor of a given local element that touch the given face.
Note
forest must be committed before calling this function.
- 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.
owners – [inout] On input an array of integers. Its first and second entry are taken as lower and upper bounds for the owner processes. If empty, then no bounds are taken. On output it stores all owners of descendants of the neighbor of elem across face that touch this face. If the neighbor element does not exist, owners will be empty. This is equivalent to calling t8_forest_element_face_neighbor and t8_forest_element_owners_at_face for the resulting neighbor.