Function t8_dtet_ancestor

Function Documentation

void t8_dtet_ancestor(const t8_dtet_t *tet, int level, t8_dtet_t *ancestor)

Compute the ancestor of a tetrahedron at a given level.

Note

The tetrahedron ancestor may point to the same tetrahedron as tet.

Parameters:
  • tet[in] Input tetrahedron.

  • level[in] A smaller level than tet.

  • ancestor[inout] Existing tetrahedron whose data will be filled with the data of tet’s ancestor on level level.