Wildmeshing Toolkit
ConstantInvariant.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
6 
8 
10 {
11 public:
12  ConstantInvariant(const Mesh& m, bool before, bool after);
13 
14  bool before(const simplex::Simplex& t) const override;
15  bool after(
16  const std::vector<Tuple>& top_dimension_tuples_before,
17  const std::vector<Tuple>& top_dimension_tuples_after) const override;
18 
19 private:
20  bool m_before;
21  bool m_after;
22 };
23 } // namespace wmtk::invariants::internal
bool after(const std::vector< Tuple > &top_dimension_tuples_before, const std::vector< Tuple > &top_dimension_tuples_after) const override
ConstantInvariant(const Mesh &m, bool before, bool after)
bool before(const simplex::Simplex &t) const override