Function t8_dtet_first_descendant

Function Documentation

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

Compute the first descendant of a tetrahedron at a given level. This is the descendant of the tetrahedron in a uniform maxlevel refinement that has the smaller 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 first descendant.