Function t8_dtet_face_parent_face

Function Documentation

int t8_dtet_face_parent_face(const t8_dtet_t *tet, int face)

Given a face of an tet return the face number of the parent of the tet that matches the tet’s face. Or return -1 if no face of the parent matches the face.

Parameters:
  • tet[in] The tet.

  • face[in] Then number of the face.

Returns:

If face of tet is also a face of tet’s parent, the face number of this face. Otherwise -1.