Function t8_element_get_last_descendant
Defined in File t8_scheme.h
Function Documentation
-
void t8_element_get_last_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 last 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 last element in a uniform refinement of element of the maximum possible level.
level – [in] The uniform refinement level at which the descendant is computed. level must be greater or equal to the level of element.