Function t8_element_array_find
Defined in File t8_containers.h
Function Documentation
-
t8_locidx_t t8_element_array_find(const t8_element_array_t *element_array, const t8_element_t *element)
Search for an element in an array.
- Parameters:
element_array – [in] Array structure.
element – [in] Element to be found in element_array. The element must have been created with the scheme used in element_array.
- Returns:
If element was found in element_array then the position in the array is returned. If the element is not found, -1 is returned.