Function t8_dline_ancestor_id

Function Documentation

int t8_dline_ancestor_id(const t8_dline_t *line, int level)

Compute the position of the ancestor of this child at level level within its siblings.

Parameters:
  • line[in] line to be considered.

  • level[in] level to be considered.

Returns:

Returns its child id 0 or 1.