Function t8_element_array_init

Function Documentation

void t8_element_array_init(t8_element_array_t *element_array, const t8_scheme_c *scheme, const t8_eclass_t tree_class)

Initializes an already allocated (or static) array structure.

Parameters:
  • element_array[inout] Array structure to be initialized.

  • scheme[in] The eclass scheme of which elements should be stored.

  • tree_class[in] The tree class of the elements stored in the array.