Function t8_element_get_corner_face
Defined in File t8_scheme.h
Function Documentation
-
int t8_element_get_corner_face(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *element, const int corner, const int face)
Compute the face numbers of the faces sharing an element’s corner.
Example quad: 2 x — x 3 | | | | face 1 0 x — x 1 face 2 Thus for corner = 1 the output is: face=0 : 2, face=1: 1
- Parameters:
scheme – [in] The scheme of the forest.
tree_class – [in] The eclass of tree the elements are part of.
element – [in] The element.
corner – [in] A corner index for the face.
face – [in] A face index for corner.
- Returns:
The face number of the face-th face at corner.