Function t8_element_get_tree_face
Defined in File t8_scheme.h
Function Documentation
-
int t8_element_get_tree_face(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *element, const int face)
Given an element and a face of this element.
If the face lies on the tree boundary, return the face number of the tree face. If not the return value is arbitrary.
- Parameters:
scheme – [in] The scheme of the forest.
tree_class – [in] The eclass of tree the elements are part of.
element – [in] The element.
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 is not at a tree boundary.