Function t8_dline_nearest_common_ancestor

Function Documentation

void t8_dline_nearest_common_ancestor(const t8_dline_t *line1, const t8_dline_t *line2, t8_dline_t *nca)

Computes the nearest common ancestor of two lines in the same tree.

Note

line1, line2, nca may point to the same line.

Parameters:
  • line1[in] First input line.

  • line2[in] Second input line.

  • nca[inout] Existing line whose data will be filled.