Function t8_dtri_last_descendant(const t8_dtri_t *, t8_dtri_t *, int)
Defined in File t8_dtri_bits.h
Function Documentation
-
void t8_dtri_last_descendant(const t8_dtri_t *element, t8_dtri_t *s, int level)
Compute the last descendant of a triangle at a given level. This is the descendant of the triangle in a uniform maxlevel refinement that has the biggest 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 last descendant.