Function t8_dpyramid_ancestor(const t8_dpyramid_t *, const int, t8_dpyramid_t *)

Function Documentation

void t8_dpyramid_ancestor(const t8_dpyramid_t *pyra, const int level, t8_dpyramid_t *ancestor)

Compute the ancestor of pyra at a given level

Parameters:
  • pyra[in] Input pyramid

  • level[in] Level of the ancestor to compute

  • ancestor[inout] Allocated element that will be filled with the data of the ancestor.