Wildmeshing Toolkit
find_local_switch_sequence_to_face.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 
9 // finds a sequence to find an equivalent subtuple that utilizes the given face
10 std::vector<PrimitiveType> find_local_switch_sequence_to_face(
11  const Tuple& source,
12  const Tuple& target,
13  PrimitiveType subtuple_dimension,
14  PrimitiveType primitive_type);
15 
16 namespace internal {
17 // interface for using this function with local boundary indices
18 std::vector<PrimitiveType> find_local_switch_sequence_to_face(
19  const Tuple& source,
20  int8_t local_boundary_index,
21  PrimitiveType subtuple_dimension,
22  PrimitiveType primitive_type);
23 } // namespace internal
24 } // namespace wmtk::multimesh::utils
std::vector< PrimitiveType > find_local_switch_sequence_to_face(const Tuple &source, int8_t local_boundary_index, PrimitiveType subtuple_dimension, PrimitiveType primitive_type)
std::vector< PrimitiveType > find_local_switch_sequence_to_face(const Tuple &source, const Tuple &target, PrimitiveType subtuple_dimension, PrimitiveType primitive_type)