16 struct MultiMeshLinkConditionFunctor
19 bool operator()(
const T& m,
const simplex::Simplex& s, int64_t) {
20 return this->operator()(m,s);
22 template <
typename MeshType>
23 bool operator()(
const MeshType& m,
const simplex::Simplex& s)
const
37 std::integral_constant<int64_t, 1>{},
38 MultiMeshLinkConditionFunctor{});
41 const auto& data = visitor.cache();
43 for (
const auto& [key, value_var] : data) {
44 const bool valid = std::get<bool>(value_var);
const Mesh & mesh() const
bool before(const simplex::Simplex &t) const override
MultiMeshLinkConditionInvariant(const Mesh &m)
void execute_from_root(Mesh &mesh, const simplex::NavigatableSimplex &simplex)
PrimitiveType primitive_type() const
bool link_condition(const EdgeMesh &mesh, const Tuple &edge)
Check if the edge to collapse satisfying the link condition.