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