Wildmeshing Toolkit
local_id_table_offset.hpp
Go to the documentation of this file.
1 #pragma once
2 #include <array>
3 #include <wmtk/Tuple.hpp>
4 
5 
6 namespace wmtk::autogen::edge_mesh {
7 // computes the offset of a tuple's local ids in the tables
8 int64_t local_id_table_offset(const Tuple& t);
9 
10 // returns a lvid/leid associated iwth a particular tuple offset
11 std::array<int64_t, 1> lvid_from_table_offset(int64_t table_offset);
12 
13 } // namespace wmtk::autogen::edge_mesh
14 
int64_t local_id_table_offset(const Tuple &t)
std::array< int64_t, 1 > lvid_from_table_offset(int64_t table_offset)