Function t8_dline_ancestor

Function Documentation

void t8_dline_ancestor(const t8_dline_t *line, int level, t8_dline_t *ancestor)

Compute the ancestor of a line at a given level.

Note

The line ancestor may point to the same line as line.

Parameters:
  • line[in] Input line.

  • level[in] A smaller level than line.

  • ancestor[inout] Existing line whose data will be filled with the data of line’s ancestor on level level.