Struct t8_element_array_t

Struct Documentation

struct t8_element_array_t

The t8_element_array_t is an array to store t8_element_t * of a given eclass_scheme implementation.

It is a wrapper around sc_array_t. Each time, a new element is created by the functions for t8_element_array_t, the eclass function either t8_element_new or t8_element_init is called for the element. Thus, each element in a t8_element_array_t is automatically initialized properly.

Public Members

const t8_scheme_c *scheme

The scheme of which elements should be stored.

t8_eclass_t tree_class

!< A scheme of which elements should be stored

sc_array_t array

!< The tree class of the elements stored in the array