Function t8_element_deinit

Function Documentation

void t8_element_deinit(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const int length, t8_element_t *elems)

Deinitialize an array of allocated elements.

See also

t8_element_init

Note

Call this function if you called t8_element_init on the element pointers.

Parameters:
  • scheme[in] The scheme to use.

  • tree_class[in] The eclass of the current tree.

  • length[in] The number of elements to be deinitialized.

  • elems[inout] On input an array of length many allocated and initialized elements, on output an array of length many allocated, but not initialized elements.