Function t8_element_is_equal

Function Documentation

int t8_element_is_equal(const t8_scheme_c *scheme, const t8_eclass_t tree_class, const t8_element_t *elem1, const t8_element_t *elem2)

Check if two elements are equal.

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

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

  • elem1[in] The first element.

  • elem2[in] The second element.

Returns:

1 if the elements are equal, 0 if they are not equal