Function t8_element_array_reset

Function Documentation

void t8_element_array_reset(t8_element_array_t *element_array)

Sets the array count to zero and frees all elements.

Note

Calling t8_element_array_init, then any array operations, then t8_element_array_reset is memory neutral.

Parameters:

element_array[inout] Array structure to be reset.