Function t8_dtet_nearest_common_ancestor

Function Documentation

void t8_dtet_nearest_common_ancestor(const t8_dtet_t *tet1, const t8_dtet_t *tet2, t8_dtet_t *nca)

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

Note

tet1, tet2, nca may point to the same tetrahedron.

Parameters:
  • tet1[in] First input tetrahedron.

  • tet2[in] Second input tetrahedron.

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