Function t8_dtri_ancestor
Defined in File t8_dtri_bits.h
Function Documentation
-
void t8_dtri_ancestor(const t8_dtri_t *element, int level, t8_dtri_t *ancestor)
Compute the ancestor of a triangle at a given level.
Note
The triangle ancestor may point to the same triangle as element.
- Parameters:
element – [in] Input triangle.
level – [in] A smaller level than element.
ancestor – [inout] Existing triangle whose data will be filled with the data of element’s ancestor on level level.