Function t8_dtri_ancestor_id(const t8_dtri_t *, int)
Defined in File t8_dtri_bits.h
Function Documentation
-
int t8_dtri_ancestor_id(const t8_dtri_t *element, int level)
Compute the position of the ancestor of this child at level level within its siblings.
- Parameters:
element – [in] triangle to be considered.
level – [in] level to be considered.
- Returns:
Returns its child id in 0..3