Function t8_dpyramid_child_id(const t8_dpyramid_t *)

Function Documentation

int t8_dpyramid_child_id(const t8_dpyramid_t *p)

Compute the position of the ancestor of this child at level level within its siblings.

Parameters:

p[in] pyramid to be considered.

Returns:

Returns its child id in 0..9