Function t8_element_get_child

Function Documentation

void t8_element_get_child(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *element, const int childid, t8_element_t *child)

Construct the child element of a given number.

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, bigger than maxlevel.

  • childid[in] The number of the child to construct.

  • child[inout] The storage for this element must exist. On output, a valid element. It is valid to call this function with element = child.