Function t8_dprism_face_parent_face

Function Documentation

int t8_dprism_face_parent_face(const t8_dprism_t *prism, int face)

Given a face of a prism return the face number of the parent of the prism that matches the prism’s face.

Or return -1 if no face of the parent matches the face.

Parameters:
  • prism[in] The prism.

  • face[in] Then number of the face.

Returns:

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