Function t8_dprism_first_descendant(const t8_dprism_t *, t8_dprism_t *, int)

Function Documentation

void t8_dprism_first_descendant(const t8_dprism_t *p, t8_dprism_t *desc, int level)

Compute the first descendant of a prism at a given level. This is the descendant of the prism in a uniform level refinement that has the smallest id.

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

  • desc[out] Existing prism 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.