Wildmeshing Toolkit
Loading...
Searching...
No Matches
from_boundary.hpp
Go to the documentation of this file.
1#pragma once
2
4#include <memory>
5
6namespace wmtk {
7class Mesh;
8namespace attribute {
9class 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)