Function t8_element_is_root_boundary

Function Documentation

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

Compute whether a given element shares a given face with its root tree.

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

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

  • element[in] The input element.

  • face[in] A face of element.

Returns:

True if face is a subface of the element’s root element.