Function t8_element_get_last_descendant_face

Function Documentation

void t8_element_get_last_descendant_face(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *element, const int face, t8_element_t *last_desc, const int level)

Construct the last descendant of an element at a given level that touches a given face.

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

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

  • element[in] The input element.

  • face[in] A face of element.

  • last_desc[inout] An allocated element. This element’s data will be filled with the data of the last descendant of element that shares a face with face.

  • level[in] The level, at which the last descendant is constructed