Function t8_element_face_get_parent_face
Defined in File t8_scheme.h
Function Documentation
-
int t8_element_face_get_parent_face(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *element, const int face)
Given a face of an element return the face number of the parent of the element that matches the element’s face.
Or return -1 if no face of the parent matches the face.
Note
For the root element this function always returns face.
- Parameters:
scheme – [in] The scheme of the forest.
tree_class – [in] The eclass of tree the elements are part of.
element – [in] The element.
face – [in] Then number of the face.
- Returns:
If face of element is also a face of element’s parent, the face number of this face. Otherwise -1.