Wildmeshing Toolkit
autogenerated_tables.cpp
Go to the documentation of this file.
1 
3 // DO NOT MODIFY, autogenerated from the /scripts directory
5 
6 const int64_t auto_2d_edges[3][2] = {{1, 2}, {0, 2}, {0, 1}};
7 
8 const int64_t auto_2d_table_vertex[9][2] =
9  {{-1, -1}, {2, 1}, {1, 2}, {2, 0}, {-1, -1}, {0, 2}, {1, 0}, {0, 1}, {-1, -1}};
10 
11 const int64_t auto_2d_table_edge[9][2] =
12  {{-1, -1}, {0, 2}, {0, 1}, {1, 2}, {-1, -1}, {1, 0}, {2, 1}, {2, 0}, {-1, -1}};
13 
14 const int64_t auto_2d_table_ccw[9] = {-1, 0, 1, 1, -1, 0, 0, 1, -1};
15 
16 const int64_t auto_2d_table_complete_vertex[3][2] = {{0, 2}, {1, 0}, {2, 1}};
17 
18 const int64_t auto_2d_table_complete_edge[3][2] = {{1, 0}, {2, 1}, {0, 2}};
19 
20 const int8_t auto_valid_tuples[6][2] = {{0, 1}, {0, 2}, {1, 0}, {1, 2}, {2, 0}, {2, 1}};
21 
22 const int8_t auto_valid_tuple_indices[6] = {1, 2, 3, 5, 6, 7};
23 
24 const int8_t auto_all_to_valid_tuple_indices[9] = {-1, 0, 1, 2, -1, 3, 4, 5, -1};
25 
26 const int8_t auto_valid_switch_table[6][2] = {{5, 1}, {3, 0}, {4, 3}, {1, 2}, {2, 5}, {0, 4}};
27 
28 const int8_t auto_valid_switch_product_table[6][6] = {
29  {1, 0, 4, 5, 2, 3},
30  {0, 1, 2, 3, 4, 5},
31  {3, 2, 5, 4, 0, 1},
32  {2, 3, 0, 1, 5, 4},
33  {5, 4, 3, 2, 1, 0},
34  {4, 5, 1, 0, 3, 2}};
35 
36 const int8_t auto_valid_switch_inverse_table[6] = {0, 1, 5, 3, 4, 2};
37 
38 const int8_t auto_valid_tuple_switch_indices[4] = {3, 0, 1, 4};
39 
40 const int8_t subdart_preserving_action_1[6][3] =
41  {{4, 1, 0}, {4, 0, 1}, {1, 4, 0}, {0, 4, 1}, {1, 0, 4}, {0, 1, 4}};
42 
44  {{0, 2, 1}, {0, 1, 2}, {2, 0, 1}, {1, 0, 2}, {2, 1, 0}, {1, 2, 0}};
45 
46 } // namespace wmtk::autogen::tri_mesh
const int64_t auto_2d_table_complete_vertex[3][2]
const int8_t auto_valid_switch_table[6][2]
const int64_t auto_2d_table_complete_edge[3][2]
const int8_t subdart_preserving_action_1[6][3]
const int64_t auto_2d_table_edge[9][2]
const int8_t auto_valid_tuple_indices[6]
const int64_t auto_2d_table_ccw[9]
const int8_t auto_valid_switch_inverse_table[6]
const int8_t auto_valid_tuples[6][2]
const int64_t auto_2d_edges[3][2]
const int8_t auto_valid_tuple_switch_indices[4]
const int8_t auto_all_to_valid_tuple_indices[9]
const int8_t max_subdart_preservation_dimension_1[6][3]
const int8_t auto_valid_switch_product_table[6][6]
const int64_t auto_2d_table_vertex[9][2]