Wildmeshing Toolkit
tuple_from_valid_index.hxx
Go to the documentation of this file.
1 #pragma once
2 // DO NOT MODIFY, autogenerated from the /scripts directory
5 
6 namespace wmtk::autogen::tri_mesh {
7 inline Tuple tuple_from_valid_index(int64_t global_cid, int8_t valid_tuple_index)
8 {
9  const auto& [lvid, leid] = auto_valid_tuples[valid_tuple_index];
10 
11  return Tuple(lvid, leid, -1, global_cid);
12 }
13 
14 } // namespace wmtk::autogen::tri_mesh
const int8_t auto_valid_tuples[6][2]
Tuple tuple_from_valid_index(int64_t global_cid, int8_t valid_tuple_index)