aboutsummaryrefslogtreecommitdiff
path: root/src/coord.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/coord.h')
-rw-r--r--src/coord.h27
1 files changed, 26 insertions, 1 deletions
diff --git a/src/coord.h b/src/coord.h
index 47c0579..4cd7e47 100644
--- a/src/coord.h
+++ b/src/coord.h
@@ -6,9 +6,10 @@
6void gen_coord(Coordinate *coord); 6void gen_coord(Coordinate *coord);
7uint64_t index_coord(Coordinate *coord, Cube *cube, 7uint64_t index_coord(Coordinate *coord, Cube *cube,
8 Trans *offtrans); 8 Trans *offtrans);
9uint64_t indexers_getind(Indexer **is, Cube *c);
10void indexers_makecube(Indexer **is, uint64_t ind, Cube *c);
9uint64_t move_coord(Coordinate *coord, Move m, 11uint64_t move_coord(Coordinate *coord, Move m,
10 uint64_t ind, Trans *offtrans); 12 uint64_t ind, Trans *offtrans);
11bool test_coord(Coordinate *coord);
12uint64_t trans_coord(Coordinate *coord, Trans t, uint64_t ind); 13uint64_t trans_coord(Coordinate *coord, Trans t, uint64_t ind);
13 14
14/* Base coordinates and their index functions ********************************/ 15/* Base coordinates and their index functions ********************************/
@@ -32,6 +33,8 @@ extern Coordinate coord_drud_sym16;
32extern Coordinate coord_drudfin_noE_sym16; 33extern Coordinate coord_drudfin_noE_sym16;
33extern Coordinate coord_nxopt31; 34extern Coordinate coord_nxopt31;
34 35
36extern Coordinate *all_coordinates[];
37
35#else 38#else
36 39
37/* Indexers ******************************************************************/ 40/* Indexers ******************************************************************/
@@ -228,6 +231,28 @@ coord_nxopt31 = {
228 .base = {&coord_eofbepos_sym16, &coord_coud_cpudsep}, 231 .base = {&coord_eofbepos_sym16, &coord_coud_cpudsep},
229}; 232};
230 233
234/* All coordinates ***********************************************************/
235
236Coordinate *all_coordinates[] = {
237 &coord_eofb,
238 &coord_coud,
239 &coord_cp,
240 &coord_cpudsep,
241 &coord_epos,
242 &coord_epe,
243 &coord_eposepe,
244 &coord_epud,
245 &coord_eofbepos,
246 &coord_coud_cpudsep,
247 &coord_eofbepos_sym16,
248 &coord_cp_sym16,
249 &coord_corners_sym16,
250 &coord_drud_sym16,
251 &coord_drudfin_noE_sym16,
252 &coord_nxopt31,
253 NULL
254};
255
231#endif 256#endif
232 257
233#endif 258#endif

Generated with cgit - Back to sebastiano.tronto.net