13 [&](
const auto& typed_handle) noexcept {
14 using ParentHandleType = std::decay_t<decltype(typed_handle)>;
15 using ParentType =
typename ParentHandleType::Type;
28 const std::string& new_attribute_name)
35 cast_attribute<T>(original_handle, new_handle);
attribute::MeshAttributeHandle register_attribute(const std::string &name, PrimitiveType type, int64_t size, bool replace=false, T default_value=T(0))
int64_t dimension() const
PrimitiveType primitive_type() const
void cast_attribute(const wmtk::attribute::MeshAttributeHandle &original_handle, const wmtk::attribute::MeshAttributeHandle &new_handle)