Function t8_element_get_num_children

Function Documentation

int t8_element_get_num_children(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *element)

Compute the number of children of an element when it is refined.

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

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

  • element[in] The element.

Returns:

The number of children of element.