Wildmeshing Toolkit
local_id_table_offset.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <cstdint>
3 #include <wmtk/Tuple.hpp>
4 
5 namespace wmtk::autogen::utils {
6 // external access to each mesh type's local id offsets from tuple code
7 // mostl'y for unit testing
8 int8_t local_id_table_offset(PrimitiveType mesh_type, const Tuple& t);
9 
10 } // namespace wmtk::autogen::utils
auto local_id_table_offset(PrimitiveType mesh_type, const Tuple &t) -> int8_t