diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rot_rules.h	Mon Apr 08 12:58:21 2013 +0100
@@ -0,0 +1,26 @@
+/*******************************************************************************
+ * FILENAME
+ *   rot_rules.h
+ *
+ * DESCRIPTION
+ *   Header File for table of rotation rules for hilbert
+ *
+ *******************************************************************************/
+
+#ifndef ROTRULES_TABLE_H
+#define ROTRULES_TABLE_H
+
+
+//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};
+//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};
+
+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};
+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};
+
+const int entryVertices4[] = {0,0,0,0,0,9,15,15,12,5,5,6,6,10,9,12};
+const int rotations4[] = {2,1,3,0,0,2,2,0,3,3,1,1,3,1,0,2};
+
+#endif
+/*-----------------------------------------------------------------------*/
+/* End of rot_rules.h                                                */
+/*-----------------------------------------------------------------------*/