Function t8_dtri_face_child_face(const t8_dtri_t *, int, int)

Function Documentation

int t8_dtri_face_child_face(const t8_dtri_t *triangle, int face, int face_child)

Given a face of a triangle and a child number of a child of that face, return the face number of the child of the triangle that matches the child face.

Parameters:
  • triangle[in] The triangle.

  • face[in] Then number of the face.

  • face_child[in] The child number of a child of the face triangle.

Returns:

The face number of the face of a child of triangle that coincides with face_child.