Function t8_dpyramid_first_descendant

Function Documentation

void t8_dpyramid_first_descendant(const t8_dpyramid_t *p, t8_dpyramid_t *desc, const int level)

Compute the first descendant of a pyramid at a given level.

This is the descendant of the pyramid in a uniform level refinement that has the smallest id.

Parameters:
  • p[in] pyramid whose descendant is computed.

  • desc[out] Existing pyramid whose data will be filled with the data of p’s first descendant on level level.

  • level[in] The refinement level. Must be greater than p’s refinement level.