Function t8_element_extrude_face(const t8_scheme_c *, const t8_eclass_t, const t8_element_t *, t8_element_t *, int)

Function Documentation

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

Given a boundary face inside a root tree’s face construct the element inside the root tree that has the given face as a face.

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

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

  • face[in] A face element.

  • element[inout] An allocated element. The entries will be filled with the data of the element that has face as a face and lies within the root tree.

  • root_face[in] The index of the face of the root tree in which face lies.

Returns:

The face number of the face of element that coincides with face.