Wildmeshing Toolkit
Loading...
Searching...
No Matches
ConstantInvariant.cpp
Go to the documentation of this file.
2
3
5
6
7ConstantInvariant::ConstantInvariant(const Mesh& m, bool before, bool after)
8
9 : Invariant(m)
10 , m_before(before)
11 , m_after(after)
12{}
14{
15 return m_before;
16}
18 const std::vector<Tuple>& top_dimension_tuples_before,
19 const std::vector<Tuple>& top_dimension_tuples_after) const
20{
21 return m_after;
22}
23
24} // 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