Function t8_dprism_nearest_common_ancestor(const t8_dprism_t *, const t8_dprism_t *, t8_dprism_t *)
Defined in File t8_dprism_bits.c
Function Documentation
-
void t8_dprism_nearest_common_ancestor(const t8_dprism_t *p1, const t8_dprism_t *p2, t8_dprism_t *r)
Computes the nearest common ancestor of two prisms in the same tree.
Note
t1, t2, r may point to the same tetrahedron.
- Parameters:
p1 – [in] First input tetrahedron.
p2 – [in] Second input tetrahedron.
r – [inout] Existing tetrahedron whose data will be filled.