comparison rot_rules.h @ 34:94df2cd72d7b

New hilbert code - does rotations!
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Mon, 08 Apr 2013 12:58:21 +0100
parents
children b91a1859829a
comparison
equal deleted inserted replaced
33:92dba082d957 34:94df2cd72d7b
1 /*******************************************************************************
2 * FILENAME
3 * rot_rules.h
4 *
5 * DESCRIPTION
6 * Header File for table of rotation rules for hilbert
7 *
8 *******************************************************************************/
9
10 #ifndef ROTRULES_TABLE_H
11 #define ROTRULES_TABLE_H
12
13
14 //const bool entryVertices[] = {0,0,0,0,0,10,10,10,30,6,15,5,9,9,17,23,18,18,6,12,15,15,15,15,10,18,18,17,5,9,17,3};
15 //const int rotations[] = {1,2,3,4,3,0,3,0,0,1,1,1,1,1,2,2,1,0,1,3,1,0,3,4,0,4,4,0,2,1,0,3};
16
17 const int entryVertices5[] = {0,0,0,0,0,5,5,5,3,3,27,10,0,5,29,29,9,9,27,10,18,20,20,5,5,3,3,18,18,20,24,17};
18 const int rotations5[] = {2,1,0,4,0,3,0,2,2,3,4,3,0,4,0,2,2,4,4,3,1,3,4,1,1,4,4,1,1,2,3,0};
19
20 const int entryVertices4[] = {0,0,0,0,0,9,15,15,12,5,5,6,6,10,9,12};
21 const int rotations4[] = {2,1,3,0,0,2,2,0,3,3,1,1,3,1,0,2};
22
23 #endif
24 /*-----------------------------------------------------------------------*/
25 /* End of rot_rules.h */
26 /*-----------------------------------------------------------------------*/