Function t8_dprism_ancestor_id

Function Documentation

int t8_dprism_ancestor_id(t8_dprism_t *p, int level)

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

Parameters:
  • p[in] prism to be considered.

  • level[in] level to be considered.

Returns:

Returns its child id in 0..7