Function element_is_refinable

Function Documentation

int element_is_refinable(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *element)

Indicates if an element is refinable.

Possible reasons for being not refinable could be that the element has reached its max level.

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 check.

Returns:

1 if the element is refinable, 0 otherwise.