Function t8_dline_last_descendant(const t8_dline_t *, t8_dline_t *, int)

Function Documentation

void t8_dline_last_descendant(const t8_dline_t *line, t8_dline_t *desc, int level)

Compute the last descendant of a line at a given level. This is the descendant of the line in a uniform level refinement that has the largest id.

Parameters:
  • line[in] Line whose descendant is computed.

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

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