Function t8_dtet_tree_face
Defined in File t8_dtet_bits.h
Function Documentation
-
int t8_dtet_tree_face(t8_dtet_t *tet, int face)
Given a tetrahedron and a face of this tetrahedron.
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 tetrahedra, this function is the inverse of t8_dtet_root_face_to_face.
- Parameters:
tet – [in] The tetrahedron.
face – [in] The index of a face of tet.
- Returns:
The index of the tree face that face is a subface of, if face is on a tree boundary. Any arbitrary integer if face is not at a tree boundary.