Function t8_dtri_face_parent_face(const t8_dtri_t *, int)
Defined in File t8_dtri_bits.c
Function Documentation
-
int t8_dtri_face_parent_face(const t8_dtri_t *triangle, int face)
Given a face of an triangle return the face number of the parent of the triangle that matches the triangle’s face. Or return -1 if no face of the parent matches the face.
- Parameters:
triangle – [in] The triangle.
face – [in] Then number of the face.
- Returns:
If face of elem is also a face of elem’s parent, the face number of this face. Otherwise -1.