Function t8_dpyramid_nearest_common_ancestor(const t8_dpyramid_t *, const t8_dpyramid_t *, t8_dpyramid_t *)

Function Documentation

void t8_dpyramid_nearest_common_ancestor(const t8_dpyramid_t *pyra1, const t8_dpyramid_t *pyra2, t8_dpyramid_t *nca)

Compute the nearest common ancestor of two elements

Parameters:
  • pyra1[in] The first pyramid

  • pyra2[in] The second pyramid

  • nca[inout] Existing pyramid whose data will be filled with the data of pyra1 and pyra2 nearest common ancestor.