Wildmeshing Toolkit
same_simplex_dimension_bijection.hpp
Go to the documentation of this file.
1 
2 #pragma once
3 #include <array>
4 #include <vector>
5 #include <wmtk/Tuple.hpp>
6 
7 namespace wmtk {
8 class Mesh;
9 }
10 
11 namespace wmtk::multimesh {
12 
13 // Handles the "trivial " mapping case as we see in OBJ files
14 // parent and child are assumed to be homogeneous meshes of the same dimension and the same number
15 // of top level simplices It is assumed that for each index between [0,num_top_level_simplices) it
16 // is assumed that the tuple parent.tuple_from_id(pt,index) should be mapped to
17 // child.tuple_from_id(pt,index)
18 std::vector<std::array<Tuple, 2>> same_simplex_dimension_bijection(
19  const Mesh& parent,
20  const Mesh& child);
21 } // namespace wmtk::multimesh
std::vector< std::array< Tuple, 2 > > same_simplex_dimension_bijection(const Mesh &parent, const Mesh &child)
Definition: Accessor.hpp:6