Function t8_cmesh_tree_to_face_decode
Defined in File t8_cmesh_trees.h
Function Documentation
-
void t8_cmesh_tree_to_face_decode(const int dimension, const int8_t tree_to_face, int *face, int *orientation)
Given a tree-to-face value, get its encoded face number and orientation.
Note
This function is the inverse operation of t8_cmesh_tree_to_face_encode If F = t8_eclass_max_num_faces[dimension], we get orientation = tree_to_face / F face = tree_to_face % F
- Parameters:
dimension – [in] The dimension of the corresponding eclasses.
tree_to_face – [in] A tree-to-face value
face – [out] On output filled with the stored face value.
orientation – [out] On output filled with the stored orientation value.