Wildmeshing Toolkit
SimplexEqualFunctor.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <wmtk/Mesh.hpp>
6 
7 namespace wmtk::simplex::internal {
9 {
10  const Mesh& m;
11 
13  : m{mm}
14  {}
15 
16  bool operator()(const Simplex& s0, const Simplex& s1) const
17  {
18  return utils::SimplexComparisons::equal(m, s0, s1);
19  }
20 };
21 
22 } // namespace wmtk::simplex::internal
static bool equal(const Mesh &m, const Simplex &s0, const Simplex &s1)
This class is a utility to perform breadth first search on simplices.
bool operator()(const Simplex &s0, const Simplex &s1) const