Function t8_dtri_root_face_to_face
Defined in File t8_dtri_bits.h
Function Documentation
-
int t8_dtri_root_face_to_face(t8_dtri_t *element, int root_face)
Given a triangle and a face of the root triangle.
If the triangle lies on the tree boundary, return the corresponding face number of the triangle. If not the return value is arbitrary.
Note
For boundary triangles, this function is the inverse of t8_dtri_tree_face
- Parameters:
element – [in] The triangle.
root_face – [in] The index of a face of the root element.
- Returns:
The index of the face of element that is a subface of root_face, if element is on the tree boundary. Any arbitrary integer if element is not at a tree boundary.