Function t8_dtet_ancestor_id

Function Documentation

int t8_dtet_ancestor_id(const t8_dtet_t *tet, int level)

Compute the position of the ancestor of this child at level level within its siblings.

Parameters:
  • tet[in] tetrahedron to be considered.

  • level[in] level to be considered.

Returns:

Returns its child id in 0..7