Function t8_element_get_child_id

Function Documentation

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

Compute the child id 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] This must be a valid element.

Returns:

The child id of element.