Function t8_dpyramid_ancestor_id

Function Documentation

int t8_dpyramid_ancestor_id(const t8_dpyramid_t *p, const int level)

Return the child-id of the ancestor of p at level level.

Parameters:
  • p[in] Input pyramid

  • level[in] The ancestor-level

Returns:

The child-id of the ancestor