Function t8_dtet_last_descendant

Function Documentation

void t8_dtet_last_descendant(const t8_dtet_t *tet, t8_dtet_t *s, int level)

Compute the last descendant of a tetrahedron at a given level.

This is the descendant of the tetrahedron in a uniform maxlevel refinement that has the biggest id.

Parameters:
  • tet[in] tetrahedron whose descendant is computed.

  • level[in] A given level. Must be greater or equal to tet’s level.

  • s[out] Existing tetrahedron whose data will be filled with the data of t’s last descendant.