view rot_rules.h @ 49:178642d134a7 tip

xtra files
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Wed, 01 May 2013 17:34:33 +0100
parents b91a1859829a
children
line wrap: on
line source
/*******************************************************************************
 * 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,12,6,6,0,3,3,6,6,0,9,12};
const int rotations4[] = {2,1,3,0,2,3,2,2,1,3,2,1,1,3,0,2};

const int entryVertices3[] = {0,0,0,3,3,5,5,6};
const int rotations3[] = {1,0,0,2,2,0,0,1};

const int entryVertices2[] = {0,0,0,3};
const int rotations2[] = {0,1,1,0};

const int entryVertices1[] = {0,0};
const int rotations1[] = {0,0};

#endif
/*-----------------------------------------------------------------------*/
/* End of rot_rules.h                                                */
/*-----------------------------------------------------------------------*/