annotate 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
rev   line source
rt300@34 1 /*******************************************************************************
rt300@34 2 * FILENAME
rt300@34 3 * rot_rules.h
rt300@34 4 *
rt300@34 5 * DESCRIPTION
rt300@34 6 * Header File for table of rotation rules for hilbert
rt300@34 7 *
rt300@34 8 *******************************************************************************/
rt300@34 9
rt300@34 10 #ifndef ROTRULES_TABLE_H
rt300@34 11 #define ROTRULES_TABLE_H
rt300@34 12
rt300@34 13
rt300@34 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};
rt300@34 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};
rt300@34 16
rt300@34 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};
rt300@34 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};
rt300@34 19
rt300@34 20 const int entryVertices4[] = {0,0,0,0,0,9,15,15,12,5,5,6,6,10,9,12};
rt300@34 21 const int rotations4[] = {2,1,3,0,0,2,2,0,3,3,1,1,3,1,0,2};
rt300@34 22
rt300@34 23 #endif
rt300@34 24 /*-----------------------------------------------------------------------*/
rt300@34 25 /* End of rot_rules.h */
rt300@34 26 /*-----------------------------------------------------------------------*/