Function t8_dtri_first_descendant(const t8_dtri_t *, t8_dtri_t *, int)

Function Documentation

void t8_dtri_first_descendant(const t8_dtri_t *element, t8_dtri_t *s, int level)

Compute the first descendant of a triangle at a given level. This is the descendant of the triangle in a uniform maxlevel refinement that has the smaller id.

Parameters:
  • element[in] Triangle whose descendant is computed.

  • level[in] A given level. Must be grater or equal to element’s level.

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