Wildmeshing Toolkit
Loading...
Searching...
No Matches
find_local_dart_action.hpp
Go to the documentation of this file.
1#pragma once
2#include <vector>
3#include <wmtk/Primitive.hpp>
4#include <wmtk/Tuple.hpp>
5namespace wmtk::autogen {
6class SimplexDart;
7class Dart;
8} // namespace wmtk::autogen
9
10namespace wmtk::multimesh::utils {
11
12// Maps the tuple source according to the operation sequence
13// std::vector<PrimitiveType> operations where operations satisfies
14// base_target = switch_tuples(base_source, operations)
15int8_t find_local_dart_action(PrimitiveType mesh_type, const Tuple& source, const Tuple& target);
18 const Tuple& source,
19 const Tuple& target);
22 const wmtk::autogen::Dart& source,
23 const wmtk::autogen::Dart& target);
24} // namespace wmtk::multimesh::utils
int8_t find_local_dart_action(PrimitiveType pt, const Tuple &source, const Tuple &target)