Function t8_forest_determine_child_type
Defined in File t8_forest_iterate.cxx
Function Documentation
-
static size_t t8_forest_determine_child_type(sc_array_t *leaf_elements, size_t index, void *data)
This is the function that we call in sc_split_array to determine for an element E that is a descendant of an element e, of which of e’s children, E is a descendant.
- Parameters:
leaf_elements – [in] The larray of eaf elements.
index – [in] The local id of the element within the leaf_elements array.
data – [in] The query data.
- Returns:
The element’s ancestor id at the stored level is returned as the element’s type.