Function t8_dpyramid_face_parent_face(const t8_dpyramid_t *, const int)

Function Documentation

int t8_dpyramid_face_parent_face(const t8_dpyramid_t *elem, const int face)

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

Parameters:
  • elem[in] Input pyramid

  • face[in] a face of elem

Returns:

the facenumber of the parent of elem matching face or -1