Wildmeshing Toolkit
triangle_insertion.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <wmtk/Mesh.hpp>
4 
6 
8 {
9 public:
10  std::shared_ptr<Mesh> surface_mesh = nullptr;
11  std::shared_ptr<Mesh> open_boundary_mesh = nullptr;
12  std::shared_ptr<Mesh> nonmanifold_edge_mesh = nullptr;
13  std::shared_ptr<Mesh> bbox_mesh = nullptr;
14 };
15 
16 std::tuple<std::shared_ptr<wmtk::TetMesh>, ChildMeshes> triangle_insertion(
17  const TetMesh& bg_mesh,
18  const std::string& bg_position,
19  const TriMesh& mesh_in,
20  const std::string& in_position,
21  std::vector<attribute::MeshAttributeHandle>& pass_through,
22  bool round = true,
23  bool track_submeshes = true,
24  bool make_child_free = false);
25 
26 } // namespace wmtk::components::triangle_insertion
std::tuple< std::shared_ptr< wmtk::TetMesh >, ChildMeshes > triangle_insertion(const TetMesh &bg_mesh, const std::string &bg_position, const TriMesh &mesh_in, const std::string &in_position, std::vector< attribute::MeshAttributeHandle > &pass_through, bool round, bool track_submeshes, bool make_child_free)