2 #include "tools/TriMesh_examples.hpp"
8 return wmtk::tests::disk(5);
12 -> std::vector<std::shared_ptr<wmtk::Mesh>>
14 if (path.size() == 0) {
18 std::vector<std::shared_ptr<wmtk::Mesh>> meshes;
19 for (
size_t j = 0; j < path.size(); ++j) {
20 std::vector<int64_t> p(path.begin(), path.begin() + j);
21 auto& cur_mesh = m.get_multi_mesh_mesh(p);
22 int64_t child_index = path[j];
23 const auto child_meshes = cur_mesh.get_child_meshes();
24 for (int64_t index = child_meshes.size(); index <= child_index; ++index) {
28 cur_mesh.register_child_mesh(new_mesh, map);
29 meshes.emplace_back(new_mesh);
std::vector< std::array< Tuple, 2 > > same_simplex_dimension_bijection(const Mesh &parent, const Mesh &child)
auto make_child(wmtk::Mesh &m, const std::vector< int64_t > &path) -> std::vector< std::shared_ptr< wmtk::Mesh >>
std::shared_ptr< wmtk::Mesh > make_mesh()