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::tet_mesh {
7 inline Tuple tuple_from_valid_index(int64_t global_cid, int8_t valid_tuple_index)
8 {
9  const auto& [lvid, leid, lfid] = auto_valid_tuples[valid_tuple_index];
10 
11  return Tuple(lvid, leid, lfid, global_cid);
12 }
13 
14 } // namespace wmtk::autogen::tet_mesh
const int8_t auto_valid_tuples[24][3]
Tuple tuple_from_valid_index(int64_t global_cid, int8_t valid_tuple_index)