10 #if defined(WMTK_ENABLE_SIMPLEX_ID_CACHING)
15 const auto s0id = m.
id(s0);
16 const auto s1id = m.
id(s1);
17 return std::tie(s0pt, s0id) == std::tie(s1pt, s1id);
28 return a_pt == b_pt &&
equal(m, a_pt, a, b);
36 return a == b || m.
id(a, primitive_type) == m.
id(b, primitive_type);
46 #if defined(WMTK_ENABLE_SIMPLEX_ID_CACHING)
51 const auto s0id = m.
id(s0);
52 const auto s1id = m.
id(s1);
53 return std::tie(s0pt, s0id) < std::tie(s1pt, s1id);
71 return less(m, a_pt, a, b);
85 return m.
id(a, primitive_type) < m.
id(b, primitive_type);
int64_t id(const Tuple &tuple, PrimitiveType type) const
return the global id of the Tuple of the given dimension
PrimitiveType primitive_type() const
static bool equal(const Mesh &m, const Simplex &s0, const Simplex &s1)
static bool less(const Mesh &m, const Simplex &s0, const Simplex &s1)