Wildmeshing Toolkit
from_boundary.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 #include <memory>
5 
6 namespace wmtk {
7 class Mesh;
8 namespace attribute {
9 class MeshAttributeHandle;
10 }
11 } // namespace wmtk
13 
14  // returns new mesh created from the boundary
15  std::shared_ptr<Mesh> from_boundary(
16  Mesh& m,
17  const PrimitiveType boundary_dimension,
18  const std::string& boundary_attribute_name,
19  char value = 1,
20  const std::vector<wmtk::attribute::MeshAttributeHandle>& passed_attributes = {});
21 } // namespace wmtk::components::multimesh
std::shared_ptr< Mesh > from_boundary(Mesh &mesh, const PrimitiveType ptype, const std::string &attribute_name, char value, const std::vector< wmtk::attribute::MeshAttributeHandle > &passed_attributes)
Definition: Accessor.hpp:6