Function t8_element_get_num_siblings
Defined in File t8_scheme.h
Function Documentation
-
int t8_element_get_num_siblings(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *element)
Compute the number of siblings of an element.
That is the number of Children of its parent.
- 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 siblings of element. Note that this number is >= 1, since we count the element itself as a sibling.