14 using namespace utils;
18 const int64_t global_cid = TupleInspector::global_cid(tuple);
41 default: assert(
false);
static int64_t global_cid(const Tuple &t)
int8_t switch_primitive_to_valid_tuple_index(wmtk::PrimitiveType pt)
int8_t identity_valid_tuple_index()
const int64_t auto_3d_table_face[96][3]
const int8_t auto_valid_switch_product_table[24][24]
Tuple local_switch_tuple(const Tuple &t, PrimitiveType pt)
const int64_t auto_3d_table_vertex[96][3]
const int8_t auto_valid_tuple_switch_indices[5]
int8_t valid_index_from_tuple(const Tuple &t)
const int64_t auto_3d_table_edge[96][3]
int64_t local_id_table_offset(const Tuple &t)
Tuple tuple_from_valid_index(int64_t global_cid, int8_t valid_tuple_index)
constexpr int8_t get_primitive_type_id(PrimitiveType t)
Get a unique integer id corresponding to each primitive type.