Function t8_element_get_face_shape

Function Documentation

t8_element_shape_t t8_element_get_face_shape(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *element, const int face)

Compute the shape of the face of an element.

Parameters:
  • scheme[in] The scheme of the forest.

  • tree_class[in] The eclass of tree the elements are part of.

  • element[in] The element.

  • face[in] A face of element.

Returns:

The element shape of the face. I.e. T8_ECLASS_LINE for quads, T8_ECLASS_TRIANGLE for tets and depending on the face number either T8_ECLASS_QUAD or T8_ECLASS_TRIANGLE for prisms.