Wildmeshing Toolkit
find_local_switch_sequence.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <vector>
3 #include <wmtk/Primitive.hpp>
4 #include <wmtk/Tuple.hpp>
5 
6 namespace wmtk::multimesh::utils {
7 
8 // Maps the tuple source according to the operation sequence
9 // std::vector<PrimitiveType> operations where operations satisfies
10 // base_target = switch_tuples(base_source, operations)
11 std::vector<PrimitiveType>
12 find_local_switch_sequence(const Tuple& source, const Tuple& target, PrimitiveType primitive_type);
13 } // namespace wmtk::multimesh::utils
std::vector< PrimitiveType > find_local_switch_sequence(const Tuple &source, const Tuple &target, PrimitiveType primitive_type)