Function t8_dtet_compare

Function Documentation

int t8_dtet_compare(const t8_dtet_t *tet1, const t8_dtet_t *tet2)

Compare two tets in their linear order.

Parameters:
  • tet1[in] Tetrahedron one.

  • tet2[in] Tetrahedron two.

Returns:

Returns negative if tet1 < tet2, zero if tet1 = tet2, positive if tet1 > tet2