Wildmeshing Toolkit
from_tag.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 the child mesh created
15  std::shared_ptr<Mesh> from_tag(
18  const std::vector<wmtk::attribute::MeshAttributeHandle>& passed_attributes);
19 } // namespace wmtk::components::multimesh
std::variant< char, int64_t, double, wmtk::Rational, std::tuple< char, wmtk::Rational, double > > ValueVariant
std::shared_ptr< Mesh > from_tag(const wmtk::attribute::MeshAttributeHandle &handle, const wmtk::attribute::MeshAttributeHandle::ValueVariant &tag_value, const std::vector< wmtk::attribute::MeshAttributeHandle > &passed_attributes)
Definition: from_tag.cpp:28
Definition: Accessor.hpp:6