Function t8_element_get_first_descendant(const t8_scheme_c *, const t8_eclass_t, const t8_element_t *, t8_element_t *, const int)

Function Documentation

void t8_element_get_first_descendant(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *element, t8_element_t *desc, const int level)

Compute the first descendant of a given 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 whose descendant is computed.

  • desc[out] The first element in a uniform refinement of element at level level.

  • level[in] The uniform refinement level at which the descendant is computed. level must be greater or equal to the level of element.