Function t8_element_get_shape

Function Documentation

t8_element_shape_t t8_element_get_shape(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *element)

Return the shape of an allocated element according its type.

For example, a child of an element can be an element of a different shape and has to be handled differently - according to its shape.

Parameters:
  • scheme[in] The scheme of the forest.

  • tree_class[in] The eclass of tree the elements are part of.

  • element[in] The element to be considered

Returns:

The shape of the element as an eclass