Wildmeshing Toolkit
valid_index_from_tuple.hxx
Go to the documentation of this file.
1 #pragma once
2 // DO NOT MODIFY, autogenerated from the /scripts directory
6 namespace wmtk::autogen::edge_mesh {
7 inline int8_t valid_index_from_tuple(const Tuple& t)
8 {
9  {
10  const int64_t offset = local_id_table_offset(t);
11  const int8_t valid_index = auto_all_to_valid_tuple_indices[offset];
12  return valid_index;
13  }
14 }
15 } // namespace wmtk::autogen::edge_mesh
int64_t local_id_table_offset(const Tuple &t)
int8_t valid_index_from_tuple(const Tuple &t)
const int8_t auto_all_to_valid_tuple_indices[2]