Wildmeshing Toolkit
Loading...
Searching...
No Matches
MinIncidentValenceInvariant.hpp
Go to the documentation of this file.
1#pragma once
2
4#include "Invariant.hpp"
5
6namespace wmtk::invariants {
11{
12public:
13 MinIncidentValenceInvariant(const Mesh& m, int64_t min_valence);
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
19private:
20 bool is_greater_min_valence(const Tuple& t) const;
21
23};
24} // namespace wmtk::invariants
The Tuple is the basic navigation tool in our mesh data structure.
Definition Tuple.hpp:19
Invariant for minimum valence on both incident vertices of an edge.
bool before(const simplex::Simplex &t) const override
bool after(const std::vector< Tuple > &top_dimension_tuples_before, const std::vector< Tuple > &top_dimension_tuples_after) const override