MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
geometryintersectionlookuptable.h
Go to the documentation of this file.
1// Copyright (C) 2024 The m-AIA AUTHORS
2//
3// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
4//
5// SPDX-License-Identifier: LGPL-3.0-only
6
7#ifndef _LOOKUPTABLE_H_
8#define _LOOKUPTABLE_H_
9
10//________________________________________________
11// combination of the STL/Ls-loopuptables!
12// (fv-version = based on STL, fvmb-version = based on Levelset)!
13// since fv and fvmb-lookuptables have differences in the caseStates
14// meaning that not all cases are implemented in the fv-version!
15// Hover a different corner/edge counting was necessary to resolve the missing case!
16// This leads to different tilings for fv and fvmb!
17
26//_____________________________________________________________________________
33//-----------------------------------------------------------------------------
34static const MBool caseStatesLs[15][2] = {
35 /* 0: */ {true, true},
36 /* 1: */ {true, true},
37 /* 2: */ {true, true},
38 /* 3: */ {true, false},
39 /* 4: */ {true, true},
40 /* 5: */ {true, true},
41 /* 6: */ {true, false},
42 /* 7: */ {true, false},
43 /* 8: */ {true, true},
44 /* 9: */ {true, true},
45 /* 10: */ {true, false},
46 /* 11: */ {true, true},
47 /* 12: */ {true, false},
48 /* 13: */ {true, false},
49 /* 14: */ {true, true}};
50
57//-----------------------------------------------------------------------------
58static const MBool caseStatesSTL[15][2] = {
59 /* 0: */ {true, true},
60 /* 1: */ {true, true},
61 /* 2: */ {true, true},
62 /* 3: */ {true, false},
63 /* 4: */ {true, false},
64 /* 5: */ {true, true},
65 /* 6: */ {true, false},
66 /* 7: */ {true, false},
67 /* 8: */ {true, true},
68 /* 9: */ {true, true},
69 /* 10: */ {true, false},
70 /* 11: */ {true, true},
71 /* 12: */ {true, false},
72 /* 13: */ {false, false},
73 /* 14: */ {true, true}};
76// * \brief cutPoints for each case
77// * For each of the possible cases (0-14) this table the number of cutPoints
78// * expected
79// */
81static const MInt caseCutPoints[15] = {
82 /* 0: */ 0,
83 /* 1: */ 3,
84 /* 2: */ 4,
85 /* 3: */ 6,
86 /* 4: */ 6,
87 /* 5: */ 5,
88 /* 6: */ 7,
89 /* 7: */ 9,
90 /* 8: */ 4,
91 /* 9: */ 6,
92 /* 10: */ 8,
93 /* 11: */ 6,
94 /* 12: */ 8,
95 /* 13: */ 12,
96 /* 14: */ 6};
121//-----------------------------------------------------------------------------
122static const MInt cases[256][2] = {
123 /* 0: */ {0, -1},
124 /* 1: 0, */ {1, 0},
125 /* 2: 1, */ {1, 1},
126 /* 3: 0, 1, */ {2, 0},
127 /* 4: 2, */ {1, 2},
128 /* 5: 0, 2, */ {3, 0},
129 /* 6: 1, 2, */ {2, 3},
130 /* 7: 0, 1, 2, */ {5, 0},
131 /* 8: 3, */ {1, 3},
132 /* 9: 0, 3, */ {2, 1},
133 /* 10: 1, 3, */ {3, 3},
134 /* 11: 0, 1, 3, */ {5, 1},
135 /* 12: 2, 3, */ {2, 5},
136 /* 13: 0, 2, 3, */ {5, 4},
137 /* 14: 1, 2, 3, */ {5, 9},
138 /* 15: 0, 1, 2, 3, */ {8, 0},
139 /* 16: 4, */ {1, 4},
140 /* 17: 0, 4, */ {2, 2},
141 /* 18: 1, 4, */ {3, 4},
142 /* 19: 0, 1, 4, */ {5, 2},
143 /* 20: 2, 4, */ {4, 2},
144 /* 21: 0, 2, 4, */ {6, 2},
145 /* 22: 1, 2, 4, */ {6, 9},
146 /* 23: 0, 1, 2, 4, */ {11, 0},
147 /* 24: 3, 4, */ {3, 8},
148 /* 25: 0, 3, 4, */ {5, 5},
149 /* 26: 1, 3, 4, */ {7, 3},
150 /* 27: 0, 1, 3, 4, */ {9, 1},
151 /* 28: 2, 3, 4, */ {6, 16},
152 /* 29: 0, 2, 3, 4, */ {14, 3},
153 /* 30: 1, 2, 3, 4, */ {12, 12},
154 /* 31: 0, 1, 2, 3, 4, */ {5, 24},
155 /* 32: 5, */ {1, 5},
156 /* 33: 0, 5, */ {3, 1},
157 /* 34: 1, 5, */ {2, 4},
158 /* 35: 0, 1, 5, */ {5, 3},
159 /* 36: 2, 5, */ {3, 6},
160 /* 37: 0, 2, 5, */ {7, 0},
161 /* 38: 1, 2, 5, */ {5, 10},
162 /* 39: 0, 1, 2, 5, */ {9, 0},
163 /* 40: 3, 5, */ {4, 3},
164 /* 41: 0, 3, 5, */ {6, 4},
165 /* 42: 1, 3, 5, */ {6, 11},
166 /* 43: 0, 1, 3, 5, */ {14, 1},
167 /* 44: 2, 3, 5, */ {6, 17},
168 /* 45: 0, 2, 3, 5, */ {12, 4},
169 /* 46: 1, 2, 3, 5, */ {11, 6},
170 /* 47: 0, 1, 2, 3, 5, */ {5, 25},
171 /* 48: 4, 5, */ {2, 8},
172 /* 49: 0, 4, 5, */ {5, 7},
173 /* 50: 1, 4, 5, */ {5, 12},
174 /* 51: 0, 1, 4, 5, */ {8, 1},
175 /* 52: 2, 4, 5, */ {6, 18},
176 /* 53: 0, 2, 4, 5, */ {12, 5},
177 /* 54: 1, 2, 4, 5, */ {14, 7},
178 /* 55: 0, 1, 2, 4, 5, */ {5, 28},
179 /* 56: 3, 4, 5, */ {6, 21},
180 /* 57: 0, 3, 4, 5, */ {11, 4},
181 /* 58: 1, 3, 4, 5, */ {12, 15},
182 /* 59: 0, 1, 3, 4, 5, */ {5, 30},
183 /* 60: 2, 3, 4, 5, */ {10, 5},
184 /* 61: 0, 2, 3, 4, 5, */ {6, 32},
185 /* 62: 1, 2, 3, 4, 5, */ {6, 39},
186 /* 63: 0, 1, 2, 3, 4, 5, */ {2, 12},
187 /* 64: 6, */ {1, 6},
188 /* 65: 0, 6, */ {4, 0},
189 /* 66: 1, 6, */ {3, 5},
190 /* 67: 0, 1, 6, */ {6, 0},
191 /* 68: 2, 6, */ {2, 6},
192 /* 69: 0, 2, 6, */ {6, 3},
193 /* 70: 1, 2, 6, */ {5, 11},
194 /* 71: 0, 1, 2, 6, */ {14, 0},
195 /* 72: 3, 6, */ {3, 9},
196 /* 73: 0, 3, 6, */ {6, 5},
197 /* 74: 1, 3, 6, */ {7, 4},
198 /* 75: 0, 1, 3, 6, */ {12, 1},
199 /* 76: 2, 3, 6, */ {5, 14},
200 /* 77: 0, 2, 3, 6, */ {11, 3},
201 /* 78: 1, 2, 3, 6, */ {9, 4},
202 /* 79: 0, 1, 2, 3, 6, */ {5, 26},
203 /* 80: 4, 6, */ {3, 10},
204 /* 81: 0, 4, 6, */ {6, 6},
205 /* 82: 1, 4, 6, */ {7, 5},
206 /* 83: 0, 1, 4, 6, */ {12, 2},
207 /* 84: 2, 4, 6, */ {6, 19},
208 /* 85: 0, 2, 4, 6, */ {10, 1},
209 /* 86: 1, 2, 4, 6, */ {12, 13},
210 /* 87: 0, 1, 2, 4, 6, */ {6, 24},
211 /* 88: 3, 4, 6, */ {7, 7},
212 /* 89: 0, 3, 4, 6, */ {12, 9},
213 /* 90: 1, 3, 4, 6, */ {13, 1},
214 /* 91: 0, 1, 3, 4, 6, */ {7, 9},
215 /* 92: 2, 3, 4, 6, */ {12, 20},
216 /* 93: 0, 2, 3, 4, 6, */ {6, 33},
217 /* 94: 1, 2, 3, 4, 6, */ {7, 13},
218 /* 95: 0, 1, 2, 3, 4, 6, */ {3, 12},
219 /* 96: 5, 6, */ {2, 10},
220 /* 97: 0, 5, 6, */ {6, 7},
221 /* 98: 1, 5, 6, */ {5, 13},
222 /* 99: 0, 1, 5, 6, */ {11, 2},
223 /* 100: 2, 5, 6, */ {5, 16},
224 /* 101: 0, 2, 5, 6, */ {12, 7},
225 /* 102: 1, 2, 5, 6, */ {8, 3},
226 /* 103: 0, 1, 2, 5, 6, */ {5, 29},
227 /* 104: 3, 5, 6, */ {6, 22},
228 /* 105: 0, 3, 5, 6, */ {10, 2},
229 /* 106: 1, 3, 5, 6, */ {12, 17},
230 /* 107: 0, 1, 3, 5, 6, */ {6, 27},
231 /* 108: 2, 3, 5, 6, */ {14, 9},
232 /* 109: 0, 2, 3, 5, 6, */ {6, 34},
233 /* 110: 1, 2, 3, 5, 6, */ {5, 39},
234 /* 111: 0, 1, 2, 3, 5, 6, */ {2, 14},
235 /* 112: 4, 5, 6, */ {5, 20},
236 /* 113: 0, 4, 5, 6, */ {14, 5},
237 /* 114: 1, 4, 5, 6, */ {9, 5},
238 /* 115: 0, 1, 4, 5, 6, */ {5, 32},
239 /* 116: 2, 4, 5, 6, */ {11, 10},
240 /* 117: 0, 2, 4, 5, 6, */ {6, 35},
241 /* 118: 1, 2, 4, 5, 6, */ {5, 41},
242 /* 119: 0, 1, 2, 4, 5, 6, */ {2, 16},
243 /* 120: 3, 4, 5, 6, */ {12, 23},
244 /* 121: 0, 3, 4, 5, 6, */ {6, 37},
245 /* 122: 1, 3, 4, 5, 6, */ {7, 14},
246 /* 123: 0, 1, 3, 4, 5, 6, */ {3, 16},
247 /* 124: 2, 3, 4, 5, 6, */ {6, 46},
248 /* 125: 0, 2, 3, 4, 5, 6, */ {4, 6},
249 /* 126: 1, 2, 3, 4, 5, 6, */ {3, 21},
250 /* 127: 0, 1, 2, 3, 4, 5, 6, */ {1, 8},
251 /* 128: 7, */ {1, 7},
252 /* 129: 0, 7, */ {3, 2},
253 /* 130: 1, 7, */ {4, 1},
254 /* 131: 0, 1, 7, */ {6, 1},
255 /* 132: 2, 7, */ {3, 7},
256 /* 133: 0, 2, 7, */ {7, 1},
257 /* 134: 1, 2, 7, */ {6, 10},
258 /* 135: 0, 1, 2, 7, */ {12, 0},
259 /* 136: 3, 7, */ {2, 7},
260 /* 137: 0, 3, 7, */ {5, 6},
261 /* 138: 1, 3, 7, */ {6, 12},
262 /* 139: 0, 1, 3, 7, */ {11, 1},
263 /* 140: 2, 3, 7, */ {5, 15},
264 /* 141: 0, 2, 3, 7, */ {9, 2},
265 /* 142: 1, 2, 3, 7, */ {14, 6},
266 /* 143: 0, 1, 2, 3, 7, */ {5, 27},
267 /* 144: 4, 7, */ {2, 9},
268 /* 145: 0, 4, 7, */ {5, 8},
269 /* 146: 1, 4, 7, */ {6, 13},
270 /* 147: 0, 1, 4, 7, */ {14, 2},
271 /* 148: 2, 4, 7, */ {6, 20},
272 /* 149: 0, 2, 4, 7, */ {12, 6},
273 /* 150: 1, 2, 4, 7, */ {10, 3},
274 /* 151: 0, 1, 2, 4, 7, */ {6, 25},
275 /* 152: 3, 4, 7, */ {5, 18},
276 /* 153: 0, 3, 4, 7, */ {8, 2},
277 /* 154: 1, 3, 4, 7, */ {12, 16},
278 /* 155: 0, 1, 3, 4, 7, */ {5, 31},
279 /* 156: 2, 3, 4, 7, */ {11, 9},
280 /* 157: 0, 2, 3, 4, 7, */ {5, 34},
281 /* 158: 1, 2, 3, 4, 7, */ {6, 40},
282 /* 159: 0, 1, 2, 3, 4, 7, */ {2, 13},
283 /* 160: 5, 7, */ {3, 11},
284 /* 161: 0, 5, 7, */ {7, 2},
285 /* 162: 1, 5, 7, */ {6, 14},
286 /* 163: 0, 1, 5, 7, */ {12, 3},
287 /* 164: 2, 5, 7, */ {7, 6},
288 /* 165: 0, 2, 5, 7, */ {13, 0},
289 /* 166: 1, 2, 5, 7, */ {12, 14},
290 /* 167: 0, 1, 2, 5, 7, */ {7, 8},
291 /* 168: 3, 5, 7, */ {6, 23},
292 /* 169: 0, 3, 5, 7, */ {12, 10},
293 /* 170: 1, 3, 5, 7, */ {10, 4},
294 /* 171: 0, 1, 3, 5, 7, */ {6, 28},
295 /* 172: 2, 3, 5, 7, */ {12, 21},
296 /* 173: 0, 2, 3, 5, 7, */ {7, 10},
297 /* 174: 1, 2, 3, 5, 7, */ {6, 41},
298 /* 175: 0, 1, 2, 3, 5, 7, */ {3, 13},
299 /* 176: 4, 5, 7, */ {5, 21},
300 /* 177: 0, 4, 5, 7, */ {9, 3},
301 /* 178: 1, 4, 5, 7, */ {11, 8},
302 /* 179: 0, 1, 4, 5, 7, */ {5, 33},
303 /* 180: 2, 4, 5, 7, */ {12, 22},
304 /* 181: 0, 2, 4, 5, 7, */ {7, 11},
305 /* 182: 1, 2, 4, 5, 7, */ {6, 42},
306 /* 183: 0, 1, 2, 4, 5, 7, */ {3, 14},
307 /* 184: 3, 4, 5, 7, */ {14, 11},
308 /* 185: 0, 3, 4, 5, 7, */ {5, 36},
309 /* 186: 1, 3, 4, 5, 7, */ {6, 44},
310 /* 187: 0, 1, 3, 4, 5, 7, */ {2, 17},
311 /* 188: 2, 3, 4, 5, 7, */ {6, 47},
312 /* 189: 0, 2, 3, 4, 5, 7, */ {3, 18},
313 /* 190: 1, 2, 3, 4, 5, 7, */ {4, 7},
314 /* 191: 0, 1, 2, 3, 4, 5, 7, */ {1, 9},
315 /* 192: 6, 7, */ {2, 11},
316 /* 193: 0, 6, 7, */ {6, 8},
317 /* 194: 1, 6, 7, */ {6, 15},
318 /* 195: 0, 1, 6, 7, */ {10, 0},
319 /* 196: 2, 6, 7, */ {5, 17},
320 /* 197: 0, 2, 6, 7, */ {12, 8},
321 /* 198: 1, 2, 6, 7, */ {11, 7},
322 /* 199: 0, 1, 2, 6, 7, */ {6, 26},
323 /* 200: 3, 6, 7, */ {5, 19},
324 /* 201: 0, 3, 6, 7, */ {14, 4},
325 /* 202: 1, 3, 6, 7, */ {12, 18},
326 /* 203: 0, 1, 3, 6, 7, */ {6, 29},
327 /* 204: 2, 3, 6, 7, */ {8, 4},
328 /* 205: 0, 2, 3, 6, 7, */ {5, 35},
329 /* 206: 1, 2, 3, 6, 7, */ {5, 40},
330 /* 207: 0, 1, 2, 3, 6, 7, */ {2, 15},
331 /* 208: 4, 6, 7, */ {5, 22},
332 /* 209: 0, 4, 6, 7, */ {11, 5},
333 /* 210: 1, 4, 6, 7, */ {12, 19},
334 /* 211: 0, 1, 4, 6, 7, */ {6, 30},
335 /* 212: 2, 4, 6, 7, */ {14, 10},
336 /* 213: 0, 2, 4, 6, 7, */ {6, 36},
337 /* 214: 1, 2, 4, 6, 7, */ {6, 43},
338 /* 215: 0, 1, 2, 4, 6, 7, */ {4, 4},
339 /* 216: 3, 4, 6, 7, */ {9, 7},
340 /* 217: 0, 3, 4, 6, 7, */ {5, 37},
341 /* 218: 1, 3, 4, 6, 7, */ {7, 15},
342 /* 219: 0, 1, 3, 4, 6, 7, */ {3, 17},
343 /* 220: 2, 3, 4, 6, 7, */ {5, 44},
344 /* 221: 0, 2, 3, 4, 6, 7, */ {2, 19},
345 /* 222: 1, 2, 3, 4, 6, 7, */ {3, 22},
346 /* 223: 0, 1, 2, 3, 4, 6, 7, */ {1, 10},
347 /* 224: 5, 6, 7, */ {5, 23},
348 /* 225: 0, 5, 6, 7, */ {12, 11},
349 /* 226: 1, 5, 6, 7, */ {14, 8},
350 /* 227: 0, 1, 5, 6, 7, */ {6, 31},
351 /* 228: 2, 5, 6, 7, */ {9, 6},
352 /* 229: 0, 2, 5, 6, 7, */ {7, 12},
353 /* 230: 1, 2, 5, 6, 7, */ {5, 42},
354 /* 231: 0, 1, 2, 5, 6, 7, */ {3, 15},
355 /* 232: 3, 5, 6, 7, */ {11, 11},
356 /* 233: 0, 3, 5, 6, 7, */ {6, 38},
357 /* 234: 1, 3, 5, 6, 7, */ {6, 45},
358 /* 235: 0, 1, 3, 5, 6, 7, */ {4, 5},
359 /* 236: 2, 3, 5, 6, 7, */ {5, 45},
360 /* 237: 0, 2, 3, 5, 6, 7, */ {3, 19},
361 /* 238: 1, 2, 3, 5, 6, 7, */ {2, 21},
362 /* 239: 0, 1, 2, 3, 5, 6, 7, */ {1, 11},
363 /* 240: 4, 5, 6, 7, */ {8, 5},
364 /* 241: 0, 4, 5, 6, 7, */ {5, 38},
365 /* 242: 1, 4, 5, 6, 7, */ {5, 43},
366 /* 243: 0, 1, 4, 5, 6, 7, */ {2, 18},
367 /* 244: 2, 4, 5, 6, 7, */ {5, 46},
368 /* 245: 0, 2, 4, 5, 6, 7, */ {3, 20},
369 /* 246: 1, 2, 4, 5, 6, 7, */ {2, 22},
370 /* 247: 0, 1, 2, 4, 5, 6, 7, */ {1, 12},
371 /* 248: 3, 4, 5, 6, 7, */ {5, 47},
372 /* 249: 0, 3, 4, 5, 6, 7, */ {2, 20},
373 /* 250: 1, 3, 4, 5, 6, 7, */ {3, 23},
374 /* 251: 0, 1, 3, 4, 5, 6, 7, */ {1, 13},
375 /* 252: 2, 3, 4, 5, 6, 7, */ {2, 23},
376 /* 253: 0, 2, 3, 4, 5, 6, 7, */ {1, 14},
377 /* 254: 1, 2, 3, 4, 5, 6, 7, */ {1, 15},
378 /* 255: 0, 1, 2, 3, 4, 5, 6, 7, */ {0, -1}};
379//_____________________________________________________________________________
380
381//------------------------------------------------------------------------------------------
382//-------------------------- Ls 3D SECTION -----------------------------------------------
383//------------------------------------------------------------------------------------------
390//-----------------------------------------------------------------------------
391static const MInt noAmbiguousFaces[15] = {
392 /* 0: */ 0,
393 /* 1: */ 0,
394 /* 2: */ 0,
395 /* 3: */ 1,
396 /* 4: */ 0,
397 /* 5: */ 0,
398 /* 6: */ 1,
399 /* 7: */ 3,
400 /* 8: */ 0,
401 /* 9: */ 0,
402 /* 10: */ 2,
403 /* 11: */ 0,
404 /* 12: */ 2,
405 /* 13: */ 6,
406 /* 14: */ 0};
420//-----------------------------------------------------------------------------
421static const MInt test3[24][1] = {
422 /* 5: 0, 2, */ {4},
423 /* 33: 0, 5, */ {0},
424 /* 129: 0, 7, */ {3},
425 /* 10: 1, 3, */ {4},
426 /* 18: 1, 4, */ {0},
427 /* 66: 1, 6, */ {1},
428 /* 36: 2, 5, */ {1},
429 /* 132: 2, 7, */ {2},
430 /* 24: 3, 4, */ {3},
431 /* 72: 3, 6, */ {2},
432 /* 80: 4, 6, */ {5},
433 /* 160: 5, 7, */ {5},
434 /* 95: 0, 1, 2, 3, 4, 6, */ {-5},
435 /* 175: 0, 1, 2, 3, 5, 7, */ {-5},
436 /* 183: 0, 1, 2, 4, 5, 7, */ {-2},
437 /* 231: 0, 1, 2, 5, 6, 7, */ {-3},
438 /* 123: 0, 1, 3, 4, 5, 6, */ {-2},
439 /* 219: 0, 1, 3, 4, 6, 7, */ {-1},
440 /* 189: 0, 2, 3, 4, 5, 7, */ {-1},
441 /* 237: 0, 2, 3, 5, 6, 7, */ {-6},
442 /* 245: 0, 2, 4, 5, 6, 7, */ {-4},
443 /* 126: 1, 2, 3, 4, 5, 6, */ {-3},
444 /* 222: 1, 2, 3, 4, 6, 7, */ {-6},
445 /* 250: 1, 3, 4, 5, 6, 7, */ {-4}};
446//_____________________________________________________________________________
463//-----------------------------------------------------------------------------
464static const MInt test6[48][1] = {
465 /* 67: 0, 1, 6, */ {1},
466 /* 131: 0, 1, 7, */ {3},
467 /* 21: 0, 2, 4, */ {4},
468 /* 69: 0, 2, 6, */ {4},
469 /* 41: 0, 3, 5, */ {0},
470 /* 73: 0, 3, 6, */ {2},
471 /* 81: 0, 4, 6, */ {5},
472 /* 97: 0, 5, 6, */ {0},
473 /* 193: 0, 6, 7, */ {3},
474 /* 22: 1, 2, 4, */ {0},
475 /* 134: 1, 2, 7, */ {2},
476 /* 42: 1, 3, 5, */ {4},
477 /* 138: 1, 3, 7, */ {4},
478 /* 146: 1, 4, 7, */ {0},
479 /* 162: 1, 5, 7, */ {5},
480 /* 194: 1, 6, 7, */ {1},
481 /* 28: 2, 3, 4, */ {3},
482 /* 44: 2, 3, 5, */ {1},
483 /* 52: 2, 4, 5, */ {1},
484 /* 84: 2, 4, 6, */ {5},
485 /* 148: 2, 4, 7, */ {2},
486 /* 56: 3, 4, 5, */ {3},
487 /* 104: 3, 5, 6, */ {2},
488 /* 168: 3, 5, 7, */ {5},
489 /* 87: 0, 1, 2, 4, 6, */ {-5},
490 /* 151: 0, 1, 2, 4, 7, */ {-2},
491 /* 199: 0, 1, 2, 6, 7, */ {-3},
492 /* 107: 0, 1, 3, 5, 6, */ {-2},
493 /* 171: 0, 1, 3, 5, 7, */ {-5},
494 /* 203: 0, 1, 3, 6, 7, */ {-1},
495 /* 211: 0, 1, 4, 6, 7, */ {-1},
496 /* 227: 0, 1, 5, 6, 7, */ {-3},
497 /* 61: 0, 2, 3, 4, 5, */ {-1},
498 /* 93: 0, 2, 3, 4, 6, */ {-5},
499 /* 109: 0, 2, 3, 5, 6, */ {-6},
500 /* 117: 0, 2, 4, 5, 6, */ {-4},
501 /* 213: 0, 2, 4, 6, 7, */ {-4},
502 /* 121: 0, 3, 4, 5, 6, */ {-2},
503 /* 233: 0, 3, 5, 6, 7, */ {-6},
504 /* 62: 1, 2, 3, 4, 5, */ {-3},
505 /* 158: 1, 2, 3, 4, 7, */ {-6},
506 /* 174: 1, 2, 3, 5, 7, */ {-5},
507 /* 182: 1, 2, 4, 5, 7, */ {-2},
508 /* 214: 1, 2, 4, 6, 7, */ {-6},
509 /* 186: 1, 3, 4, 5, 7, */ {-4},
510 /* 234: 1, 3, 5, 6, 7, */ {-4},
511 /* 124: 2, 3, 4, 5, 6, */ {-3},
512 /* 188: 2, 3, 4, 5, 7, */ {-1}};
513//_____________________________________________________________________________
536//-----------------------------------------------------------------------------
537static const MInt test7[16][3] = {
538 /* 37: 0, 2, 5, */ {0, 1, 4},
539 /* 133: 0, 2, 7, */ {2, 3, 4},
540 /* 161: 0, 5, 7, */ {3, 0, 5},
541 /* 26: 1, 3, 4, */ {3, 0, 4},
542 /* 74: 1, 3, 6, */ {1, 2, 4},
543 /* 82: 1, 4, 6, */ {0, 1, 5},
544 /* 164: 2, 5, 7, */ {1, 2, 5},
545 /* 88: 3, 4, 6, */ {2, 3, 5},
546 /* 167: 0, 1, 2, 5, 7, */ {-2, -3, -5},
547 /* 91: 0, 1, 3, 4, 6, */ {-1, -2, -5},
548 /* 173: 0, 2, 3, 5, 7, */ {-6, -1, -5},
549 /* 181: 0, 2, 4, 5, 7, */ {-1, -2, -4},
550 /* 229: 0, 2, 5, 6, 7, */ {-3, -6, -4},
551 /* 94: 1, 2, 3, 4, 6, */ {-3, -6, -5},
552 /* 122: 1, 3, 4, 5, 6, */ {-2, -3, -4},
553 /* 218: 1, 3, 4, 6, 7, */ {-6, -1, -4}};
554//_____________________________________________________________________________
572//-----------------------------------------------------------------------------
573static const MInt test10[6][2] = {
574 /* 195: 0, 1, 6, 7, */ {1, 3},
575 /* 85: 0, 2, 4, 6, */ {5, 5},
576 /* 105: 0, 3, 5, 6, */ {0, 2},
577 /* 150: 1, 2, 4, 7, */ {0, 2},
578 /* 170: 1, 3, 5, 7, */ {5, 5},
579 /* 60: 2, 3, 4, 5, */ {1, 3}};
580//_____________________________________________________________________________
599//-----------------------------------------------------------------------------
600static const MInt test12[24][2] = {
601 /* 135: 0, 1, 2, 7, */ {3, 2},
602 /* 75: 0, 1, 3, 6, */ {2, 1},
603 /* 83: 0, 1, 4, 6, */ {1, 5},
604 /* 163: 0, 1, 5, 7, */ {5, 3},
605 /* 45: 0, 2, 3, 5, */ {1, 0},
606 /* 53: 0, 2, 4, 5, */ {4, 1},
607 /* 149: 0, 2, 4, 7, */ {4, 2},
608 /* 101: 0, 2, 5, 6, */ {4, 0},
609 /* 197: 0, 2, 6, 7, */ {4, 3},
610 /* 89: 0, 3, 4, 6, */ {5, 2},
611 /* 169: 0, 3, 5, 7, */ {0, 5},
612 /* 225: 0, 5, 6, 7, */ {0, 3},
613 /* 30: 1, 2, 3, 4, */ {3, 0},
614 /* 86: 1, 2, 4, 6, */ {5, 0},
615 /* 166: 1, 2, 5, 7, */ {2, 5},
616 /* 58: 1, 3, 4, 5, */ {3, 4},
617 /* 154: 1, 3, 4, 7, */ {0, 4},
618 /* 106: 1, 3, 5, 6, */ {2, 4},
619 /* 202: 1, 3, 6, 7, */ {1, 4},
620 /* 210: 1, 4, 6, 7, */ {0, 1},
621 /* 92: 2, 3, 4, 6, */ {3, 5},
622 /* 172: 2, 3, 5, 7, */ {5, 1},
623 /* 180: 2, 4, 5, 7, */ {1, 2},
624 /* 120: 3, 4, 5, 6, */ {2, 3}};
625//_____________________________________________________________________________
637//-----------------------------------------------------------------------------
638/* 13: face test */
639static const MInt test13[2][6] = {
640 /* 165: 0, 2, 5, 7, */ {0, 1, 2, 3, 4, 5},
641 /* 90: 1, 3, 4, 6, */ {1, 2, 3, 0, 4, 5}};
642//_____________________________________________________________________________
643//_____________________________________________________________________________
649//-----------------------------------------------------------------------------
650static const MInt tiling1Ls[16][3] = {
651 /* 1: 0, */ {0, 8, 3},
652 /* 2: 1, */ {0, 1, 9},
653 /* 4: 2, */ {1, 2, 10},
654 /* 8: 3, */ {3, 11, 2},
655 /* 16: 4, */ {4, 7, 8},
656 /* 32: 5, */ {9, 5, 4},
657 /* 64: 6, */ {10, 6, 5},
658 /* 128: 7, */ {7, 6, 11},
659 /* 127: 0, 1, 2, 3, 4, 5, 6, */ {7, 11, 6},
660 /* 191: 0, 1, 2, 3, 4, 5, 7, */ {10, 5, 6},
661 /* 223: 0, 1, 2, 3, 4, 6, 7, */ {9, 4, 5},
662 /* 239: 0, 1, 2, 3, 5, 6, 7, */ {4, 8, 7},
663 /* 247: 0, 1, 2, 4, 5, 6, 7, */ {3, 2, 11},
664 /* 251: 0, 1, 3, 4, 5, 6, 7, */ {1, 10, 2},
665 /* 253: 0, 2, 3, 4, 5, 6, 7, */ {0, 9, 1},
666 /* 254: 1, 2, 3, 4, 5, 6, 7, */ {0, 3, 8}};
672//-----------------------------------------------------------------------------
673static const MInt tiling2Ls[24][6] = {
674 /* 3: 0, 1, */ {1, 8, 3, 9, 8, 1},
675 /* 9: 0, 3, */ {0, 11, 2, 8, 11, 0},
676 /* 17: 0, 4, */ {4, 3, 0, 7, 3, 4},
677 /* 6: 1, 2, */ {9, 2, 10, 0, 2, 9},
678 /* 34: 1, 5, */ {0, 5, 4, 1, 5, 0},
679 /* 12: 2, 3, */ {3, 10, 1, 11, 10, 3},
680 /* 68: 2, 6, */ {1, 6, 5, 2, 6, 1},
681 /* 136: 3, 7, */ {7, 2, 3, 6, 2, 7},
682 /* 48: 4, 5, */ {9, 7, 8, 5, 7, 9},
683 /* 144: 4, 7, */ {6, 8, 4, 11, 8, 6},
684 /* 96: 5, 6, */ {10, 4, 9, 6, 4, 10},
685 /* 192: 6, 7, */ {11, 5, 10, 7, 5, 11},
686 /* 63: 0, 1, 2, 3, 4, 5, */ {11, 10, 5, 7, 11, 5},
687 /* 159: 0, 1, 2, 3, 4, 7, */ {10, 9, 4, 6, 10, 4},
688 /* 111: 0, 1, 2, 3, 5, 6, */ {6, 4, 8, 11, 6, 8},
689 /* 207: 0, 1, 2, 3, 6, 7, */ {9, 8, 7, 5, 9, 7},
690 /* 119: 0, 1, 2, 4, 5, 6, */ {7, 3, 2, 6, 7, 2},
691 /* 187: 0, 1, 3, 4, 5, 7, */ {1, 5, 6, 2, 1, 6},
692 /* 243: 0, 1, 4, 5, 6, 7, */ {3, 1, 10, 11, 3, 10},
693 /* 221: 0, 2, 3, 4, 6, 7, */ {0, 4, 5, 1, 0, 5},
694 /* 249: 0, 3, 4, 5, 6, 7, */ {9, 10, 2, 0, 9, 2},
695 /* 238: 1, 2, 3, 5, 6, 7, */ {4, 0, 3, 7, 4, 3},
696 /* 246: 1, 2, 4, 5, 6, 7, */ {0, 2, 11, 8, 0, 11},
697 /* 252: 2, 3, 4, 5, 6, 7, */ {1, 3, 8, 9, 1, 8}};
698//_____________________________________________________________________________
704//-----------------------------------------------------------------------------
705static const MInt tiling3_1Ls[24][6] = {
706 /* 5: 0, 2, */ {0, 8, 3, 1, 2, 10},
707 /* 33: 0, 5, */ {9, 5, 4, 0, 8, 3},
708 /* 129: 0, 7, */ {3, 0, 8, 11, 7, 6},
709 /* 10: 1, 3, */ {1, 9, 0, 2, 3, 11},
710 /* 18: 1, 4, */ {0, 1, 9, 8, 4, 7},
711 /* 66: 1, 6, */ {9, 0, 1, 5, 10, 6},
712 /* 36: 2, 5, */ {1, 2, 10, 9, 5, 4},
713 /* 132: 2, 7, */ {10, 1, 2, 6, 11, 7},
714 /* 24: 3, 4, */ {8, 4, 7, 3, 11, 2},
715 /* 72: 3, 6, */ {2, 3, 11, 10, 6, 5},
716 /* 80: 4, 6, */ {5, 10, 6, 4, 7, 8},
717 /* 160: 5, 7, */ {4, 9, 5, 7, 6, 11},
718 /* 95: 0, 1, 2, 3, 4, 6, */ {5, 9, 4, 11, 6, 7},
719 /* 175: 0, 1, 2, 3, 5, 7, */ {6, 10, 5, 8, 7, 4},
720 /* 183: 0, 1, 2, 4, 5, 7, */ {11, 3, 2, 5, 6, 10},
721 /* 231: 0, 1, 2, 5, 6, 7, */ {7, 4, 8, 2, 11, 3},
722 /* 123: 0, 1, 3, 4, 5, 6, */ {2, 1, 10, 7, 11, 6},
723 /* 219: 0, 1, 3, 4, 6, 7, */ {10, 2, 1, 4, 5, 9},
724 /* 189: 0, 2, 3, 4, 5, 7, */ {1, 0, 9, 6, 10, 5},
725 /* 237: 0, 2, 3, 5, 6, 7, */ {9, 1, 0, 7, 4, 8},
726 /* 245: 0, 2, 4, 5, 6, 7, */ {0, 9, 1, 11, 3, 2},
727 /* 126: 1, 2, 3, 4, 5, 6, */ {8, 0, 3, 6, 7, 11},
728 /* 222: 1, 2, 3, 4, 6, 7, */ {4, 5, 9, 3, 8, 0},
729 /* 250: 1, 3, 4, 5, 6, 7, */ {3, 8, 0, 10, 2, 1}};
730//_____________________________________________________________________________
736//-----------------------------------------------------------------------------
737static const MInt tiling3_2Ls[24][12] = {
738 /* 5: 0, 2, */ {10, 3, 2, 10, 8, 3, 10, 1, 0, 8, 10, 0},
739 /* 33: 0, 5, */ {3, 4, 8, 3, 5, 4, 3, 0, 9, 5, 3, 9},
740 /* 129: 0, 7, */ {6, 8, 7, 6, 0, 8, 6, 11, 3, 0, 6, 3},
741 /* 10: 1, 3, */ {11, 0, 3, 11, 9, 0, 11, 2, 1, 9, 11, 1},
742 /* 18: 1, 4, */ {7, 9, 4, 7, 1, 9, 7, 8, 0, 1, 7, 0},
743 /* 66: 1, 6, */ {6, 1, 10, 6, 0, 1, 9, 0, 6, 9, 6, 5},
744 /* 36: 2, 5, */ {4, 10, 5, 4, 2, 10, 4, 9, 1, 2, 4, 1},
745 /* 132: 2, 7, */ {7, 2, 11, 7, 1, 2, 7, 6, 10, 1, 7, 10},
746 /* 24: 3, 4, */ {2, 7, 11, 2, 4, 7, 2, 3, 8, 4, 2, 8},
747 /* 72: 3, 6, */ {5, 11, 6, 5, 3, 11, 5, 10, 2, 3, 5, 2},
748 /* 80: 4, 6, */ {8, 6, 7, 8, 10, 6, 8, 4, 5, 10, 8, 5},
749 /* 160: 5, 7, */ {11, 5, 6, 11, 9, 5, 11, 7, 4, 9, 11, 4},
750 /* 95: 0, 1, 2, 3, 4, 6, */ {6, 5, 11, 5, 9, 11, 4, 7, 11, 4, 11, 9},
751 /* 175: 0, 1, 2, 3, 5, 7, */ {7, 6, 8, 6, 10, 8, 5, 4, 8, 5, 8, 10},
752 /* 183: 0, 1, 2, 4, 5, 7, */ {6, 11, 5, 11, 3, 5, 2, 10, 5, 2, 5, 3},
753 /* 231: 0, 1, 2, 5, 6, 7, */ {11, 7, 2, 7, 4, 2, 8, 3, 2, 8, 2, 4},
754 /* 123: 0, 1, 3, 4, 5, 6, */ {11, 2, 7, 2, 1, 7, 10, 6, 7, 10, 7, 1},
755 /* 219: 0, 1, 3, 4, 6, 7, */ {5, 10, 4, 10, 2, 4, 1, 9, 4, 1, 4, 2},
756 /* 189: 0, 2, 3, 4, 5, 7, */ {10, 1, 6, 1, 0, 6, 6, 0, 9, 5, 6, 9},
757 /* 237: 0, 2, 3, 5, 6, 7, */ {4, 9, 7, 9, 1, 7, 0, 8, 7, 0, 7, 1},
758 /* 245: 0, 2, 4, 5, 6, 7, */ {3, 0, 11, 0, 9, 11, 1, 2, 11, 1, 11, 9},
759 /* 126: 1, 2, 3, 4, 5, 6, */ {7, 8, 6, 8, 0, 6, 3, 11, 6, 3, 6, 0},
760 /* 222: 1, 2, 3, 4, 6, 7, */ {8, 4, 3, 4, 5, 3, 9, 0, 3, 9, 3, 5},
761 /* 250: 1, 3, 4, 5, 6, 7, */ {2, 3, 10, 3, 8, 10, 0, 1, 10, 0, 10, 8}};
762//_____________________________________________________________________________
768//-----------------------------------------------------------------------------
769static const MInt tiling4Ls[8][6] = {
770 /* 65: 0, 6, */ {0, 8, 3, 5, 10, 6},
771 /* 130: 1, 7, */ {0, 1, 9, 11, 7, 6},
772 /* 20: 2, 4, */ {1, 2, 10, 8, 4, 7},
773 /* 40: 3, 5, */ {9, 5, 4, 2, 3, 11},
774 /* 215: 0, 1, 2, 4, 6, 7, */ {4, 5, 9, 11, 3, 2},
775 /* 235: 0, 1, 3, 5, 6, 7, */ {10, 2, 1, 7, 4, 8},
776 /* 125: 0, 2, 3, 4, 5, 6, */ {9, 1, 0, 6, 7, 11},
777 /* 190: 1, 2, 3, 4, 5, 7, */ {3, 8, 0, 6, 10, 5}};
778//_____________________________________________________________________________
784//-----------------------------------------------------------------------------
785static const MInt tiling5Ls[48][9] = {
786 /* 7: 0, 1, 2, */ {2, 8, 3, 2, 10, 8, 10, 9, 8},
787 /* 11: 0, 1, 3, */ {1, 11, 2, 1, 9, 11, 9, 8, 11},
788 /* 19: 0, 1, 4, */ {4, 1, 9, 4, 7, 1, 7, 3, 1},
789 /* 35: 0, 1, 5, */ {8, 5, 4, 8, 3, 5, 3, 1, 5},
790 /* 13: 0, 2, 3, */ {0, 10, 1, 0, 8, 10, 8, 11, 10},
791 /* 25: 0, 3, 4, */ {11, 4, 7, 11, 2, 4, 2, 0, 4},
792 /* 137: 0, 3, 7, */ {7, 0, 8, 7, 6, 0, 6, 2, 0},
793 /* 49: 0, 4, 5, */ {9, 3, 0, 9, 5, 3, 5, 7, 3},
794 /* 145: 0, 4, 7, */ {3, 6, 11, 3, 0, 6, 0, 4, 6},
795 /* 14: 1, 2, 3, */ {3, 9, 0, 3, 11, 9, 11, 10, 9},
796 /* 38: 1, 2, 5, */ {5, 2, 10, 5, 4, 2, 4, 0, 2},
797 /* 70: 1, 2, 6, */ {9, 6, 5, 9, 0, 6, 0, 2, 6},
798 /* 50: 1, 4, 5, */ {0, 7, 8, 0, 1, 7, 1, 5, 7},
799 /* 98: 1, 5, 6, */ {10, 0, 1, 10, 6, 0, 6, 4, 0},
800 /* 76: 2, 3, 6, */ {6, 3, 11, 6, 5, 3, 5, 1, 3},
801 /* 140: 2, 3, 7, */ {10, 7, 6, 10, 1, 7, 1, 3, 7},
802 /* 100: 2, 5, 6, */ {1, 4, 9, 1, 2, 4, 2, 6, 4},
803 /* 196: 2, 6, 7, */ {11, 1, 2, 11, 7, 1, 7, 5, 1},
804 /* 152: 3, 4, 7, */ {8, 2, 3, 8, 4, 2, 4, 6, 2},
805 /* 200: 3, 6, 7, */ {2, 5, 10, 2, 3, 5, 3, 7, 5},
806 /* 112: 4, 5, 6, */ {7, 10, 6, 7, 8, 10, 8, 9, 10},
807 /* 176: 4, 5, 7, */ {6, 9, 5, 6, 11, 9, 11, 8, 9},
808 /* 208: 4, 6, 7, */ {5, 8, 4, 5, 10, 8, 10, 11, 8},
809 /* 224: 5, 6, 7, */ {4, 11, 7, 4, 9, 11, 9, 10, 11},
810 /* 31: 0, 1, 2, 3, 4, */ {4, 7, 11, 4, 11, 9, 9, 11, 10},
811 /* 47: 0, 1, 2, 3, 5, */ {5, 4, 8, 5, 8, 10, 10, 8, 11},
812 /* 79: 0, 1, 2, 3, 6, */ {6, 5, 9, 6, 9, 11, 11, 9, 8},
813 /* 143: 0, 1, 2, 3, 7, */ {7, 6, 10, 7, 10, 8, 8, 10, 9},
814 /* 55: 0, 1, 2, 4, 5, */ {2, 10, 5, 2, 5, 3, 3, 5, 7},
815 /* 103: 0, 1, 2, 5, 6, */ {8, 3, 2, 8, 2, 4, 4, 2, 6},
816 /* 59: 0, 1, 3, 4, 5, */ {11, 2, 1, 11, 1, 7, 7, 1, 5},
817 /* 155: 0, 1, 3, 4, 7, */ {1, 9, 4, 1, 4, 2, 2, 4, 6},
818 /* 115: 0, 1, 4, 5, 6, */ {10, 6, 7, 10, 7, 1, 1, 7, 3},
819 /* 179: 0, 1, 4, 5, 7, */ {6, 11, 3, 6, 3, 5, 5, 3, 1},
820 /* 157: 0, 2, 3, 4, 7, */ {10, 1, 0, 10, 0, 6, 6, 0, 4},
821 /* 205: 0, 2, 3, 6, 7, */ {0, 8, 7, 0, 7, 1, 1, 7, 5},
822 /* 185: 0, 3, 4, 5, 7, */ {9, 5, 6, 9, 6, 0, 0, 6, 2},
823 /* 217: 0, 3, 4, 6, 7, */ {5, 10, 2, 5, 2, 4, 4, 2, 0},
824 /* 241: 0, 4, 5, 6, 7, */ {3, 0, 9, 3, 9, 11, 11, 9, 10},
825 /* 110: 1, 2, 3, 5, 6, */ {3, 11, 6, 3, 6, 0, 0, 6, 4},
826 /* 206: 1, 2, 3, 6, 7, */ {9, 0, 3, 9, 3, 5, 5, 3, 7},
827 /* 118: 1, 2, 4, 5, 6, */ {7, 8, 0, 7, 0, 6, 6, 0, 2},
828 /* 230: 1, 2, 5, 6, 7, */ {11, 7, 4, 11, 4, 2, 2, 4, 0},
829 /* 242: 1, 4, 5, 6, 7, */ {0, 1, 10, 0, 10, 8, 8, 10, 11},
830 /* 220: 2, 3, 4, 6, 7, */ {8, 4, 5, 8, 5, 3, 3, 5, 1},
831 /* 236: 2, 3, 5, 6, 7, */ {4, 9, 1, 4, 1, 7, 7, 1, 3},
832 /* 244: 2, 4, 5, 6, 7, */ {1, 2, 11, 1, 11, 9, 9, 11, 8},
833 /* 248: 3, 4, 5, 6, 7, */ {2, 3, 8, 2, 8, 10, 10, 8, 9}};
834//_____________________________________________________________________________
840//-----------------------------------------------------------------------------
841static const MInt tiling6_1_1Ls[48][9] = {
842 /* 67: 0, 1, 6, */ {6, 5, 10, 3, 1, 8, 9, 8, 1},
843 /* 131: 0, 1, 7, */ {11, 7, 6, 9, 3, 1, 3, 9, 8},
844 /* 21: 0, 2, 4, */ {1, 2, 10, 7, 0, 4, 0, 7, 3},
845 /* 69: 0, 2, 6, */ {3, 0, 8, 5, 2, 6, 2, 5, 1},
846 /* 41: 0, 3, 5, */ {5, 4, 9, 2, 0, 11, 8, 11, 0},
847 /* 73: 0, 3, 6, */ {10, 6, 5, 8, 2, 0, 2, 8, 11},
848 /* 81: 0, 4, 6, */ {10, 6, 5, 0, 4, 3, 7, 3, 4},
849 /* 97: 0, 5, 6, */ {3, 0, 8, 6, 4, 10, 9, 10, 4},
850 /* 193: 0, 6, 7, */ {8, 3, 0, 10, 7, 5, 7, 10, 11},
851 /* 22: 1, 2, 4, */ {8, 4, 7, 10, 0, 2, 0, 10, 9},
852 /* 134: 1, 2, 7, */ {7, 6, 11, 0, 2, 9, 10, 9, 2},
853 /* 42: 1, 3, 5, */ {2, 3, 11, 4, 1, 5, 1, 4, 0},
854 /* 138: 1, 3, 7, */ {0, 1, 9, 6, 3, 7, 3, 6, 2},
855 /* 146: 1, 4, 7, */ {9, 0, 1, 11, 4, 6, 4, 11, 8},
856 /* 162: 1, 5, 7, */ {11, 7, 6, 1, 5, 0, 4, 0, 5},
857 /* 194: 1, 6, 7, */ {0, 1, 9, 7, 5, 11, 10, 11, 5},
858 /* 28: 2, 3, 4, */ {4, 7, 8, 1, 3, 10, 11, 10, 3},
859 /* 44: 2, 3, 5, */ {9, 5, 4, 11, 1, 3, 1, 11, 10},
860 /* 52: 2, 4, 5, */ {10, 1, 2, 8, 5, 7, 5, 8, 9},
861 /* 84: 2, 4, 6, */ {8, 4, 7, 2, 6, 1, 5, 1, 6},
862 /* 148: 2, 4, 7, */ {1, 2, 10, 4, 6, 8, 11, 8, 6},
863 /* 56: 3, 4, 5, */ {2, 3, 11, 5, 7, 9, 8, 9, 7},
864 /* 104: 3, 5, 6, */ {11, 2, 3, 9, 6, 4, 6, 9, 10},
865 /* 168: 3, 5, 7, */ {9, 5, 4, 3, 7, 2, 6, 2, 7},
866 /* 87: 0, 1, 2, 4, 6, */ {4, 5, 9, 2, 7, 3, 7, 2, 6},
867 /* 151: 0, 1, 2, 4, 7, */ {3, 2, 11, 4, 6, 9, 10, 9, 6},
868 /* 199: 0, 1, 2, 6, 7, */ {11, 3, 2, 9, 7, 5, 7, 9, 8},
869 /* 107: 0, 1, 3, 5, 6, */ {10, 2, 1, 8, 6, 4, 6, 8, 11},
870 /* 171: 0, 1, 3, 5, 7, */ {7, 4, 8, 1, 6, 2, 6, 1, 5},
871 /* 203: 0, 1, 3, 6, 7, */ {2, 1, 10, 7, 5, 8, 9, 8, 5},
872 /* 211: 0, 1, 4, 6, 7, */ {4, 5, 9, 3, 1, 11, 10, 11, 1},
873 /* 227: 0, 1, 5, 6, 7, */ {8, 7, 4, 10, 3, 1, 3, 10, 11},
874 /* 61: 0, 2, 3, 4, 5, */ {9, 1, 0, 11, 5, 7, 5, 11, 10},
875 /* 93: 0, 2, 3, 4, 6, */ {6, 7, 11, 0, 5, 1, 5, 0, 4},
876 /* 109: 0, 2, 3, 5, 6, */ {1, 0, 9, 6, 4, 11, 8, 11, 4},
877 /* 117: 0, 2, 4, 5, 6, */ {9, 1, 0, 7, 3, 6, 2, 6, 3},
878 /* 213: 0, 2, 4, 6, 7, */ {11, 3, 2, 5, 1, 4, 0, 4, 1},
879 /* 121: 0, 3, 4, 5, 6, */ {11, 6, 7, 9, 2, 0, 2, 9, 10},
880 /* 233: 0, 3, 5, 6, 7, */ {7, 4, 8, 2, 0, 10, 9, 10, 0},
881 /* 62: 1, 2, 3, 4, 5, */ {0, 3, 8, 5, 7, 10, 11, 10, 7},
882 /* 158: 1, 2, 3, 4, 7, */ {8, 0, 3, 10, 4, 6, 4, 10, 9},
883 /* 174: 1, 2, 3, 5, 7, */ {5, 6, 10, 3, 4, 0, 4, 3, 7},
884 /* 182: 1, 2, 4, 5, 7, */ {5, 6, 10, 0, 2, 8, 11, 8, 2},
885 /* 214: 1, 2, 4, 6, 7, */ {9, 4, 5, 11, 0, 2, 0, 11, 8},
886 /* 186: 1, 3, 4, 5, 7, */ {8, 0, 3, 6, 2, 5, 1, 5, 2},
887 /* 234: 1, 3, 5, 6, 7, */ {10, 2, 1, 4, 0, 7, 3, 7, 0},
888 /* 124: 2, 3, 4, 5, 6, */ {6, 7, 11, 1, 3, 9, 8, 9, 3},
889 /* 188: 2, 3, 4, 5, 7, */ {10, 5, 6, 8, 1, 3, 1, 8, 9}};
890//_____________________________________________________________________________
896//-----------------------------------------------------------------------------
897static const MInt tiling6_2Ls[48][15] = {
898 /* 67: 0, 1, 6, */ {1, 10, 3, 6, 3, 10, 3, 6, 8, 5, 8, 6, 8, 5, 9},
899 /* 131: 0, 1, 7, */ {1, 11, 3, 11, 1, 6, 9, 6, 1, 6, 9, 7, 8, 7, 9},
900 /* 21: 0, 2, 4, */ {4, 1, 0, 1, 4, 10, 7, 10, 4, 10, 7, 2, 3, 2, 7},
901 /* 69: 0, 2, 6, */ {6, 3, 2, 3, 6, 8, 5, 8, 6, 8, 5, 0, 1, 0, 5},
902 /* 41: 0, 3, 5, */ {0, 9, 2, 5, 2, 9, 2, 5, 11, 4, 11, 5, 11, 4, 8},
903 /* 73: 0, 3, 6, */ {0, 10, 2, 10, 0, 5, 8, 5, 0, 5, 8, 6, 11, 6, 8},
904 /* 81: 0, 4, 6, */ {4, 5, 0, 10, 0, 5, 0, 10, 3, 6, 3, 10, 3, 6, 7},
905 /* 97: 0, 5, 6, */ {4, 8, 6, 3, 6, 8, 6, 3, 10, 0, 10, 3, 10, 0, 9},
906 /* 193: 0, 6, 7, */ {5, 8, 7, 8, 5, 0, 10, 0, 5, 0, 10, 3, 11, 3, 10},
907 /* 22: 1, 2, 4, */ {2, 8, 0, 8, 2, 7, 10, 7, 2, 7, 10, 4, 9, 4, 10},
908 /* 134: 1, 2, 7, */ {2, 11, 0, 7, 0, 11, 0, 7, 9, 6, 9, 7, 9, 6, 10},
909 /* 42: 1, 3, 5, */ {5, 2, 1, 2, 5, 11, 4, 11, 5, 11, 4, 3, 0, 3, 4},
910 /* 138: 1, 3, 7, */ {7, 0, 3, 0, 7, 9, 6, 9, 7, 9, 6, 1, 2, 1, 6},
911 /* 146: 1, 4, 7, */ {6, 9, 4, 9, 6, 1, 11, 1, 6, 1, 11, 0, 8, 0, 11},
912 /* 162: 1, 5, 7, */ {5, 6, 1, 11, 1, 6, 1, 11, 0, 7, 0, 11, 0, 7, 4},
913 /* 194: 1, 6, 7, */ {5, 9, 7, 0, 7, 9, 7, 0, 11, 1, 11, 0, 11, 1, 10},
914 /* 28: 2, 3, 4, */ {3, 8, 1, 4, 1, 8, 1, 4, 10, 7, 10, 4, 10, 7, 11},
915 /* 44: 2, 3, 5, */ {3, 9, 1, 9, 3, 4, 11, 4, 3, 4, 11, 5, 10, 5, 11},
916 /* 52: 2, 4, 5, */ {7, 10, 5, 10, 7, 2, 8, 2, 7, 2, 8, 1, 9, 1, 8},
917 /* 84: 2, 4, 6, */ {6, 7, 2, 8, 2, 7, 2, 8, 1, 4, 1, 8, 1, 4, 5},
918 /* 148: 2, 4, 7, */ {6, 10, 4, 1, 4, 10, 4, 1, 8, 2, 8, 1, 8, 2, 11},
919 /* 56: 3, 4, 5, */ {7, 11, 5, 2, 5, 11, 5, 2, 9, 3, 9, 2, 9, 3, 8},
920 /* 104: 3, 5, 6, */ {4, 11, 6, 11, 4, 3, 9, 3, 4, 3, 9, 2, 10, 2, 9},
921 /* 168: 3, 5, 7, */ {7, 4, 3, 9, 3, 4, 3, 9, 2, 5, 2, 9, 2, 5, 6},
922 /* 87: 0, 1, 2, 4, 6, */ {3, 4, 7, 4, 3, 9, 2, 9, 3, 9, 2, 5, 6, 5, 2},
923 /* 151: 0, 1, 2, 4, 7, */ {6, 11, 4, 3, 4, 11, 4, 3, 9, 2, 9, 3, 9, 2, 10},
924 /* 199: 0, 1, 2, 6, 7, */ {5, 11, 7, 11, 5, 2, 9, 2, 5, 2, 9, 3, 8, 3, 9},
925 /* 107: 0, 1, 3, 5, 6, */ {4, 10, 6, 10, 4, 1, 8, 1, 4, 1, 8, 2, 11, 2, 8},
926 /* 171: 0, 1, 3, 5, 7, */ {2, 7, 6, 7, 2, 8, 1, 8, 2, 8, 1, 4, 5, 4, 1},
927 /* 203: 0, 1, 3, 6, 7, */ {5, 10, 7, 2, 7, 10, 7, 2, 8, 1, 8, 2, 8, 1, 9},
928 /* 211: 0, 1, 4, 6, 7, */ {1, 9, 3, 4, 3, 9, 3, 4, 11, 5, 11, 4, 11, 5, 10},
929 /* 227: 0, 1, 5, 6, 7, */ {1, 8, 3, 8, 1, 4, 10, 4, 1, 4, 10, 7, 11, 7, 10},
930 /* 61: 0, 2, 3, 4, 5, */ {7, 9, 5, 9, 7, 0, 11, 0, 7, 0, 11, 1, 10, 1, 11},
931 /* 93: 0, 2, 3, 4, 6, */ {1, 6, 5, 6, 1, 11, 0, 11, 1, 11, 0, 7, 4, 7, 0},
932 /* 109: 0, 2, 3, 5, 6, */ {4, 9, 6, 1, 6, 9, 6, 1, 11, 0, 11, 1, 11, 0, 8},
933 /* 117: 0, 2, 4, 5, 6, */ {3, 0, 7, 9, 7, 0, 7, 9, 6, 1, 6, 9, 6, 1, 2},
934 /* 213: 0, 2, 4, 6, 7, */ {1, 2, 5, 11, 5, 2, 5, 11, 4, 3, 4, 11, 4, 3, 0},
935 /* 121: 0, 3, 4, 5, 6, */ {0, 11, 2, 11, 0, 7, 9, 7, 0, 7, 9, 6, 10, 6, 9},
936 /* 233: 0, 3, 5, 6, 7, */ {0, 8, 2, 7, 2, 8, 2, 7, 10, 4, 10, 7, 10, 4, 9},
937 /* 62: 1, 2, 3, 4, 5, */ {7, 8, 5, 0, 5, 8, 5, 0, 10, 3, 10, 0, 10, 3, 11},
938 /* 158: 1, 2, 3, 4, 7, */ {6, 8, 4, 8, 6, 3, 10, 3, 6, 3, 10, 0, 9, 0, 10},
939 /* 174: 1, 2, 3, 5, 7, */ {0, 5, 4, 5, 0, 10, 3, 10, 0, 10, 3, 6, 7, 6, 3},
940 /* 182: 1, 2, 4, 5, 7, */ {2, 10, 0, 5, 0, 10, 0, 5, 8, 6, 8, 5, 8, 6, 11},
941 /* 214: 1, 2, 4, 6, 7, */ {2, 9, 0, 9, 2, 5, 11, 5, 2, 5, 11, 4, 8, 4, 11},
942 /* 186: 1, 3, 4, 5, 7, */ {2, 3, 6, 8, 6, 3, 6, 8, 5, 0, 5, 8, 5, 0, 1},
943 /* 234: 1, 3, 5, 6, 7, */ {0, 1, 4, 10, 4, 1, 4, 10, 7, 2, 7, 10, 7, 2, 3},
944 /* 124: 2, 3, 4, 5, 6, */ {3, 11, 1, 6, 1, 11, 1, 6, 9, 7, 9, 6, 9, 7, 8},
945 /* 188: 2, 3, 4, 5, 7, */ {3, 10, 1, 10, 3, 6, 8, 6, 3, 6, 8, 5, 9, 5, 8}};
946//_____________________________________________________________________________
952//-----------------------------------------------------------------------------
953static const MInt tiling7_1Ls[16][9] = {
954 /* 37: 0, 2, 5, */ {9, 5, 4, 10, 1, 2, 8, 3, 0},
955 /* 133: 0, 2, 7, */ {11, 7, 6, 8, 3, 0, 10, 1, 2},
956 /* 161: 0, 5, 7, */ {3, 0, 8, 5, 4, 9, 7, 6, 11},
957 /* 26: 1, 3, 4, */ {8, 4, 7, 9, 0, 1, 11, 2, 3},
958 /* 74: 1, 3, 6, */ {10, 6, 5, 11, 2, 3, 9, 0, 1},
959 /* 82: 1, 4, 6, */ {0, 1, 9, 6, 5, 10, 4, 7, 8},
960 /* 164: 2, 5, 7, */ {1, 2, 10, 7, 6, 11, 5, 4, 9},
961 /* 88: 3, 4, 6, */ {2, 3, 11, 4, 7, 8, 6, 5, 10},
962 /* 167: 0, 1, 2, 5, 7, */ {11, 3, 2, 8, 7, 4, 10, 5, 6},
963 /* 91: 0, 1, 3, 4, 6, */ {10, 2, 1, 11, 6, 7, 9, 4, 5},
964 /* 173: 0, 2, 3, 5, 7, */ {9, 1, 0, 10, 5, 6, 8, 7, 4},
965 /* 181: 0, 2, 4, 5, 7, */ {5, 6, 10, 3, 2, 11, 1, 0, 9},
966 /* 229: 0, 2, 5, 6, 7, */ {7, 4, 8, 1, 0, 9, 3, 2, 11},
967 /* 94: 1, 2, 3, 4, 6, */ {8, 0, 3, 9, 4, 5, 11, 6, 7},
968 /* 122: 1, 3, 4, 5, 6, */ {6, 7, 11, 0, 3, 8, 2, 1, 10},
969 /* 218: 1, 3, 4, 6, 7, */ {4, 5, 9, 2, 1, 10, 0, 3, 8}};
970//_____________________________________________________________________________
976//-----------------------------------------------------------------------------
977static const MInt tiling7_2Ls[16][3][15] = {
978 /* 37: 0, 2, 5, */ {/* 1,0 */ {1, 2, 10, 3, 4, 8, 4, 3, 5, 0, 5, 3, 5, 0, 9},
979 /* 0,1 */ {3, 0, 8, 9, 1, 4, 2, 4, 1, 4, 2, 5, 10, 5, 2},
980 /* 1,1 */ {9, 5, 4, 0, 10, 1, 10, 0, 8, 10, 8, 2, 3, 2, 8}},
981 /* 133: 0, 2, 7, */
982 {/* 1,0 */ {3, 0, 8, 1, 6, 10, 6, 1, 7, 2, 7, 1, 7, 2, 11},
983 /* 0,1 */ {1, 2, 10, 11, 3, 6, 0, 6, 3, 6, 0, 7, 8, 7, 0},
984 /* 1,1 */ {11, 7, 6, 2, 8, 3, 8, 2, 10, 8, 10, 0, 1, 0, 10}},
985 /* 161: 0, 5, 7, */
986 {/* 1,0 */ {9, 5, 4, 11, 3, 6, 0, 6, 3, 6, 0, 7, 8, 7, 0},
987 /* 0,1 */ {11, 7, 6, 3, 4, 8, 4, 3, 5, 0, 5, 3, 5, 0, 9},
988 /* 1,1 */ {3, 0, 8, 4, 9, 7, 11, 7, 9, 5, 11, 9, 11, 5, 6}},
989 /* 26: 1, 3, 4, */
990 {/* 1,0 */ {0, 1, 9, 2, 7, 11, 7, 2, 4, 3, 4, 2, 4, 3, 8},
991 /* 0,1 */ {2, 3, 11, 8, 0, 7, 1, 7, 0, 7, 1, 4, 9, 4, 1},
992 /* 1,1 */ {8, 4, 7, 3, 9, 0, 9, 3, 11, 9, 11, 1, 2, 1, 11}},
993 /* 74: 1, 3, 6, */
994 {/* 1,0 */ {2, 3, 11, 0, 5, 9, 5, 0, 6, 1, 6, 0, 6, 1, 10},
995 /* 0,1 */ {0, 1, 9, 10, 2, 5, 3, 5, 2, 5, 3, 6, 11, 6, 3},
996 /* 1,1 */ {6, 5, 10, 1, 11, 2, 11, 1, 9, 11, 9, 3, 0, 3, 9}},
997 /* 82: 1, 4, 6, */
998 {/* 1,0 */ {6, 5, 10, 8, 0, 7, 1, 7, 0, 7, 1, 4, 9, 4, 1},
999 /* 0,1 */ {8, 4, 7, 0, 5, 9, 5, 0, 6, 1, 6, 0, 6, 1, 10},
1000 /* 1,1 */ {0, 1, 9, 5, 10, 4, 8, 4, 10, 6, 8, 10, 8, 6, 7}},
1001 /* 164: 2, 5, 7, */
1002 {/* 1,0 */ {11, 7, 6, 9, 1, 4, 2, 4, 1, 4, 2, 5, 10, 5, 2},
1003 /* 0,1 */ {9, 5, 4, 1, 6, 10, 6, 1, 7, 2, 7, 1, 7, 2, 11},
1004 /* 1,1 */ {1, 2, 10, 6, 11, 5, 9, 5, 11, 7, 9, 11, 9, 7, 4}},
1005 /* 88: 3, 4, 6, */
1006 {/* 1,0 */ {8, 4, 7, 10, 2, 5, 3, 5, 2, 5, 3, 6, 11, 6, 3},
1007 /* 0,1 */ {6, 5, 10, 2, 7, 11, 7, 2, 4, 3, 4, 2, 4, 3, 8},
1008 /* 1,1 */ {2, 3, 11, 7, 8, 6, 10, 6, 8, 4, 10, 8, 10, 4, 5}},
1009 /* 167: 0, 1, 2, 5, 7, */
1010 {/* 1,0 */ {7, 4, 8, 5, 2, 10, 2, 5, 3, 6, 3, 5, 3, 6, 11},
1011 /* 0,1 */ {10, 5, 6, 11, 7, 2, 4, 2, 7, 2, 4, 3, 8, 3, 4},
1012 /* 1,1 */ {11, 3, 2, 6, 8, 7, 8, 6, 10, 8, 10, 4, 5, 4, 10}},
1013 /* 91: 0, 1, 3, 4, 6, */
1014 {/* 1,0 */ {6, 7, 11, 4, 1, 9, 1, 4, 2, 5, 2, 4, 2, 5, 10},
1015 /* 0,1 */ {4, 5, 9, 10, 6, 1, 7, 1, 6, 1, 7, 2, 11, 2, 7},
1016 /* 1,1 */ {10, 2, 1, 5, 11, 6, 11, 5, 9, 11, 9, 7, 4, 7, 9}},
1017 /* 173: 0, 2, 3, 5, 7, */
1018 {/* 1,0 */ {10, 5, 6, 7, 0, 8, 0, 7, 1, 4, 1, 7, 1, 4, 9},
1019 /* 0,1 */ {7, 4, 8, 9, 5, 0, 6, 0, 5, 0, 6, 1, 10, 1, 6},
1020 /* 1,1 */ {9, 1, 0, 4, 10, 5, 10, 4, 8, 10, 8, 6, 7, 6, 8}},
1021 /* 181: 0, 2, 4, 5, 7, */
1022 {/* 1,0 */ {11, 3, 2, 9, 5, 0, 6, 0, 5, 0, 6, 1, 10, 1, 6},
1023 /* 0,1 */ {9, 1, 0, 5, 2, 10, 2, 5, 3, 6, 3, 5, 3, 6, 11},
1024 /* 1,1 */ {10, 5, 6, 2, 11, 1, 9, 1, 11, 3, 9, 11, 9, 3, 0}},
1025 /* 229: 0, 2, 5, 6, 7, */
1026 {/* 1,0 */ {9, 1, 0, 11, 7, 2, 4, 2, 7, 2, 4, 3, 8, 3, 4},
1027 /* 0,1 */ {11, 3, 2, 7, 0, 8, 0, 7, 1, 4, 1, 7, 1, 4, 9},
1028 /* 1,1 */ {7, 4, 8, 0, 9, 3, 11, 3, 9, 1, 11, 9, 11, 1, 2}},
1029 /* 94: 1, 2, 3, 4, 6, */
1030 {/* 1,0 */ {4, 5, 9, 6, 3, 11, 3, 6, 0, 7, 0, 6, 0, 7, 8},
1031 /* 0,1 */ {6, 7, 11, 8, 4, 3, 5, 3, 4, 3, 5, 0, 9, 0, 5},
1032 /* 1,1 */ {8, 0, 3, 7, 9, 4, 9, 7, 11, 9, 11, 5, 6, 5, 11}},
1033 /* 122: 1, 3, 4, 5, 6, */
1034 {/* 1,0 */ {8, 0, 3, 10, 6, 1, 7, 1, 6, 1, 7, 2, 11, 2, 7},
1035 /* 0,1 */ {10, 2, 1, 6, 3, 11, 3, 6, 0, 7, 0, 6, 0, 7, 8},
1036 /* 1,1 */ {6, 7, 11, 3, 8, 2, 10, 2, 8, 0, 10, 8, 10, 0, 1}},
1037 /* 218: 1, 3, 4, 6, 7, */
1038 {/* 1,0 */ {10, 2, 1, 8, 4, 3, 5, 3, 4, 3, 5, 0, 9, 0, 5},
1039 /* 0,1 */ {8, 0, 3, 4, 1, 9, 1, 4, 2, 5, 2, 4, 2, 5, 10},
1040 /* 1,1 */ {4, 5, 9, 1, 10, 0, 8, 0, 10, 2, 8, 10, 8, 2, 3}}};
1041//_____________________________________________________________________________
1047//-----------------------------------------------------------------------------
1048static const MInt tiling7_3Ls[16][3][27] = {
1049 /* 37: 0, 2, 5, */ {
1050 /* 1,0 */ {12, 2, 10, 12, 10, 5, 12, 5, 4, 12, 4, 8, 12, 8, 3, 12, 3, 0, 12, 0, 9, 12, 9, 1, 12, 1, 2},
1051 /* 0,1 */ {12, 5, 4, 12, 4, 8, 12, 8, 3, 12, 3, 2, 12, 2, 10, 12, 10, 1, 12, 1, 0, 12, 0, 9, 12, 9, 5},
1052 /* 1,1 */ {5, 4, 12, 10, 5, 12, 2, 10, 12, 3, 2, 12, 8, 3, 12, 0, 8, 12, 1, 0, 12, 9, 1, 12, 4, 9, 12}},
1053 /* 133: 0, 2, 7, */
1054 {/* 1,0 */ {12, 0, 8, 12, 8, 7, 12, 7, 6, 12, 6, 10, 12, 10, 1, 12, 1, 2, 12, 2, 11, 12, 11, 3, 12, 3, 0},
1055 /* 0,1 */ {12, 7, 6, 12, 6, 10, 12, 10, 1, 12, 1, 0, 12, 0, 8, 12, 8, 3, 12, 3, 2, 12, 2, 11, 12, 11, 7},
1056 /* 1,1 */ {7, 6, 12, 8, 7, 12, 0, 8, 12, 1, 0, 12, 10, 1, 12, 2, 10, 12, 3, 2, 12, 11, 3, 12, 6, 11, 12}},
1057 /* 161: 0, 5, 7, */
1058 {/* 1,0 */ {9, 5, 12, 0, 9, 12, 3, 0, 12, 11, 3, 12, 6, 11, 12, 7, 6, 12, 8, 7, 12, 4, 8, 12, 5, 4, 12},
1059 /* 0,1 */ {3, 0, 12, 11, 3, 12, 6, 11, 12, 5, 6, 12, 9, 5, 12, 4, 9, 12, 7, 4, 12, 8, 7, 12, 0, 8, 12},
1060 /* 1,1 */ {12, 3, 0, 12, 0, 9, 12, 9, 5, 12, 5, 6, 12, 6, 11, 12, 11, 7, 12, 7, 4, 12, 4, 8, 12, 8, 3}},
1061 /* 26: 1, 3, 4, */
1062 {/* 1,0 */ {12, 1, 9, 12, 9, 4, 12, 4, 7, 12, 7, 11, 12, 11, 2, 12, 2, 3, 12, 3, 8, 12, 8, 0, 12, 0, 1},
1063 /* 0,1 */ {12, 4, 7, 12, 7, 11, 12, 11, 2, 12, 2, 1, 12, 1, 9, 12, 9, 0, 12, 0, 3, 12, 3, 8, 12, 8, 4},
1064 /* 1,1 */ {4, 7, 12, 9, 4, 12, 1, 9, 12, 2, 1, 12, 11, 2, 12, 3, 11, 12, 0, 3, 12, 8, 0, 12, 7, 8, 12}},
1065 /* 74: 1, 3, 6, */
1066 {/* 1,0 */ {12, 3, 11, 12, 11, 6, 12, 6, 5, 12, 5, 9, 12, 9, 0, 12, 0, 1, 12, 1, 10, 12, 10, 2, 12, 2, 3},
1067 /* 0,1 */ {12, 6, 5, 12, 5, 9, 12, 9, 0, 12, 0, 3, 12, 3, 11, 12, 11, 2, 12, 2, 1, 12, 1, 10, 12, 10, 6},
1068 /* 1,1 */ {6, 5, 12, 11, 6, 12, 3, 11, 12, 0, 3, 12, 9, 0, 12, 1, 9, 12, 2, 1, 12, 10, 2, 12, 5, 10, 12}},
1069 /* 82: 1, 4, 6, */
1070 {/* 1,0 */ {10, 6, 12, 1, 10, 12, 0, 1, 12, 8, 0, 12, 7, 8, 12, 4, 7, 12, 9, 4, 12, 5, 9, 12, 6, 5, 12},
1071 /* 0,1 */ {0, 1, 12, 8, 0, 12, 7, 8, 12, 6, 7, 12, 10, 6, 12, 5, 10, 12, 4, 5, 12, 9, 4, 12, 1, 9, 12},
1072 /* 1,1 */ {12, 0, 1, 12, 1, 10, 12, 10, 6, 12, 6, 7, 12, 7, 8, 12, 8, 4, 12, 4, 5, 12, 5, 9, 12, 9, 0}},
1073 /* 164: 2, 5, 7, */
1074 {/* 1,0 */ {11, 7, 12, 2, 11, 12, 1, 2, 12, 9, 1, 12, 4, 9, 12, 5, 4, 12, 10, 5, 12, 6, 10, 12, 7, 6, 12},
1075 /* 0,1 */ {1, 2, 12, 9, 1, 12, 4, 9, 12, 7, 4, 12, 11, 7, 12, 6, 11, 12, 5, 6, 12, 10, 5, 12, 2, 10, 12},
1076 /* 1,1 */ {12, 1, 2, 12, 2, 11, 12, 11, 7, 12, 7, 4, 12, 4, 9, 12, 9, 5, 12, 5, 6, 12, 6, 10, 12, 10, 1}},
1077 /* 88: 3, 4, 6, */
1078 {/* 1,0 */ {8, 4, 12, 3, 8, 12, 2, 3, 12, 10, 2, 12, 5, 10, 12, 6, 5, 12, 11, 6, 12, 7, 11, 12, 4, 7, 12},
1079 /* 0,1 */ {2, 3, 12, 10, 2, 12, 5, 10, 12, 4, 5, 12, 8, 4, 12, 7, 8, 12, 6, 7, 12, 11, 6, 12, 3, 11, 12},
1080 /* 1,1 */ {12, 2, 3, 12, 3, 8, 12, 8, 4, 12, 4, 5, 12, 5, 10, 12, 10, 6, 12, 6, 7, 12, 7, 11, 12, 11, 2}},
1081 /* 167: 0, 1, 2, 5, 7, */
1082 {/* 1,0 */ {12, 4, 8, 12, 8, 3, 12, 3, 2, 12, 2, 10, 12, 10, 5, 12, 5, 6, 12, 6, 11, 12, 11, 7, 12, 7, 4},
1083 /* 0,1 */ {12, 3, 2, 12, 2, 10, 12, 10, 5, 12, 5, 4, 12, 4, 8, 12, 8, 7, 12, 7, 6, 12, 6, 11, 12, 11, 3},
1084 /* 1,1 */ {3, 2, 12, 8, 3, 12, 4, 8, 12, 5, 4, 12, 10, 5, 12, 6, 10, 12, 7, 6, 12, 11, 7, 12, 2, 11, 12}},
1085 /* 91: 0, 1, 3, 4, 6, */
1086 {/* 1,0 */ {12, 7, 11, 12, 11, 2, 12, 2, 1, 12, 1, 9, 12, 9, 4, 12, 4, 5, 12, 5, 10, 12, 10, 6, 12, 6, 7},
1087 /* 0,1 */ {12, 2, 1, 12, 1, 9, 12, 9, 4, 12, 4, 7, 12, 7, 11, 12, 11, 6, 12, 6, 5, 12, 5, 10, 12, 10, 2},
1088 /* 1,1 */ {2, 1, 12, 11, 2, 12, 7, 11, 12, 4, 7, 12, 9, 4, 12, 5, 9, 12, 6, 5, 12, 10, 6, 12, 1, 10, 12}},
1089 /* 173: 0, 2, 3, 5, 7, */
1090 {/* 1,0 */ {12, 6, 10, 12, 10, 1, 12, 1, 0, 12, 0, 8, 12, 8, 7, 12, 7, 4, 12, 4, 9, 12, 9, 5, 12, 5, 6},
1091 /* 0,1 */ {12, 1, 0, 12, 0, 8, 12, 8, 7, 12, 7, 6, 12, 6, 10, 12, 10, 5, 12, 5, 4, 12, 4, 9, 12, 9, 1},
1092 /* 1,1 */ {1, 0, 12, 10, 1, 12, 6, 10, 12, 7, 6, 12, 8, 7, 12, 4, 8, 12, 5, 4, 12, 9, 5, 12, 0, 9, 12}},
1093 /* 181: 0, 2, 4, 5, 7, */
1094 {/* 1,0 */ {11, 3, 12, 6, 11, 12, 5, 6, 12, 9, 5, 12, 0, 9, 12, 1, 0, 12, 10, 1, 12, 2, 10, 12, 3, 2, 12},
1095 /* 0,1 */ {5, 6, 12, 9, 5, 12, 0, 9, 12, 3, 0, 12, 11, 3, 12, 2, 11, 12, 1, 2, 12, 10, 1, 12, 6, 10, 12},
1096 /* 1,1 */ {12, 5, 6, 12, 6, 11, 12, 11, 3, 12, 3, 0, 12, 0, 9, 12, 9, 1, 12, 1, 2, 12, 2, 10, 12, 10, 5}},
1097 /* 229: 0, 2, 5, 6, 7, */
1098 {/* 1,0 */ {9, 1, 12, 4, 9, 12, 7, 4, 12, 11, 7, 12, 2, 11, 12, 3, 2, 12, 8, 3, 12, 0, 8, 12, 1, 0, 12},
1099 /* 0,1 */ {7, 4, 12, 11, 7, 12, 2, 11, 12, 1, 2, 12, 9, 1, 12, 0, 9, 12, 3, 0, 12, 8, 3, 12, 4, 8, 12},
1100 /* 1,1 */ {12, 7, 4, 12, 4, 9, 12, 9, 1, 12, 1, 2, 12, 2, 11, 12, 11, 3, 12, 3, 0, 12, 0, 8, 12, 8, 7}},
1101 /* 94: 1, 2, 3, 4, 6, */
1102 {/* 1,0 */ {12, 5, 9, 12, 9, 0, 12, 0, 3, 12, 3, 11, 12, 11, 6, 12, 6, 7, 12, 7, 8, 12, 8, 4, 12, 4, 5},
1103 /* 0,1 */ {12, 0, 3, 12, 3, 11, 12, 11, 6, 12, 6, 5, 12, 5, 9, 12, 9, 4, 12, 4, 7, 12, 7, 8, 12, 8, 0},
1104 /* 1,1 */ {0, 3, 12, 9, 0, 12, 5, 9, 12, 6, 5, 12, 11, 6, 12, 7, 11, 12, 4, 7, 12, 8, 4, 12, 3, 8, 12}},
1105 /* 122: 1, 3, 4, 5, 6, */
1106 {/* 1,0 */ {8, 0, 12, 7, 8, 12, 6, 7, 12, 10, 6, 12, 1, 10, 12, 2, 1, 12, 11, 2, 12, 3, 11, 12, 0, 3, 12},
1107 /* 0,1 */ {6, 7, 12, 10, 6, 12, 1, 10, 12, 0, 1, 12, 8, 0, 12, 3, 8, 12, 2, 3, 12, 11, 2, 12, 7, 11, 12},
1108 /* 1,1 */ {12, 6, 7, 12, 7, 8, 12, 8, 0, 12, 0, 1, 12, 1, 10, 12, 10, 2, 12, 2, 3, 12, 3, 11, 12, 11, 6}},
1109 /* 218: 1, 3, 4, 6, 7, */
1110 {/* 1,0 */ {10, 2, 12, 5, 10, 12, 4, 5, 12, 8, 4, 12, 3, 8, 12, 0, 3, 12, 9, 0, 12, 1, 9, 12, 2, 1, 12},
1111 /* 0,1 */ {4, 5, 12, 8, 4, 12, 3, 8, 12, 2, 3, 12, 10, 2, 12, 1, 10, 12, 0, 1, 12, 9, 0, 12, 5, 9, 12},
1112 /* 1,1 */ {12, 4, 5, 12, 5, 10, 12, 10, 2, 12, 2, 3, 12, 3, 8, 12, 8, 0, 12, 0, 1, 12, 1, 9, 12, 9, 4}}};
1113//_____________________________________________________________________________
1119//-----------------------------------------------------------------------------
1120static const MInt tiling7_4_1Ls[16][15] = {
1121 /* 37: 0, 2, 5, */ {3, 4, 8, 4, 3, 10, 2, 10, 3, 4, 10, 5, 9, 1, 0},
1122 /* 133: 0, 2, 7, */ {1, 6, 10, 6, 1, 8, 0, 8, 1, 6, 8, 7, 11, 3, 2},
1123 /* 161: 0, 5, 7, */ {11, 3, 6, 9, 6, 3, 6, 9, 5, 0, 9, 3, 7, 4, 8},
1124 /* 26: 1, 3, 4, */ {2, 7, 11, 7, 2, 9, 1, 9, 2, 7, 9, 4, 8, 0, 3},
1125 /* 74: 1, 3, 6, */ {0, 5, 9, 5, 0, 11, 3, 11, 0, 5, 11, 6, 10, 2, 1},
1126 /* 82: 1, 4, 6, */ {8, 0, 7, 10, 7, 0, 7, 10, 6, 1, 10, 0, 4, 5, 9},
1127 /* 164: 2, 5, 7, */ {9, 1, 4, 11, 4, 1, 4, 11, 7, 2, 11, 1, 5, 6, 10},
1128 /* 88: 3, 4, 6, */ {10, 2, 5, 8, 5, 2, 5, 8, 4, 3, 8, 2, 6, 7, 11},
1129 /* 167: 0, 1, 2, 5, 7, */ {5, 2, 10, 2, 5, 8, 4, 8, 5, 2, 8, 3, 11, 7, 6},
1130 /* 91: 0, 1, 3, 4, 6, */ {4, 1, 9, 1, 4, 11, 7, 11, 4, 1, 11, 2, 10, 6, 5},
1131 /* 173: 0, 2, 3, 5, 7, */ {7, 0, 8, 0, 7, 10, 6, 10, 7, 0, 10, 1, 9, 5, 4},
1132 /* 181: 0, 2, 4, 5, 7, */ {9, 5, 0, 11, 0, 5, 0, 11, 3, 6, 11, 5, 1, 2, 10},
1133 /* 229: 0, 2, 5, 6, 7, */ {11, 7, 2, 9, 2, 7, 2, 9, 1, 4, 9, 7, 3, 0, 8},
1134 /* 94: 1, 2, 3, 4, 6, */ {6, 3, 11, 3, 6, 9, 5, 9, 6, 3, 9, 0, 8, 4, 7},
1135 /* 122: 1, 3, 4, 5, 6, */ {10, 6, 1, 8, 1, 6, 1, 8, 0, 7, 8, 6, 2, 3, 11},
1136 /* 218: 1, 3, 4, 6, 7, */ {8, 4, 3, 10, 3, 4, 3, 10, 2, 5, 10, 4, 0, 1, 9}};
1137//_____________________________________________________________________________
1143//-----------------------------------------------------------------------------
1144static const MInt tiling8Ls[6][6] = {
1145 /* 15: 0, 1, 2, 3, */ {9, 8, 10, 10, 8, 11},
1146 /* 51: 0, 1, 4, 5, */ {1, 5, 3, 3, 5, 7},
1147 /* 153: 0, 3, 4, 7, */ {0, 4, 2, 4, 6, 2},
1148 /* 102: 1, 2, 5, 6, */ {0, 2, 4, 4, 2, 6},
1149 /* 204: 2, 3, 6, 7, */ {1, 3, 5, 3, 7, 5},
1150 /* 240: 4, 5, 6, 7, */ {9, 10, 8, 10, 11, 8}};
1151//_____________________________________________________________________________
1157//-----------------------------------------------------------------------------
1158static const MInt tiling9Ls[8][12] = {
1159 /* 39: 0, 1, 2, 5, */ {2, 10, 5, 3, 2, 5, 3, 5, 4, 3, 4, 8},
1160 /* 27: 0, 1, 3, 4, */ {4, 7, 11, 9, 4, 11, 9, 11, 2, 9, 2, 1},
1161 /* 141: 0, 2, 3, 7, */ {10, 7, 6, 1, 7, 10, 1, 8, 7, 1, 0, 8},
1162 /* 177: 0, 4, 5, 7, */ {3, 6, 11, 0, 6, 3, 0, 5, 6, 0, 9, 5},
1163 /* 78: 1, 2, 3, 6, */ {3, 11, 6, 0, 3, 6, 0, 6, 5, 0, 5, 9},
1164 /* 114: 1, 4, 5, 6, */ {10, 6, 7, 1, 10, 7, 1, 7, 8, 1, 8, 0},
1165 /* 228: 2, 5, 6, 7, */ {4, 11, 7, 9, 11, 4, 9, 2, 11, 9, 1, 2},
1166 /* 216: 3, 4, 6, 7, */ {2, 5, 10, 3, 5, 2, 3, 4, 5, 3, 8, 4}};
1167//_____________________________________________________________________________
1173//-----------------------------------------------------------------------------
1174static const MInt tiling10_1_1Ls[6][12] = {
1175 /* 195: 0, 1, 6, 7, */ {5, 10, 7, 11, 7, 10, 8, 1, 9, 1, 8, 3},
1176 /* 85: 0, 2, 4, 6, */ {1, 2, 5, 6, 5, 2, 4, 3, 0, 3, 4, 7},
1177 /* 105: 0, 3, 5, 6, */ {11, 0, 8, 0, 11, 2, 4, 9, 6, 10, 6, 9},
1178 /* 150: 1, 2, 4, 7, */ {9, 0, 10, 2, 10, 0, 6, 8, 4, 8, 6, 11},
1179 /* 170: 1, 3, 5, 7, */ {7, 2, 3, 2, 7, 6, 0, 1, 4, 5, 4, 1},
1180 /* 60: 2, 3, 4, 5, */ {7, 9, 5, 9, 7, 8, 10, 1, 11, 3, 11, 1}};
1181//_____________________________________________________________________________
1187//-----------------------------------------------------------------------------
1188static const MInt tiling10_1_1_Ls[6][12] = {
1189 /* 195: 0, 1, 6, 7, */ {5, 9, 7, 8, 7, 9, 11, 1, 10, 1, 11, 3},
1190 /* 85: 0, 2, 4, 6, */ {3, 2, 7, 6, 7, 2, 4, 1, 0, 1, 4, 5},
1191 /* 105: 0, 3, 5, 6, */ {10, 0, 9, 0, 10, 2, 4, 8, 6, 11, 6, 8},
1192 /* 150: 1, 2, 4, 7, */ {8, 0, 11, 2, 11, 0, 6, 9, 4, 9, 6, 10},
1193 /* 170: 1, 3, 5, 7, */ {5, 2, 1, 2, 5, 6, 0, 3, 4, 7, 4, 3},
1194 /* 60: 2, 3, 4, 5, */ {7, 10, 5, 10, 7, 11, 9, 1, 8, 3, 8, 1}};
1195//_____________________________________________________________________________
1201//-----------------------------------------------------------------------------
1202static const MInt tiling10_2Ls[6][24] = {
1203 /* 195: 0, 1, 6, 7, */ {12, 5, 9, 12, 9, 8, 12, 8, 3, 12, 3, 1,
1204 12, 1, 10, 12, 10, 11, 12, 11, 7, 12, 7, 5},
1205 /* 85: 0, 2, 4, 6, */ {12, 1, 0, 12, 0, 4, 12, 4, 7, 12, 7, 3,
1206 12, 3, 2, 12, 2, 6, 12, 6, 5, 12, 5, 1},
1207 /* 105: 0, 3, 5, 6, */ {4, 8, 12, 6, 4, 12, 10, 6, 12, 9, 10, 12,
1208 0, 9, 12, 2, 0, 12, 11, 2, 12, 8, 11, 12},
1209 /* 150: 1, 2, 4, 7, */ {12, 9, 4, 12, 4, 6, 12, 6, 11, 12, 11, 8,
1210 12, 8, 0, 12, 0, 2, 12, 2, 10, 12, 10, 9},
1211 /* 170: 1, 3, 5, 7, */ {0, 3, 12, 4, 0, 12, 5, 4, 12, 1, 5, 12,
1212 2, 1, 12, 6, 2, 12, 7, 6, 12, 3, 7, 12},
1213 /* 60: 2, 3, 4, 5, */ {10, 5, 12, 11, 10, 12, 3, 11, 12, 1, 3, 12,
1214 9, 1, 12, 8, 9, 12, 7, 8, 12, 5, 7, 12}};
1215//_____________________________________________________________________________
1221//-----------------------------------------------------------------------------
1222static const MInt tiling10_2_Ls[6][24] = {
1223 /* 195: 0, 1, 6, 7, */ {8, 7, 12, 9, 8, 12, 1, 9, 12, 3, 1, 12,
1224 11, 3, 12, 10, 11, 12, 5, 10, 12, 7, 5, 12},
1225 /* 85: 0, 2, 4, 6, */ {4, 5, 12, 0, 4, 12, 3, 0, 12, 7, 3, 12,
1226 6, 7, 12, 2, 6, 12, 1, 2, 12, 5, 1, 12},
1227 /* 105: 0, 3, 5, 6, */ {12, 11, 6, 12, 6, 4, 12, 4, 9, 12, 9, 10,
1228 12, 10, 2, 12, 2, 0, 12, 0, 8, 12, 8, 11},
1229 /* 150: 1, 2, 4, 7, */ {6, 10, 12, 4, 6, 12, 8, 4, 12, 11, 8, 12,
1230 2, 11, 12, 0, 2, 12, 9, 0, 12, 10, 9, 12},
1231 /* 170: 1, 3, 5, 7, */ {12, 7, 4, 12, 4, 0, 12, 0, 1, 12, 1, 5,
1232 12, 5, 6, 12, 6, 2, 12, 2, 3, 12, 3, 7},
1233 /* 60: 2, 3, 4, 5, */ {12, 7, 11, 12, 11, 10, 12, 10, 1, 12, 1, 3,
1234 12, 3, 8, 12, 8, 9, 12, 9, 5, 12, 5, 7}};
1235//_____________________________________________________________________________
1241//-----------------------------------------------------------------------------
1242static const MInt tiling11Ls[12][12] = {
1243 /* 23: 0, 1, 2, 4, */ {2, 10, 9, 2, 9, 7, 2, 7, 3, 7, 9, 4},
1244 /* 139: 0, 1, 3, 7, */ {1, 6, 2, 1, 8, 6, 1, 9, 8, 8, 7, 6},
1245 /* 99: 0, 1, 5, 6, */ {8, 3, 1, 8, 1, 6, 8, 6, 4, 6, 1, 10},
1246 /* 77: 0, 2, 3, 6, */ {0, 8, 11, 0, 11, 5, 0, 5, 1, 5, 11, 6},
1247 /* 57: 0, 3, 4, 5, */ {9, 5, 7, 9, 7, 2, 9, 2, 0, 2, 7, 11},
1248 /* 209: 0, 4, 6, 7, */ {5, 0, 4, 5, 11, 0, 5, 10, 11, 11, 3, 0},
1249 /* 46: 1, 2, 3, 5, */ {5, 4, 0, 5, 0, 11, 5, 11, 10, 11, 0, 3},
1250 /* 198: 1, 2, 6, 7, */ {9, 7, 5, 9, 2, 7, 9, 0, 2, 2, 11, 7},
1251 /* 178: 1, 4, 5, 7, */ {0, 11, 8, 0, 5, 11, 0, 1, 5, 5, 6, 11},
1252 /* 156: 2, 3, 4, 7, */ {8, 1, 3, 8, 6, 1, 8, 4, 6, 6, 10, 1},
1253 /* 116: 2, 4, 5, 6, */ {1, 2, 6, 1, 6, 8, 1, 8, 9, 8, 6, 7},
1254 /* 232: 3, 5, 6, 7, */ {2, 9, 10, 2, 7, 9, 2, 3, 7, 7, 4, 9}};
1255//_____________________________________________________________________________
1261//-----------------------------------------------------------------------------
1262static const MInt tiling12_1_1Ls[24][12] = {
1263 /* 135: 0, 1, 2, 7, */ {7, 6, 11, 10, 3, 2, 3, 10, 8, 9, 8, 10},
1264 /* 75: 0, 1, 3, 6, */ {6, 5, 10, 9, 2, 1, 2, 9, 11, 8, 11, 9},
1265 /* 83: 0, 1, 4, 6, */ {10, 6, 5, 7, 9, 4, 9, 7, 1, 3, 1, 7},
1266 /* 163: 0, 1, 5, 7, */ {7, 6, 11, 4, 8, 5, 3, 5, 8, 5, 3, 1},
1267 /* 45: 0, 2, 3, 5, */ {5, 4, 9, 8, 1, 0, 1, 8, 10, 11, 10, 8},
1268 /* 53: 0, 2, 4, 5, */ {1, 2, 10, 0, 9, 3, 5, 3, 9, 3, 5, 7},
1269 /* 149: 0, 2, 4, 7, */ {10, 1, 2, 0, 11, 3, 11, 0, 6, 4, 6, 0},
1270 /* 101: 0, 2, 5, 6, */ {8, 3, 0, 2, 9, 1, 9, 2, 4, 6, 4, 2},
1271 /* 197: 0, 2, 6, 7, */ {3, 0, 8, 2, 11, 1, 7, 1, 11, 1, 7, 5},
1272 /* 89: 0, 3, 4, 6, */ {6, 5, 10, 7, 11, 4, 2, 4, 11, 4, 2, 0},
1273 /* 169: 0, 3, 5, 7, */ {9, 5, 4, 6, 8, 7, 8, 6, 0, 2, 0, 6},
1274 /* 225: 0, 5, 6, 7, */ {8, 3, 0, 7, 4, 11, 9, 11, 4, 11, 9, 10},
1275 /* 30: 1, 2, 3, 4, */ {4, 7, 8, 11, 0, 3, 0, 11, 9, 10, 9, 11},
1276 /* 86: 1, 2, 4, 6, */ {4, 7, 8, 5, 9, 6, 0, 6, 9, 6, 0, 2},
1277 /* 166: 1, 2, 5, 7, */ {11, 7, 6, 4, 10, 5, 10, 4, 2, 0, 2, 4},
1278 /* 58: 1, 3, 4, 5, */ {11, 2, 3, 1, 8, 0, 8, 1, 7, 5, 7, 1},
1279 /* 154: 1, 3, 4, 7, */ {0, 1, 9, 3, 8, 2, 4, 2, 8, 2, 4, 6},
1280 /* 106: 1, 3, 5, 6, */ {2, 3, 11, 1, 10, 0, 6, 0, 10, 0, 6, 4},
1281 /* 202: 1, 3, 6, 7, */ {9, 0, 1, 3, 10, 2, 10, 3, 5, 7, 5, 3},
1282 /* 210: 1, 4, 6, 7, */ {9, 0, 1, 4, 5, 8, 10, 8, 5, 8, 10, 11},
1283 /* 92: 2, 3, 4, 6, */ {8, 4, 7, 5, 11, 6, 11, 5, 3, 1, 3, 5},
1284 /* 172: 2, 3, 5, 7, */ {5, 4, 9, 6, 10, 7, 1, 7, 10, 7, 1, 3},
1285 /* 180: 2, 4, 5, 7, */ {10, 1, 2, 5, 6, 9, 11, 9, 6, 9, 11, 8},
1286 /* 120: 3, 4, 5, 6, */ {11, 2, 3, 6, 7, 10, 8, 10, 7, 10, 8, 9}};
1287//_____________________________________________________________________________
1293//-----------------------------------------------------------------------------
1294static const MInt tiling12_1_1_Ls[24][12] = {
1295 /* 135: 0, 1, 2, 7, */ {3, 2, 11, 10, 7, 6, 7, 10, 8, 9, 8, 10},
1296 /* 75: 0, 1, 3, 6, */ {2, 1, 10, 9, 6, 5, 6, 9, 11, 8, 11, 9},
1297 /* 83: 0, 1, 4, 6, */ {9, 4, 5, 7, 10, 6, 10, 7, 1, 3, 1, 7},
1298 /* 163: 0, 1, 5, 7, */ {7, 4, 8, 6, 11, 5, 3, 5, 11, 5, 3, 1},
1299 /* 45: 0, 2, 3, 5, */ {1, 0, 9, 8, 5, 4, 5, 8, 10, 11, 10, 8},
1300 /* 53: 0, 2, 4, 5, */ {1, 0, 9, 2, 10, 3, 5, 3, 10, 3, 5, 7},
1301 /* 149: 0, 2, 4, 7, */ {11, 3, 2, 0, 10, 1, 10, 0, 6, 4, 6, 0},
1302 /* 101: 0, 2, 5, 6, */ {9, 1, 0, 2, 8, 3, 8, 2, 4, 6, 4, 2},
1303 /* 197: 0, 2, 6, 7, */ {3, 2, 11, 0, 8, 1, 7, 1, 8, 1, 7, 5},
1304 /* 89: 0, 3, 4, 6, */ {6, 7, 11, 5, 10, 4, 2, 4, 10, 4, 2, 0},
1305 /* 169: 0, 3, 5, 7, */ {8, 7, 4, 6, 9, 5, 9, 6, 0, 2, 0, 6},
1306 /* 225: 0, 5, 6, 7, */ {8, 7, 4, 3, 0, 11, 9, 11, 0, 11, 9, 10},
1307 /* 30: 1, 2, 3, 4, */ {0, 3, 8, 11, 4, 7, 4, 11, 9, 10, 9, 11},
1308 /* 86: 1, 2, 4, 6, */ {4, 5, 9, 7, 8, 6, 0, 6, 8, 6, 0, 2},
1309 /* 166: 1, 2, 5, 7, */ {10, 5, 6, 4, 11, 7, 11, 4, 2, 0, 2, 4},
1310 /* 58: 1, 3, 4, 5, */ {8, 0, 3, 1, 11, 2, 11, 1, 7, 5, 7, 1},
1311 /* 154: 1, 3, 4, 7, */ {0, 3, 8, 1, 9, 2, 4, 2, 9, 2, 4, 6},
1312 /* 106: 1, 3, 5, 6, */ {2, 1, 10, 3, 11, 0, 6, 0, 11, 0, 6, 4},
1313 /* 202: 1, 3, 6, 7, */ {10, 2, 1, 3, 9, 0, 9, 3, 5, 7, 5, 3},
1314 /* 210: 1, 4, 6, 7, */ {9, 4, 5, 0, 1, 8, 10, 8, 1, 8, 10, 11},
1315 /* 92: 2, 3, 4, 6, */ {11, 6, 7, 5, 8, 4, 8, 5, 3, 1, 3, 5},
1316 /* 172: 2, 3, 5, 7, */ {5, 6, 10, 4, 9, 7, 1, 7, 9, 7, 1, 3},
1317 /* 180: 2, 4, 5, 7, */ {10, 5, 6, 1, 2, 9, 11, 9, 2, 9, 11, 8},
1318 /* 120: 3, 4, 5, 6, */ {11, 6, 7, 2, 3, 10, 8, 10, 3, 10, 8, 9}};
1319//_____________________________________________________________________________
1325//-----------------------------------------------------------------------------
1326static const MInt tiling12_2Ls[24][24] = {
1327 /* 135: 0, 1, 2, 7, */ {9, 8, 12, 10, 9, 12, 2, 10, 12, 3, 2, 12,
1328 11, 3, 12, 6, 11, 12, 7, 6, 12, 8, 7, 12},
1329 /* 75: 0, 1, 3, 6, */ {8, 11, 12, 9, 8, 12, 1, 9, 12, 2, 1, 12,
1330 10, 2, 12, 5, 10, 12, 6, 5, 12, 11, 6, 12},
1331 /* 83: 0, 1, 4, 6, */ {3, 1, 12, 7, 3, 12, 4, 7, 12, 9, 4, 12,
1332 5, 9, 12, 6, 5, 12, 10, 6, 12, 1, 10, 12},
1333 /* 163: 0, 1, 5, 7, */ {12, 3, 1, 12, 1, 5, 12, 5, 6, 12, 6, 11,
1334 12, 11, 7, 12, 7, 4, 12, 4, 8, 12, 8, 3},
1335 /* 45: 0, 2, 3, 5, */ {11, 10, 12, 8, 11, 12, 0, 8, 12, 1, 0, 12,
1336 9, 1, 12, 4, 9, 12, 5, 4, 12, 10, 5, 12},
1337 /* 53: 0, 2, 4, 5, */ {12, 5, 7, 12, 7, 3, 12, 3, 2, 12, 2, 10,
1338 12, 10, 1, 12, 1, 0, 12, 0, 9, 12, 9, 5},
1339 /* 149: 0, 2, 4, 7, */ {4, 6, 12, 0, 4, 12, 1, 0, 12, 10, 1, 12,
1340 2, 10, 12, 3, 2, 12, 11, 3, 12, 6, 11, 12},
1341 /* 101: 0, 2, 5, 6, */ {6, 4, 12, 2, 6, 12, 3, 2, 12, 8, 3, 12,
1342 0, 8, 12, 1, 0, 12, 9, 1, 12, 4, 9, 12},
1343 /* 197: 0, 2, 6, 7, */ {12, 7, 5, 12, 5, 1, 12, 1, 0, 12, 0, 8,
1344 12, 8, 3, 12, 3, 2, 12, 2, 11, 12, 11, 7},
1345 /* 89: 0, 3, 4, 6, */ {12, 2, 0, 12, 0, 4, 12, 4, 5, 12, 5, 10,
1346 12, 10, 6, 12, 6, 7, 12, 7, 11, 12, 11, 2},
1347 /* 169: 0, 3, 5, 7, */ {2, 0, 12, 6, 2, 12, 7, 6, 12, 8, 7, 12,
1348 4, 8, 12, 5, 4, 12, 9, 5, 12, 0, 9, 12},
1349 /* 225: 0, 5, 6, 7, */ {12, 9, 10, 12, 10, 11, 12, 11, 7, 12, 7, 4,
1350 12, 4, 8, 12, 8, 3, 12, 3, 0, 12, 0, 9},
1351 /* 30: 1, 2, 3, 4, */ {10, 9, 12, 11, 10, 12, 7, 11, 12, 4, 7, 12,
1352 8, 4, 12, 3, 8, 12, 0, 3, 12, 9, 0, 12},
1353 /* 86: 1, 2, 4, 6, */ {12, 0, 2, 12, 2, 6, 12, 6, 7, 12, 7, 8,
1354 12, 8, 4, 12, 4, 5, 12, 5, 9, 12, 9, 0},
1355 /* 166: 1, 2, 5, 7, */ {0, 2, 12, 4, 0, 12, 5, 4, 12, 10, 5, 12,
1356 6, 10, 12, 7, 6, 12, 11, 7, 12, 2, 11, 12},
1357 /* 58: 1, 3, 4, 5, */ {5, 7, 12, 1, 5, 12, 0, 1, 12, 8, 0, 12,
1358 3, 8, 12, 2, 3, 12, 11, 2, 12, 7, 11, 12},
1359 /* 154: 1, 3, 4, 7, */ {12, 4, 6, 12, 6, 2, 12, 2, 3, 12, 3, 8,
1360 12, 8, 0, 12, 0, 1, 12, 1, 9, 12, 9, 4},
1361 /* 106: 1, 3, 5, 6, */ {12, 6, 4, 12, 4, 0, 12, 0, 1, 12, 1, 10,
1362 12, 10, 2, 12, 2, 3, 12, 3, 11, 12, 11, 6},
1363 /* 202: 1, 3, 6, 7, */ {7, 5, 12, 3, 7, 12, 2, 3, 12, 10, 2, 12,
1364 1, 10, 12, 0, 1, 12, 9, 0, 12, 5, 9, 12},
1365 /* 210: 1, 4, 6, 7, */ {12, 10, 11, 12, 11, 8, 12, 8, 0, 12, 0, 1,
1366 12, 1, 9, 12, 9, 4, 12, 4, 5, 12, 5, 10},
1367 /* 92: 2, 3, 4, 6, */ {1, 3, 12, 5, 1, 12, 6, 5, 12, 11, 6, 12,
1368 7, 11, 12, 4, 7, 12, 8, 4, 12, 3, 8, 12},
1369 /* 172: 2, 3, 5, 7, */ {12, 1, 3, 12, 3, 7, 12, 7, 4, 12, 4, 9,
1370 12, 9, 5, 12, 5, 6, 12, 6, 10, 12, 10, 1},
1371 /* 180: 2, 4, 5, 7, */ {12, 11, 8, 12, 8, 9, 12, 9, 1, 12, 1, 2,
1372 12, 2, 10, 12, 10, 5, 12, 5, 6, 12, 6, 11},
1373 /* 120: 3, 4, 5, 6, */ {12, 8, 9, 12, 9, 10, 12, 10, 2, 12, 2, 3,
1374 12, 3, 11, 12, 11, 6, 12, 6, 7, 12, 7, 8}};
1375//_____________________________________________________________________________
1381//-----------------------------------------------------------------------------
1382static const MInt tiling12_2_Ls[24][24] = {
1383 /* 135: 0, 1, 2, 7, */ {12, 2, 11, 12, 11, 7, 12, 7, 6, 12, 6, 10,
1384 12, 10, 9, 12, 9, 8, 12, 8, 3, 12, 3, 2},
1385 /* 75: 0, 1, 3, 6, */ {12, 1, 10, 12, 10, 6, 12, 6, 5, 12, 5, 9,
1386 12, 9, 8, 12, 8, 11, 12, 11, 2, 12, 2, 1},
1387 /* 83: 0, 1, 4, 6, */ {12, 4, 5, 12, 5, 10, 12, 10, 6, 12, 6, 7,
1388 12, 7, 3, 12, 3, 1, 12, 1, 9, 12, 9, 4},
1389 /* 163: 0, 1, 5, 7, */ {7, 6, 12, 8, 7, 12, 4, 8, 12, 5, 4, 12,
1390 1, 5, 12, 3, 1, 12, 11, 3, 12, 6, 11, 12},
1391 /* 45: 0, 2, 3, 5, */ {12, 0, 9, 12, 9, 5, 12, 5, 4, 12, 4, 8,
1392 12, 8, 11, 12, 11, 10, 12, 10, 1, 12, 1, 0},
1393 /* 53: 0, 2, 4, 5, */ {1, 2, 12, 9, 1, 12, 0, 9, 12, 3, 0, 12,
1394 7, 3, 12, 5, 7, 12, 10, 5, 12, 2, 10, 12},
1395 /* 149: 0, 2, 4, 7, */ {12, 1, 2, 12, 2, 11, 12, 11, 3, 12, 3, 0,
1396 12, 0, 4, 12, 4, 6, 12, 6, 10, 12, 10, 1},
1397 /* 101: 0, 2, 5, 6, */ {12, 3, 0, 12, 0, 9, 12, 9, 1, 12, 1, 2,
1398 12, 2, 6, 12, 6, 4, 12, 4, 8, 12, 8, 3},
1399 /* 197: 0, 2, 6, 7, */ {3, 0, 12, 11, 3, 12, 2, 11, 12, 1, 2, 12,
1400 5, 1, 12, 7, 5, 12, 8, 7, 12, 0, 8, 12},
1401 /* 89: 0, 3, 4, 6, */ {6, 5, 12, 11, 6, 12, 7, 11, 12, 4, 7, 12,
1402 0, 4, 12, 2, 0, 12, 10, 2, 12, 5, 10, 12},
1403 /* 169: 0, 3, 5, 7, */ {12, 7, 4, 12, 4, 9, 12, 9, 5, 12, 5, 6,
1404 12, 6, 2, 12, 2, 0, 12, 0, 8, 12, 8, 7},
1405 /* 225: 0, 5, 6, 7, */ {8, 7, 12, 0, 8, 12, 3, 0, 12, 11, 3, 12,
1406 10, 11, 12, 9, 10, 12, 4, 9, 12, 7, 4, 12},
1407 /* 30: 1, 2, 3, 4, */ {12, 7, 8, 12, 8, 0, 12, 0, 3, 12, 3, 11,
1408 12, 11, 10, 12, 10, 9, 12, 9, 4, 12, 4, 7},
1409 /* 86: 1, 2, 4, 6, */ {4, 7, 12, 9, 4, 12, 5, 9, 12, 6, 5, 12,
1410 2, 6, 12, 0, 2, 12, 8, 0, 12, 7, 8, 12},
1411 /* 166: 1, 2, 5, 7, */ {12, 5, 6, 12, 6, 11, 12, 11, 7, 12, 7, 4,
1412 12, 4, 0, 12, 0, 2, 12, 2, 10, 12, 10, 5},
1413 /* 58: 1, 3, 4, 5, */ {12, 0, 3, 12, 3, 11, 12, 11, 2, 12, 2, 1,
1414 12, 1, 5, 12, 5, 7, 12, 7, 8, 12, 8, 0},
1415 /* 154: 1, 3, 4, 7, */ {0, 3, 12, 9, 0, 12, 1, 9, 12, 2, 1, 12,
1416 6, 2, 12, 4, 6, 12, 8, 4, 12, 3, 8, 12},
1417 /* 106: 1, 3, 5, 6, */ {2, 1, 12, 11, 2, 12, 3, 11, 12, 0, 3, 12,
1418 4, 0, 12, 6, 4, 12, 10, 6, 12, 1, 10, 12},
1419 /* 202: 1, 3, 6, 7, */ {12, 2, 1, 12, 1, 9, 12, 9, 0, 12, 0, 3,
1420 12, 3, 7, 12, 7, 5, 12, 5, 10, 12, 10, 2},
1421 /* 210: 1, 4, 6, 7, */ {9, 0, 12, 5, 9, 12, 4, 5, 12, 8, 4, 12,
1422 11, 8, 12, 10, 11, 12, 1, 10, 12, 0, 1, 12},
1423 /* 92: 2, 3, 4, 6, */ {12, 6, 7, 12, 7, 8, 12, 8, 4, 12, 4, 5,
1424 12, 5, 1, 12, 1, 3, 12, 3, 11, 12, 11, 6},
1425 /* 172: 2, 3, 5, 7, */ {5, 4, 12, 10, 5, 12, 6, 10, 12, 7, 6, 12,
1426 3, 7, 12, 1, 3, 12, 9, 1, 12, 4, 9, 12},
1427 /* 180: 2, 4, 5, 7, */ {10, 1, 12, 6, 10, 12, 5, 6, 12, 9, 5, 12,
1428 8, 9, 12, 11, 8, 12, 2, 11, 12, 1, 2, 12},
1429 /* 120: 3, 4, 5, 6, */ {11, 2, 12, 7, 11, 12, 6, 7, 12, 10, 6, 12,
1430 9, 10, 12, 8, 9, 12, 3, 8, 12, 2, 3, 12}};
1431//_____________________________________________________________________________
1437//-----------------------------------------------------------------------------
1438static const MInt tiling14Ls[12][12] = {
1439 /* 71: 0, 1, 2, 6, */ {5, 9, 8, 5, 8, 2, 5, 2, 6, 3, 2, 8},
1440 /* 43: 0, 1, 3, 5, */ {2, 1, 5, 2, 5, 8, 2, 8, 11, 4, 8, 5},
1441 /* 147: 0, 1, 4, 7, */ {9, 4, 6, 9, 6, 3, 9, 3, 1, 11, 3, 6},
1442 /* 29: 0, 2, 3, 4, */ {1, 11, 10, 1, 4, 11, 1, 0, 4, 7, 11, 4},
1443 /* 201: 0, 3, 6, 7, */ {8, 2, 0, 8, 5, 2, 8, 7, 5, 10, 2, 5},
1444 /* 113: 0, 4, 5, 6, */ {0, 7, 3, 0, 10, 7, 0, 9, 10, 6, 7, 10},
1445 /* 142: 1, 2, 3, 7, */ {0, 3, 7, 0, 7, 10, 0, 10, 9, 6, 10, 7},
1446 /* 54: 1, 2, 4, 5, */ {8, 0, 2, 8, 2, 5, 8, 5, 7, 10, 5, 2},
1447 /* 226: 1, 5, 6, 7, */ {1, 10, 11, 1, 11, 4, 1, 4, 0, 7, 4, 11},
1448 /* 108: 2, 3, 5, 6, */ {9, 6, 4, 9, 3, 6, 9, 1, 3, 11, 6, 3},
1449 /* 212: 2, 4, 6, 7, */ {2, 5, 1, 2, 8, 5, 2, 11, 8, 4, 5, 8},
1450 /* 184: 3, 4, 5, 7, */ {5, 8, 9, 5, 2, 8, 5, 6, 2, 3, 8, 2}};
1451//_____________________________________________________________________________
1457//-----------------------------------------------------------------------------
1458/* 13.1 */
1459static const MInt tiling13_1Ls[2][12] = {
1460 /* 165: 0, 2, 5, 7, */ {11, 7, 6, 1, 2, 10, 8, 3, 0, 9, 5, 4},
1461 /* 90: 1, 3, 4, 6, */ {8, 4, 7, 2, 3, 11, 9, 0, 1, 10, 6, 5}};
1462
1463//_____________________________________________________________________________
1469//-----------------------------------------------------------------------------
1470/* 13.1 */
1471static const MInt tiling13_1_Ls[2][12] = {
1472 /* 165: 0, 2, 5, 7, */ {7, 4, 8, 11, 3, 2, 1, 0, 9, 5, 6, 10},
1473 /* 90: 1, 3, 4, 6, */ {6, 7, 11, 10, 2, 1, 0, 3, 8, 4, 5, 9}};
1474//_____________________________________________________________________________
1480//-----------------------------------------------------------------------------
1481/* 13.2 */
1482static const MInt tiling13_2Ls[2][6][18] = {
1483 /* 165: 0, 2, 5, 7, */ {/* 1 */ {1, 2, 10, 11, 7, 6, 3, 4, 8, 4, 3, 5, 0, 5, 3, 5, 0, 9},
1484 /* 2 */ {8, 3, 0, 11, 7, 6, 9, 1, 4, 2, 4, 1, 4, 2, 5, 10, 5, 2},
1485 /* 3 */ {9, 5, 4, 8, 3, 0, 1, 6, 10, 6, 1, 7, 2, 7, 1, 7, 2, 11},
1486 /* 4 */ {9, 5, 4, 1, 2, 10, 11, 3, 6, 0, 6, 3, 6, 0, 7, 8, 7, 0},
1487 /* 5 */ {9, 5, 4, 11, 7, 6, 0, 10, 1, 10, 0, 8, 10, 8, 2, 3, 2, 8},
1488 /* 6 */ {1, 2, 10, 3, 0, 8, 4, 9, 7, 11, 7, 9, 5, 11, 9, 11, 5, 6}},
1489 /* 90: 1, 3, 4, 6, */ {/* 1 */ {2, 3, 11, 8, 4, 7, 0, 5, 9, 5, 0, 6, 1, 6, 0, 6, 1, 10},
1490 /* 2 */ {9, 0, 1, 8, 4, 7, 10, 2, 5, 3, 5, 2, 5, 3, 6, 11, 6, 3},
1491 /* 3 */ {6, 5, 10, 9, 0, 1, 2, 7, 11, 7, 2, 4, 3, 4, 2, 4, 3, 8},
1492 /* 4 */ {6, 5, 10, 2, 3, 11, 8, 0, 7, 1, 7, 0, 7, 1, 4, 9, 4, 1},
1493 /* 5 */ {6, 5, 10, 8, 4, 7, 1, 11, 2, 11, 1, 9, 11, 9, 3, 0, 3, 9},
1494 /* 6 */ {2, 3, 11, 0, 1, 9, 5, 10, 4, 8, 4, 10, 6, 8, 10, 8, 6, 7}}};
1495//_____________________________________________________________________________
1501//-----------------------------------------------------------------------------
1502/* 13.2 */
1503static const MInt tiling13_2_Ls[2][6][18] = {
1504 /* 165: 0, 2, 5, 7, */ {/* 1 */ {10, 5, 6, 11, 3, 2, 7, 0, 8, 0, 7, 1, 4, 1, 7, 1, 4, 9},
1505 /* 2 */ {11, 3, 2, 7, 4, 8, 9, 5, 0, 6, 0, 5, 0, 6, 1, 10, 1, 6},
1506 /* 3 */ {1, 0, 9, 7, 4, 8, 5, 2, 10, 2, 5, 3, 6, 3, 5, 3, 6, 11},
1507 /* 4 */ {10, 5, 6, 1, 0, 9, 11, 7, 2, 4, 2, 7, 2, 4, 3, 8, 3, 4},
1508 /* 5 */ {10, 5, 6, 7, 4, 8, 2, 11, 1, 9, 1, 11, 3, 9, 11, 9, 3, 0},
1509 /* 6 */ {11, 3, 2, 9, 1, 0, 4, 10, 5, 10, 4, 8, 10, 8, 6, 7, 6, 8}},
1510 /* 90: 1, 3, 4, 6, */ {/* 1 */ {6, 7, 11, 8, 0, 3, 4, 1, 9, 1, 4, 2, 5, 2, 4, 2, 5, 10},
1511 /* 2 */ {8, 0, 3, 4, 5, 9, 10, 6, 1, 7, 1, 6, 1, 7, 2, 11, 2, 7},
1512 /* 3 */ {2, 1, 10, 4, 5, 9, 6, 3, 11, 3, 6, 0, 7, 0, 6, 0, 7, 8},
1513 /* 4 */ {6, 7, 11, 2, 1, 10, 8, 4, 3, 5, 3, 4, 3, 5, 0, 9, 0, 5},
1514 /* 5 */ {6, 7, 11, 4, 5, 9, 3, 8, 2, 10, 2, 8, 0, 10, 8, 10, 0, 1},
1515 /* 6 */ {8, 0, 3, 10, 2, 1, 5, 11, 6, 11, 5, 9, 11, 9, 7, 4, 7, 9}}};
1516//_____________________________________________________________________________
1522//-----------------------------------------------------------------------------
1523/* 13.3 */
1524static const MInt tiling13_3Ls[2][12][30] = {
1525 /* 165: 0, 2, 5, 7, */
1526 {/* 1,2 */ {11, 7, 6, 12, 2, 10, 12, 10, 5, 12, 5, 4, 12, 4, 8, 12, 8, 3, 12, 3, 0, 12, 0, 9, 12, 9, 1, 12, 1, 2},
1527 /* 1,4 */ {1, 2, 10, 9, 5, 12, 0, 9, 12, 3, 0, 12, 11, 3, 12, 6, 11, 12, 7, 6, 12, 8, 7, 12, 4, 8, 12, 5, 4, 12},
1528 /* 1,5 */ {11, 7, 6, 12, 5, 4, 12, 4, 8, 12, 8, 3, 12, 3, 2, 12, 2, 10, 12, 10, 1, 12, 1, 0, 12, 0, 9, 12, 9, 5},
1529 /* 1,6 */ {1, 2, 10, 12, 3, 0, 12, 0, 9, 12, 9, 5, 12, 5, 6, 12, 6, 11, 12, 11, 7, 12, 7, 4, 12, 4, 8, 12, 8, 3},
1530 /* 2,3 */ {8, 3, 0, 11, 7, 12, 2, 11, 12, 1, 2, 12, 9, 1, 12, 4, 9, 12, 5, 4, 12, 10, 5, 12, 6, 10, 12, 7, 6, 12},
1531 /* 2,5 */ {11, 7, 6, 5, 4, 12, 10, 5, 12, 2, 10, 12, 3, 2, 12, 8, 3, 12, 0, 8, 12, 1, 0, 12, 9, 1, 12, 4, 9, 12},
1532 /* 2,6 */ {8, 3, 0, 1, 2, 12, 9, 1, 12, 4, 9, 12, 7, 4, 12, 11, 7, 12, 6, 11, 12, 5, 6, 12, 10, 5, 12, 2, 10, 12},
1533 /* 3,4 */ {9, 5, 4, 12, 0, 8, 12, 8, 7, 12, 7, 6, 12, 6, 10, 12, 10, 1, 12, 1, 2, 12, 2, 11, 12, 11, 3, 12, 3, 0},
1534 /* 3,5 */ {9, 5, 4, 12, 7, 6, 12, 6, 10, 12, 10, 1, 12, 1, 0, 12, 0, 8, 12, 8, 3, 12, 3, 2, 12, 2, 11, 12, 11, 7},
1535 /* 3,6 */ {8, 3, 0, 12, 1, 2, 12, 2, 11, 12, 11, 7, 12, 7, 4, 12, 4, 9, 12, 9, 5, 12, 5, 6, 12, 6, 10, 12, 10, 1},
1536 /* 4,5 */ {9, 5, 4, 7, 6, 12, 8, 7, 12, 0, 8, 12, 1, 0, 12, 10, 1, 12, 2, 10, 12, 3, 2, 12, 11, 3, 12, 6, 11, 12},
1537 /* 4,6 */ {1, 2, 10, 3, 0, 12, 11, 3, 12, 6, 11, 12, 5, 6, 12, 9, 5, 12, 4, 9, 12, 7, 4, 12, 8, 7, 12, 0, 8, 12}},
1538 /* 90: 1, 3, 4, 6, */
1539 {/* 1,2 */ {8, 4, 7, 12, 3, 11, 12, 11, 6, 12, 6, 5, 12, 5, 9, 12, 9, 0, 12, 0, 1, 12, 1, 10, 12, 10, 2, 12, 2, 3},
1540 /* 1,4 */ {2, 3, 11, 10, 6, 12, 1, 10, 12, 0, 1, 12, 8, 0, 12, 7, 8, 12, 4, 7, 12, 9, 4, 12, 5, 9, 12, 6, 5, 12},
1541 /* 1,5 */ {8, 4, 7, 12, 6, 5, 12, 5, 9, 12, 9, 0, 12, 0, 3, 12, 3, 11, 12, 11, 2, 12, 2, 1, 12, 1, 10, 12, 10, 6},
1542 /* 1,6 */ {2, 3, 11, 12, 0, 1, 12, 1, 10, 12, 10, 6, 12, 6, 7, 12, 7, 8, 12, 8, 4, 12, 4, 5, 12, 5, 9, 12, 9, 0},
1543 /* 2,3 */ {0, 1, 9, 8, 4, 12, 3, 8, 12, 2, 3, 12, 10, 2, 12, 5, 10, 12, 6, 5, 12, 11, 6, 12, 7, 11, 12, 4, 7, 12},
1544 /* 2,5 */ {8, 4, 7, 6, 5, 12, 11, 6, 12, 3, 11, 12, 0, 3, 12, 9, 0, 12, 1, 9, 12, 2, 1, 12, 10, 2, 12, 5, 10, 12},
1545 /* 2,6 */ {9, 0, 1, 2, 3, 12, 10, 2, 12, 5, 10, 12, 4, 5, 12, 8, 4, 12, 7, 8, 12, 6, 7, 12, 11, 6, 12, 3, 11, 12},
1546 /* 3,4 */ {6, 5, 10, 12, 1, 9, 12, 9, 4, 12, 4, 7, 12, 7, 11, 12, 11, 2, 12, 2, 3, 12, 3, 8, 12, 8, 0, 12, 0, 1},
1547 /* 3,5 */ {6, 5, 10, 12, 4, 7, 12, 7, 11, 12, 11, 2, 12, 2, 1, 12, 1, 9, 12, 9, 0, 12, 0, 3, 12, 3, 8, 12, 8, 4},
1548 /* 3,6 */ {9, 0, 1, 12, 2, 3, 12, 3, 8, 12, 8, 4, 12, 4, 5, 12, 5, 10, 12, 10, 6, 12, 6, 7, 12, 7, 11, 12, 11, 2},
1549 /* 4,5 */ {6, 5, 10, 4, 7, 12, 9, 4, 12, 1, 9, 12, 2, 1, 12, 11, 2, 12, 3, 11, 12, 0, 3, 12, 8, 0, 12, 7, 8, 12},
1550 /* 4,6 */ {2, 3, 11, 0, 1, 12, 8, 0, 12, 7, 8, 12, 6, 7, 12, 10, 6, 12, 5, 10, 12, 4, 5, 12, 9, 4, 12, 1, 9, 12}}};
1551//_____________________________________________________________________________
1557//-----------------------------------------------------------------------------
1558/* 13.3 */
1559static const MInt tiling13_3_Ls[2][12][30] = {
1560 /* 165: 0, 2, 5, 7, */
1561 {/* 1,2 */ {3, 2, 11, 8, 7, 12, 0, 8, 12, 1, 0, 12, 10, 1, 12, 6, 10, 12, 5, 6, 12, 9, 5, 12, 4, 9, 12, 7, 4, 12},
1562 /* 1,4 */ {5, 6, 10, 12, 2, 11, 12, 11, 7, 12, 7, 4, 12, 4, 9, 12, 9, 1, 12, 1, 0, 12, 0, 8, 12, 8, 3, 12, 3, 2},
1563 /* 1,5 */ {10, 5, 6, 12, 7, 4, 12, 4, 9, 12, 9, 1, 12, 1, 2, 12, 2, 11, 12, 11, 3, 12, 3, 0, 12, 0, 8, 12, 8, 7},
1564 /* 1,6 */ {11, 3, 2, 12, 1, 0, 12, 0, 8, 12, 8, 7, 12, 7, 6, 12, 6, 10, 12, 10, 5, 12, 5, 4, 12, 4, 9, 12, 9, 1},
1565 /* 2,3 */ {7, 4, 8, 11, 3, 12, 6, 11, 12, 5, 6, 12, 9, 5, 12, 0, 9, 12, 1, 0, 12, 10, 1, 12, 2, 10, 12, 3, 2, 12},
1566 /* 2,5 */ {7, 4, 8, 5, 6, 12, 9, 5, 12, 0, 9, 12, 3, 0, 12, 11, 3, 12, 2, 11, 12, 1, 2, 12, 10, 1, 12, 6, 10, 12},
1567 /* 2,6 */ {11, 3, 2, 1, 0, 12, 10, 1, 12, 6, 10, 12, 7, 6, 12, 8, 7, 12, 4, 8, 12, 5, 4, 12, 9, 5, 12, 0, 9, 12},
1568 /* 3,4 */ {1, 0, 9, 12, 4, 8, 12, 8, 3, 12, 3, 2, 12, 2, 10, 12, 10, 5, 12, 5, 6, 12, 6, 11, 12, 11, 7, 12, 7, 4},
1569 /* 3,5 */ {7, 4, 8, 12, 5, 6, 12, 6, 11, 12, 11, 3, 12, 3, 0, 12, 0, 9, 12, 9, 1, 12, 1, 2, 12, 2, 10, 12, 10, 5},
1570 /* 3,6 */ {1, 0, 9, 12, 3, 2, 12, 2, 10, 12, 10, 5, 12, 5, 4, 12, 4, 8, 12, 8, 7, 12, 7, 6, 12, 6, 11, 12, 11, 3},
1571 /* 4,5 */ {10, 5, 6, 7, 4, 12, 11, 7, 12, 2, 11, 12, 1, 2, 12, 9, 1, 12, 0, 9, 12, 3, 0, 12, 8, 3, 12, 4, 8, 12},
1572 /* 4,6 */ {9, 1, 0, 3, 2, 12, 8, 3, 12, 4, 8, 12, 5, 4, 12, 10, 5, 12, 6, 10, 12, 7, 6, 12, 11, 7, 12, 2, 11, 12}},
1573 /* 90: 1, 3, 4, 6, */
1574 {/* 1,2 */ {0, 3, 8, 9, 4, 12, 1, 9, 12, 2, 1, 12, 11, 2, 12, 7, 11, 12, 6, 7, 12, 10, 6, 12, 5, 10, 12, 4, 5, 12},
1575 /* 1,4 */ {11, 6, 7, 12, 3, 8, 12, 8, 4, 12, 4, 5, 12, 5, 10, 12, 10, 2, 12, 2, 1, 12, 1, 9, 12, 9, 0, 12, 0, 3},
1576 /* 1,5 */ {6, 7, 11, 12, 4, 5, 12, 5, 10, 12, 10, 2, 12, 2, 3, 12, 3, 8, 12, 8, 0, 12, 0, 1, 12, 1, 9, 12, 9, 4},
1577 /* 1,6 */ {8, 0, 3, 12, 2, 1, 12, 1, 9, 12, 9, 4, 12, 4, 7, 12, 7, 11, 12, 11, 6, 12, 6, 5, 12, 5, 10, 12, 10, 2},
1578 /* 2,3 */ {4, 5, 9, 8, 0, 12, 7, 8, 12, 6, 7, 12, 10, 6, 12, 1, 10, 12, 2, 1, 12, 11, 2, 12, 3, 11, 12, 0, 3, 12},
1579 /* 2,5 */ {4, 5, 9, 6, 7, 12, 10, 6, 12, 1, 10, 12, 0, 1, 12, 8, 0, 12, 3, 8, 12, 2, 3, 12, 11, 2, 12, 7, 11, 12},
1580 /* 2,6 */ {8, 0, 3, 2, 1, 12, 11, 2, 12, 7, 11, 12, 4, 7, 12, 9, 4, 12, 5, 9, 12, 6, 5, 12, 10, 6, 12, 1, 10, 12},
1581 /* 3,4 */ {2, 1, 10, 12, 5, 9, 12, 9, 0, 12, 0, 3, 12, 3, 11, 12, 11, 6, 12, 6, 7, 12, 7, 8, 12, 8, 4, 12, 4, 5},
1582 /* 3,5 */ {4, 5, 9, 12, 6, 7, 12, 7, 8, 12, 8, 0, 12, 0, 1, 12, 1, 10, 12, 10, 2, 12, 2, 3, 12, 3, 11, 12, 11, 6},
1583 /* 3,6 */ {2, 1, 10, 12, 0, 3, 12, 3, 11, 12, 11, 6, 12, 6, 5, 12, 5, 9, 12, 9, 4, 12, 4, 7, 12, 7, 8, 12, 8, 0},
1584 /* 4,5 */ {6, 7, 11, 4, 5, 12, 8, 4, 12, 3, 8, 12, 2, 3, 12, 10, 2, 12, 1, 10, 12, 0, 1, 12, 9, 0, 12, 5, 9, 12},
1585 /* 4,6 */ {10, 2, 1, 0, 3, 12, 9, 0, 12, 5, 9, 12, 6, 5, 12, 11, 6, 12, 7, 11, 12, 4, 7, 12, 8, 4, 12, 3, 8, 12}}};
1586//_____________________________________________________________________________
1592//-----------------------------------------------------------------------------
1593/* 13.4 */
1594static const MInt tiling13_4Ls[2][4][36] = {
1595 /* 165: 0, 2, 5, 7, */ {/* 1,2,6 */ {12, 2, 10, 12, 10, 5, 12, 5, 6, 12, 6, 11, 12, 11, 7, 12, 7, 4,
1596 12, 4, 8, 12, 8, 3, 12, 3, 0, 12, 0, 9, 12, 9, 1, 12, 1, 2},
1597 /* 1,4,5 */ {11, 3, 12, 6, 11, 12, 7, 6, 12, 8, 7, 12, 4, 8, 12, 5, 4, 12,
1598 9, 5, 12, 0, 9, 12, 1, 0, 12, 10, 1, 12, 2, 10, 12, 3, 2, 12},
1599 /* 2,3,5 */ {9, 1, 12, 4, 9, 12, 5, 4, 12, 10, 5, 12, 6, 10, 12, 7, 6, 12,
1600 11, 7, 12, 2, 11, 12, 3, 2, 12, 8, 3, 12, 0, 8, 12, 1, 0, 12},
1601 /* 3,4,6 */ {12, 0, 8, 12, 8, 7, 12, 7, 4, 12, 4, 9, 12, 9, 5, 12, 5, 6,
1602 12, 6, 10, 12, 10, 1, 12, 1, 2, 12, 2, 11, 12, 11, 3, 12, 3, 0}},
1603 /* 90: 1, 3, 4, 6, */ {/* 1,2,6 */ {12, 3, 11, 12, 11, 6, 12, 6, 7, 12, 7, 8, 12, 8, 4, 12, 4, 5,
1604 12, 5, 9, 12, 9, 0, 12, 0, 1, 12, 1, 10, 12, 10, 2, 12, 2, 3},
1605 /* 1,4,5 */ {8, 0, 12, 7, 8, 12, 4, 7, 12, 9, 4, 12, 5, 9, 12, 6, 5, 12,
1606 10, 6, 12, 1, 10, 12, 2, 1, 12, 11, 2, 12, 3, 11, 12, 0, 3, 12},
1607 /* 2,3,5 */ {10, 2, 12, 5, 10, 12, 6, 5, 12, 11, 6, 12, 7, 11, 12, 4, 7, 12,
1608 8, 4, 12, 3, 8, 12, 0, 3, 12, 9, 0, 12, 1, 9, 12, 2, 1, 12},
1609 /* 3,4,6 */ {12, 1, 9, 12, 9, 4, 12, 4, 5, 12, 5, 10, 12, 10, 6, 12, 6, 7,
1610 12, 7, 11, 12, 11, 2, 12, 2, 3, 12, 3, 8, 12, 8, 0, 12, 0, 1}}};
1611//_____________________________________________________________________________
1618//-----------------------------------------------------------------------------
1619/* 13.5.1 */
1620static const MInt tiling13_5_1Ls[2][4][18] = {
1621 /* 165: 0, 2, 5, 7, */ {/* 1,2,5 */ {7, 6, 11, 1, 0, 9, 10, 3, 2, 3, 10, 5, 3, 5, 8, 4, 8, 5},
1622 /* 1,4,6 */ {1, 2, 10, 7, 4, 8, 3, 0, 11, 6, 11, 0, 9, 6, 0, 6, 9, 5},
1623 /* 2,3,6 */ {3, 0, 8, 5, 6, 10, 1, 2, 9, 4, 9, 2, 11, 4, 2, 4, 11, 7},
1624 /* 3,4,5 */ {5, 4, 9, 3, 2, 11, 8, 1, 0, 1, 8, 7, 1, 7, 10, 6, 10, 7}},
1625 /* 90: 1, 3, 4, 6, */ {/* 1,2,5 */ {4, 7, 8, 2, 1, 10, 11, 0, 3, 0, 11, 6, 0, 6, 9, 5, 9, 6},
1626 /* 1,4,6 */ {2, 3, 11, 4, 5, 9, 0, 1, 8, 7, 8, 1, 10, 7, 1, 7, 10, 6},
1627 /* 2,3,6 */ {0, 1, 9, 6, 7, 11, 2, 3, 10, 5, 10, 3, 8, 5, 3, 5, 8, 4},
1628 /* 3,4,5 */ {6, 5, 10, 0, 3, 8, 9, 2, 1, 2, 9, 4, 2, 4, 11, 7, 11, 4}}};
1629
1636//-----------------------------------------------------------------------------
1637/* 13: face test */
1638static const MInt noTriangles_simpleCases[15] = {
1639 /* 0: */ 0,
1640 /* 1: */ 1,
1641 /* 2: */ 2,
1642 /* 3: */ -1,
1643 /* 4: */ 2,
1644 /* 5: */ 3,
1645 /* 6: */ -1,
1646 /* 7: */ -1,
1647 /* 8: */ 2,
1648 /* 9: */ 4,
1649 /* 10: */ -1,
1650 /* 11: */ 4,
1651 /* 12: */ -1,
1652 /* 13: */ -1,
1653 /* 14: */ 4};
1654//_____________________________________________________________________________
1660//-----------------------------------------------------------------------------
1661/* 13: sub configs */
1662static const MInt subconfig13[64] = {
1663 /* 0: 0,0,0,0,0,0 */ 0,
1664 /* 1: 1,0,0,0,0,0 */ 1,
1665 /* 2: 0,1,0,0,0,0 */ 2,
1666 /* 3: 1,1,0,0,0,0 */ 7,
1667 /* 4: 0,0,1,0,0,0 */ 3,
1668 /* 5: 1,0,1,0,0,0 */ -1,
1669 /* 6: 0,1,1,0,0,0 */ 11,
1670 /* 7: 1,1,1,0,0,0 */ -1,
1671 /* 8: 0,0,0,1,0,0 */ 4,
1672 /* 9: 1,0,0,1,0,0 */ 8,
1673 /* 10: 0,1,0,1,0,0 */ -1,
1674 /* 11: 1,1,0,1,0,0 */ -1,
1675 /* 12: 0,0,1,1,0,0 */ 14,
1676 /* 13: 1,0,1,1,0,0 */ -1,
1677 /* 14: 0,1,1,1,0,0 */ -1,
1678 /* 15: 1,1,1,1,0,0 */ -1,
1679 /* 16: 0,0,0,0,1,0 */ 5,
1680 /* 17: 1,0,0,0,1,0 */ 9,
1681 /* 18: 0,1,0,0,1,0 */ 12,
1682 /* 19: 1,1,0,0,1,0 */ 23,
1683 /* 20: 0,0,1,0,1,0 */ 15,
1684 /* 21: 1,0,1,0,1,0 */ -1,
1685 /* 22: 0,1,1,0,1,0 */ 21,
1686 /* 23: 1,1,1,0,1,0 */ 38,
1687 /* 24: 0,0,0,1,1,0 */ 17,
1688 /* 25: 1,0,0,1,1,0 */ 20,
1689 /* 26: 0,1,0,1,1,0 */ -1,
1690 /* 27: 1,1,0,1,1,0 */ 36,
1691 /* 28: 0,0,1,1,1,0 */ 26,
1692 /* 29: 1,0,1,1,1,0 */ 33,
1693 /* 30: 0,1,1,1,1,0 */ 30,
1694 /* 31: 1,1,1,1,1,0 */ 44,
1695 /* 32: 0,0,0,0,0,1 */ 6,
1696 /* 33: 1,0,0,0,0,1 */ 10,
1697 /* 34: 0,1,0,0,0,1 */ 13,
1698 /* 35: 1,1,0,0,0,1 */ 19,
1699 /* 36: 0,0,1,0,0,1 */ 16,
1700 /* 37: 1,0,1,0,0,1 */ -1,
1701 /* 38: 0,1,1,0,0,1 */ 25,
1702 /* 39: 1,1,1,0,0,1 */ 37,
1703 /* 40: 0,0,0,1,0,1 */ 18,
1704 /* 41: 1,0,0,1,0,1 */ 24,
1705 /* 42: 0,1,0,1,0,1 */ -1,
1706 /* 43: 1,1,0,1,0,1 */ 35,
1707 /* 44: 0,0,1,1,0,1 */ 22,
1708 /* 45: 1,0,1,1,0,1 */ 32,
1709 /* 46: 0,1,1,1,0,1 */ 29,
1710 /* 47: 1,1,1,1,0,1 */ 43,
1711 /* 48: 0,0,0,0,1,1 */ -1,
1712 /* 49: 1,0,0,0,1,1 */ -1,
1713 /* 50: 0,1,0,0,1,1 */ -1,
1714 /* 51: 1,1,0,0,1,1 */ 34,
1715 /* 52: 0,0,1,0,1,1 */ -1,
1716 /* 53: 1,0,1,0,1,1 */ -1,
1717 /* 54: 0,1,1,0,1,1 */ 28,
1718 /* 55: 1,1,1,0,1,1 */ 42,
1719 /* 56: 0,0,0,1,1,1 */ -1,
1720 /* 57: 1,0,0,1,1,1 */ 31,
1721 /* 58: 0,1,0,1,1,1 */ -1,
1722 /* 59: 1,1,0,1,1,1 */ 41,
1723 /* 60: 0,0,1,1,1,1 */ 27,
1724 /* 61: 1,0,1,1,1,1 */ 40,
1725 /* 62: 0,1,1,1,1,1 */ 39,
1726 /* 63: 1,1,1,1,1,1 */ 45,
1727};
1728//_____________________________________________________________________________
1729
1730//------------------------------------------------------------------------------------------
1731//-------------------------- STL 3D SECTION -----------------------------------------------
1732//------------------------------------------------------------------------------------------
1733
1734//_____________________________________________________________________________
1743//-----------------------------------------------------------------------------
1744static const MInt tiling1STL[16][7] = {
1745 /* 1: 0, */ {0, 0, 3, 8, 0, 3, 4},
1746 /* 2: 1, */ {1, 1, 0, 9, 1, 0, 4},
1747 /* 4: 2, */ {2, 2, 1, 10, 2, 1, 4},
1748 /* 8: 3, */ {3, 3, 2, 11, 3, 2, 4},
1749 /* 16: 4, */ {4, 7, 4, 8, 3, 0, 5},
1750 /* 32: 5, */ {5, 4, 5, 9, 0, 1, 5},
1751 /* 64: 6, */ {6, 5, 6, 10, 1, 2, 5},
1752 /* 128: 7, */ {7, 6, 7, 11, 2, 3, 5},
1753 /* 127: 0, 1, 2, 3, 4, 5, 6, */ {7, 6, 7, 11, 2, 3, 5},
1754 /* 191: 0, 1, 2, 3, 4, 5, 7, */ {6, 5, 6, 10, 1, 2, 5},
1755 /* 223: 0, 1, 2, 3, 4, 6, 7, */ {5, 4, 5, 9, 0, 1, 5},
1756 /* 239: 0, 1, 2, 3, 5, 6, 7, */ {4, 7, 4, 8, 3, 0, 5},
1757 /* 247: 0, 1, 2, 4, 5, 6, 7, */ {3, 3, 2, 11, 3, 2, 4},
1758 /* 251: 0, 1, 3, 4, 5, 6, 7, */ {2, 2, 1, 10, 2, 1, 4},
1759 /* 253: 0, 2, 3, 4, 5, 6, 7, */ {1, 1, 0, 9, 1, 0, 4},
1760 /* 254: 1, 2, 3, 4, 5, 6, 7, */ {0, 0, 3, 8, 0, 3, 4},
1761};
1762
1763//_____________________________________________________________________________
1769//-----------------------------------------------------------------------------
1770static const MInt tiling2STL[24][10] = {
1771 /* 3: 0, 1, */ {0, 1, 8, 3, 9, 1, 0, 3, 1, 4},
1772 /* 9: 0, 3, */ {3, 0, 11, 2, 8, 0, 3, 2, 0, 4},
1773 /* 17: 0, 4, */ {4, 0, 4, 7, 0, 3, 0, 5, 4, 3},
1774 /* 6: 1, 2, */ {1, 2, 9, 0, 10, 2, 1, 0, 2, 4},
1775 /* 34: 1, 5, */ {5, 1, 5, 4, 1, 0, 1, 5, 4, 0},
1776 /* 12: 2, 3, */ {2, 3, 10, 1, 11, 3, 2, 1, 3, 4},
1777 /* 68: 2, 6, */ {6, 2, 6, 5, 2, 1, 2, 5, 4, 1},
1778 /* 136: 3, 7, */ {7, 3, 7, 6, 3, 2, 3, 5, 4, 2},
1779 /* 48: 4, 5, */ {4, 5, 7, 8, 5, 9, 5, 3, 1, 0},
1780 /* 144: 4, 7, */ {7, 4, 6, 11, 4, 8, 5, 2, 0, 3},
1781 /* 96: 5, 6, */ {5, 6, 4, 9, 6, 10, 5, 0, 2, 1},
1782 /* 192: 6, 7, */ {6, 7, 5, 10, 7, 11, 5, 1, 3, 2},
1783 /* 63: 0, 1, 2, 3, 4, 5, */ {6, 7, 5, 10, 7, 11, 5, 1, 3, 2},
1784 /* 159: 0, 1, 2, 3, 4, 7, */ {5, 6, 4, 9, 6, 10, 5, 0, 2, 1},
1785 /* 111: 0, 1, 2, 3, 5, 6, */ {7, 4, 6, 11, 4, 8, 5, 2, 0, 3},
1786 /* 207: 0, 1, 2, 3, 6, 7, */ {4, 5, 7, 8, 5, 9, 5, 3, 1, 0},
1787 /* 119: 0, 1, 2, 4, 5, 6, */ {7, 3, 7, 6, 3, 2, 3, 5, 4, 2},
1788 /* 187: 0, 1, 3, 4, 5, 7, */ {6, 2, 6, 5, 2, 1, 2, 5, 4, 1},
1789 /* 243: 0, 1, 4, 5, 6, 7, */ {2, 3, 10, 1, 11, 3, 2, 1, 3, 4},
1790 /* 221: 0, 2, 3, 4, 6, 7, */ {5, 1, 5, 4, 1, 0, 1, 5, 4, 0},
1791 /* 249: 0, 3, 4, 5, 6, 7, */ {1, 2, 9, 0, 10, 2, 1, 0, 2, 4},
1792 /* 238: 1, 2, 3, 5, 6, 7, */ {4, 0, 4, 7, 0, 3, 0, 5, 4, 3},
1793 /* 246: 1, 2, 4, 5, 6, 7, */ {3, 0, 11, 2, 8, 0, 3, 2, 0, 4},
1794 /* 252: 2, 3, 4, 5, 6, 7, */ {0, 1, 8, 3, 9, 1, 0, 3, 1, 4}};
1795
1801//-----------------------------------------------------------------------------
1802static const MInt tiling3_1STL[24][3] = {
1803 /* 5: 0, 2, */ {0, 2, 4},
1804 /* 33: 0, 5, */ {0, 5, 0},
1805 /* 129: 0, 7, */ {0, 7, 3},
1806 /* 10: 1, 3, */ {1, 3, 4},
1807 /* 18: 1, 4, */ {1, 4, 0},
1808 /* 66: 1, 6, */ {1, 6, 1},
1809 /* 36: 2, 5, */ {2, 5, 1},
1810 /* 132: 2, 7, */ {2, 7, 2},
1811 /* 24: 3, 4, */ {3, 4, 3},
1812 /* 72: 3, 6, */ {3, 6, 2},
1813 /* 80: 4, 6, */ {4, 6, 5},
1814 /* 160: 5, 7, */ {5, 7, 5},
1815 /* 95: 0, 1, 2, 3, 4, 6, */ {5, 7, 5},
1816 /* 175: 0, 1, 2, 3, 5, 7, */ {4, 6, 5},
1817 /* 183: 0, 1, 2, 4, 5, 7, */ {3, 6, 2},
1818 /* 231: 0, 1, 2, 5, 6, 7, */ {3, 4, 3},
1819 /* 123: 0, 1, 3, 4, 5, 6, */ {2, 7, 2},
1820 /* 219: 0, 1, 3, 4, 6, 7, */ {2, 5, 1},
1821 /* 189: 0, 2, 3, 4, 5, 7, */ {1, 6, 1},
1822 /* 237: 0, 2, 3, 5, 6, 7, */ {1, 4, 0},
1823 /* 245: 0, 2, 4, 5, 6, 7, */ {1, 3, 4},
1824 /* 126: 1, 2, 3, 4, 5, 6, */ {0, 7, 3},
1825 /* 222: 1, 2, 3, 4, 6, 7, */ {0, 5, 0},
1826 /* 250: 1, 3, 4, 5, 6, 7, */ {0, 2, 4}};
1827
1828
1829//_____________________________________________________________________________
1835//-----------------------------------------------------------------------------
1836static const MInt tiling3_2STL[24][15] = {
1837 /* 5: 0, 2, */ {0, 2, 3, 8, 0, 1, 10, 2, 3, 0, 2, 1, 4, 1, 3},
1838 /* 33: 0, 5, */ {0, 5, 0, 3, 8, 4, 5, 9, 4, 3, 1, 5, 0, 4, 1},
1839 /* 129: 0, 7, */ {0, 7, 8, 0, 3, 11, 6, 7, 0, 4, 5, 2, 3, 3, 4},
1840 /* 10: 1, 3, */ {1, 3, 0, 9, 1, 2, 11, 3, 0, 1, 3, 2, 4, 2, 0},
1841 /* 18: 1, 4, */ {1, 4, 9, 1, 0, 8, 7, 4, 1, 4, 5, 3, 0, 0, 5},
1842 /* 66: 1, 6, */ {1, 6, 1, 0, 9, 5, 6, 10, 4, 0, 2, 5, 1, 5, 2},
1843 /* 36: 2, 5, */ {2, 5, 10, 2, 1, 9, 4, 5, 2, 4, 5, 0, 1, 1, 6},
1844 /* 132: 2, 7, */ {2, 7, 2, 1, 10, 6, 7, 11, 4, 1, 3, 5, 2, 6, 3},
1845 /* 24: 3, 4, */ {3, 4, 3, 2, 11, 7, 4, 8, 4, 2, 0, 5, 3, 7, 0},
1846 /* 72: 3, 6, */ {3, 6, 11, 3, 2, 10, 5, 6, 3, 4, 5, 1, 2, 2, 7},
1847 /* 80: 4, 6, */ {4, 6, 4, 8, 7, 6, 10, 5, 0, 3, 1, 2, 5, 7, 5},
1848 /* 160: 5, 7, */ {5, 7, 5, 9, 4, 7, 11, 6, 1, 0, 2, 3, 5, 4, 6},
1849 /* 95: 0, 1, 2, 3, 4, 6, */ {5, 7, 5, 9, 4, 7, 11, 6, 1, 0, 2, 3, 5, 4, 6},
1850 /* 175: 0, 1, 2, 3, 5, 7, */ {4, 6, 4, 8, 7, 6, 10, 5, 0, 3, 1, 2, 5, 7, 5},
1851 /* 183: 0, 1, 2, 4, 5, 7, */ {3, 6, 11, 3, 2, 10, 5, 6, 3, 4, 5, 1, 2, 2, 7},
1852 /* 231: 0, 1, 2, 5, 6, 7, */ {3, 4, 3, 2, 11, 7, 4, 8, 4, 2, 0, 5, 3, 7, 0},
1853 /* 123: 0, 1, 3, 4, 5, 6, */ {2, 7, 2, 1, 10, 6, 7, 11, 4, 1, 3, 5, 2, 6, 3},
1854 /* 219: 0, 1, 3, 4, 6, 7, */ {2, 5, 10, 2, 1, 9, 4, 5, 2, 4, 5, 0, 1, 1, 6},
1855 /* 189: 0, 2, 3, 4, 5, 7, */ {1, 6, 1, 0, 9, 5, 6, 10, 4, 0, 2, 5, 1, 5, 2},
1856 /* 237: 0, 2, 3, 5, 6, 7, */ {1, 4, 9, 1, 0, 8, 7, 4, 1, 4, 5, 3, 0, 0, 5},
1857 /* 245: 0, 2, 4, 5, 6, 7, */ {1, 3, 0, 9, 1, 2, 11, 3, 0, 1, 3, 2, 4, 2, 0},
1858 /* 126: 1, 2, 3, 4, 5, 6, */ {0, 7, 8, 0, 3, 11, 6, 7, 0, 4, 5, 2, 3, 3, 4},
1859 /* 222: 1, 2, 3, 4, 6, 7, */ {0, 5, 0, 3, 8, 4, 5, 9, 4, 3, 1, 5, 0, 4, 1},
1860 /* 250: 1, 3, 4, 5, 6, 7, */ {0, 2, 3, 8, 0, 1, 10, 2, 3, 0, 2, 1, 4, 1, 3}};
1861
1862//_____________________________________________________________________________
1868//-----------------------------------------------------------------------------
1869static const MInt tiling4_1STL[8][2] = {
1870 /* 65: 0, 6, */ {0, 6},
1871 /* 130: 1, 7, */ {1, 7},
1872 /* 20: 2, 4, */ {2, 4},
1873 /* 40: 3, 5, */ {3, 5},
1874 /* 215: 0, 1, 2, 4, 6, 7, */ {3, 5},
1875 /* 235: 0, 1, 3, 5, 6, 7, */ {2, 4},
1876 /* 125: 0, 2, 3, 4, 5, 6, */ {1, 7},
1877 /* 190: 1, 2, 3, 4, 5, 7, */ {0, 6}};
1878
1879//_____________________________________________________________________________
1885//-----------------------------------------------------------------------------
1886static const MInt tiling5STL[48][13] = {
1887 /* 7: 0, 1, 2, */ {0, 1, 2, 8, 3, 9, 10, 2, 4, 3, 0, 1, 2},
1888 /* 11: 0, 1, 3, */ {3, 0, 1, 11, 2, 8, 9, 1, 4, 2, 3, 0, 1},
1889 /* 19: 0, 1, 4, */ {1, 0, 4, 1, 9, 3, 7, 4, 0, 1, 4, 3, 5},
1890 /* 35: 0, 1, 5, */ {5, 1, 0, 5, 4, 1, 3, 8, 0, 5, 1, 4, 3},
1891 /* 13: 0, 2, 3, */ {2, 3, 0, 10, 1, 11, 8, 0, 4, 1, 2, 3, 0},
1892 /* 25: 0, 3, 4, */ {4, 0, 3, 4, 7, 0, 2, 11, 3, 5, 0, 4, 2},
1893 /* 137: 0, 3, 7, */ {0, 3, 7, 0, 8, 2, 6, 7, 3, 0, 4, 2, 5},
1894 /* 49: 0, 4, 5, */ {0, 4, 5, 3, 0, 7, 5, 9, 0, 4, 3, 5, 1},
1895 /* 145: 0, 4, 7, */ {7, 4, 0, 6, 11, 4, 0, 3, 3, 2, 5, 0, 4},
1896 /* 14: 1, 2, 3, */ {1, 2, 3, 9, 0, 10, 11, 3, 4, 0, 1, 2, 3},
1897 /* 38: 1, 2, 5, */ {2, 1, 5, 2, 10, 0, 4, 5, 1, 2, 4, 0, 5},
1898 /* 70: 1, 2, 6, */ {6, 2, 1, 6, 5, 2, 0, 9, 1, 5, 2, 4, 0},
1899 /* 50: 1, 4, 5, */ {4, 5, 1, 7, 8, 5, 1, 0, 0, 3, 5, 1, 4},
1900 /* 98: 1, 5, 6, */ {1, 5, 6, 0, 1, 4, 6, 10, 1, 4, 0, 5, 2},
1901 /* 76: 2, 3, 6, */ {3, 2, 6, 3, 11, 1, 5, 6, 2, 3, 4, 1, 5},
1902 /* 140: 2, 3, 7, */ {7, 3, 2, 7, 6, 3, 1, 10, 2, 5, 3, 4, 1},
1903 /* 100: 2, 5, 6, */ {5, 6, 2, 4, 9, 6, 2, 1, 1, 0, 5, 2, 4},
1904 /* 196: 2, 6, 7, */ {2, 6, 7, 1, 2, 5, 7, 11, 2, 4, 1, 5, 3},
1905 /* 152: 3, 4, 7, */ {3, 7, 4, 2, 3, 6, 4, 8, 3, 4, 2, 5, 0},
1906 /* 200: 3, 6, 7, */ {6, 7, 3, 5, 10, 7, 3, 2, 2, 1, 5, 3, 4},
1907 /* 112: 4, 5, 6, */ {6, 5, 4, 10, 6, 9, 8, 7, 5, 2, 1, 0, 3},
1908 /* 176: 4, 5, 7, */ {5, 4, 7, 9, 5, 8, 11, 6, 5, 1, 0, 3, 2},
1909 /* 208: 4, 6, 7, */ {4, 7, 6, 8, 4, 11, 10, 5, 5, 0, 3, 2, 1},
1910 /* 224: 5, 6, 7, */ {7, 6, 5, 11, 7, 10, 9, 4, 5, 3, 2, 1, 0},
1911 /* 31: 0, 1, 2, 3, 4, */ {7, 6, 5, 11, 7, 10, 9, 4, 5, 3, 2, 1, 0},
1912 /* 47: 0, 1, 2, 3, 5, */ {4, 7, 6, 8, 4, 11, 10, 5, 5, 0, 3, 2, 1},
1913 /* 79: 0, 1, 2, 3, 6, */ {5, 4, 7, 9, 5, 8, 11, 6, 5, 1, 0, 3, 2},
1914 /* 143: 0, 1, 2, 3, 7, */ {6, 5, 4, 10, 6, 9, 8, 7, 5, 2, 1, 0, 3},
1915 /* 55: 0, 1, 2, 4, 5, */ {6, 7, 3, 5, 10, 7, 3, 2, 2, 1, 5, 3, 4},
1916 /* 103: 0, 1, 2, 5, 6, */ {3, 7, 4, 2, 3, 6, 4, 8, 3, 4, 2, 5, 0},
1917 /* 59: 0, 1, 3, 4, 5, */ {2, 6, 7, 1, 2, 5, 7, 11, 2, 4, 1, 5, 3},
1918 /* 155: 0, 1, 3, 4, 7, */ {5, 6, 2, 4, 9, 6, 2, 1, 1, 0, 5, 2, 4},
1919 /* 115: 0, 1, 4, 5, 6, */ {7, 3, 2, 7, 6, 3, 1, 10, 2, 5, 3, 4, 1},
1920 /* 179: 0, 1, 4, 5, 7, */ {3, 2, 6, 3, 11, 1, 5, 6, 2, 3, 4, 1, 5},
1921 /* 157: 0, 2, 3, 4, 7, */ {1, 5, 6, 0, 1, 4, 6, 10, 1, 4, 0, 5, 2},
1922 /* 205: 0, 2, 3, 6, 7, */ {4, 5, 1, 7, 8, 5, 1, 0, 0, 3, 5, 1, 4},
1923 /* 185: 0, 3, 4, 5, 7, */ {6, 2, 1, 6, 5, 2, 0, 9, 1, 5, 2, 4, 0},
1924 /* 217: 0, 3, 4, 6, 7, */ {2, 1, 5, 2, 10, 0, 4, 5, 1, 2, 4, 0, 5},
1925 /* 241: 0, 4, 5, 6, 7, */ {1, 2, 3, 9, 0, 10, 11, 3, 4, 0, 1, 2, 3},
1926 /* 110: 1, 2, 3, 5, 6, */ {7, 4, 0, 6, 11, 4, 0, 3, 3, 2, 5, 0, 4},
1927 /* 206: 1, 2, 3, 6, 7, */ {0, 4, 5, 3, 0, 7, 5, 9, 0, 4, 3, 5, 1},
1928 /* 118: 1, 2, 4, 5, 6, */ {0, 3, 7, 0, 8, 2, 6, 7, 3, 0, 4, 2, 5},
1929 /* 230: 1, 2, 5, 6, 7, */ {4, 0, 3, 4, 7, 0, 2, 11, 3, 5, 0, 4, 2},
1930 /* 242: 1, 4, 5, 6, 7, */ {2, 3, 0, 10, 1, 11, 8, 0, 4, 1, 2, 3, 0},
1931 /* 220: 2, 3, 4, 6, 7, */ {5, 1, 0, 5, 4, 1, 3, 8, 0, 5, 1, 4, 3},
1932 /* 236: 2, 3, 5, 6, 7, */ {1, 0, 4, 1, 9, 3, 7, 4, 0, 1, 4, 3, 5},
1933 /* 244: 2, 4, 5, 6, 7, */ {3, 0, 1, 11, 2, 8, 9, 1, 4, 2, 3, 0, 1},
1934 /* 248: 3, 4, 5, 6, 7, */ {0, 1, 2, 8, 3, 9, 10, 2, 4, 3, 0, 1, 2}};
1935
1936//_____________________________________________________________________________
1937
1943//-----------------------------------------------------------------------------
1944static const MInt tiling6_1STL[48][3] = {
1945 /* 67: 0, 1, 6, */ {0, 6, 1},
1946 /* 131: 0, 1, 7, */ {0, 7, 3},
1947 /* 21: 0, 2, 4, */ {2, 2, 4},
1948 /* 69: 0, 2, 6, */ {6, 0, 4},
1949 /* 41: 0, 3, 5, */ {1, 5, 0},
1950 /* 73: 0, 3, 6, */ {1, 6, 2},
1951 /* 81: 0, 4, 6, */ {2, 6, 5},
1952 /* 97: 0, 5, 6, */ {10, 0, 0},
1953 /* 193: 0, 6, 7, */ {11, 0, 3},
1954 /* 22: 1, 2, 4, */ {3, 4, 0},
1955 /* 134: 1, 2, 7, */ {3, 7, 2},
1956 /* 42: 1, 3, 5, */ {4, 3, 4},
1957 /* 138: 1, 3, 7, */ {7, 1, 4},
1958 /* 146: 1, 4, 7, */ {9, 1, 0},
1959 /* 162: 1, 5, 7, */ {4, 7, 5},
1960 /* 194: 1, 6, 7, */ {11, 1, 1},
1961 /* 28: 2, 3, 4, */ {5, 4, 3},
1962 /* 44: 2, 3, 5, */ {5, 5, 1},
1963 /* 52: 2, 4, 5, */ {8, 2, 1},
1964 /* 84: 2, 4, 6, */ {6, 4, 5},
1965 /* 148: 2, 4, 7, */ {9, 2, 2},
1966 /* 56: 3, 4, 5, */ {8, 3, 3},
1967 /* 104: 3, 5, 6, */ {10, 3, 2},
1968 /* 168: 3, 5, 7, */ {7, 5, 5},
1969 /* 87: 0, 1, 2, 4, 6, */ {7, 5, 5},
1970 /* 151: 0, 1, 2, 4, 7, */ {10, 3, 2},
1971 /* 199: 0, 1, 2, 6, 7, */ {8, 3, 3},
1972 /* 107: 0, 1, 3, 5, 6, */ {9, 2, 2},
1973 /* 171: 0, 1, 3, 5, 7, */ {6, 4, 5},
1974 /* 203: 0, 1, 3, 6, 7, */ {8, 2, 1},
1975 /* 211: 0, 1, 4, 6, 7, */ {5, 5, 1},
1976 /* 227: 0, 1, 5, 6, 7, */ {5, 4, 3},
1977 /* 61: 0, 2, 3, 4, 5, */ {11, 1, 1},
1978 /* 93: 0, 2, 3, 4, 6, */ {4, 7, 5},
1979 /* 109: 0, 2, 3, 5, 6, */ {9, 1, 0},
1980 /* 117: 0, 2, 4, 5, 6, */ {7, 1, 4},
1981 /* 213: 0, 2, 4, 6, 7, */ {4, 3, 4},
1982 /* 121: 0, 3, 4, 5, 6, */ {3, 7, 2},
1983 /* 233: 0, 3, 5, 6, 7, */ {3, 4, 0},
1984 /* 62: 1, 2, 3, 4, 5, */ {11, 0, 3},
1985 /* 158: 1, 2, 3, 4, 7, */ {10, 0, 0},
1986 /* 174: 1, 2, 3, 5, 7, */ {2, 6, 5},
1987 /* 182: 1, 2, 4, 5, 7, */ {1, 6, 2},
1988 /* 214: 1, 2, 4, 6, 7, */ {1, 5, 0},
1989 /* 186: 1, 3, 4, 5, 7, */ {6, 0, 4},
1990 /* 234: 1, 3, 5, 6, 7, */ {2, 2, 4},
1991 /* 124: 2, 3, 4, 5, 6, */ {0, 7, 3},
1992 /* 188: 2, 3, 4, 5, 7, */ {0, 6, 1}};
1993
1994//_____________________________________________________________________________
1995
2001//-----------------------------------------------------------------------------
2002static const MInt tiling6_2STL[48][18] = {
2003 /* 67: 0, 1, 6, */ {0, 1, 6, 2, 5, 3, 8, 1, 9, 10, 5, 6, 1, 4, 0, 5, 2, 3},
2004 /* 131: 0, 1, 7, */ {1, 0, 7, 4, 3, 9, 1, 8, 3, 7, 11, 6, 3, 0, 4, 2, 5, 1},
2005 /* 21: 0, 2, 4, */ {4, 0, 2, 3, 1, 7, 4, 3, 0, 2, 1, 10, 4, 3, 0, 1, 2, 5},
2006 /* 69: 0, 2, 6, */ {6, 2, 0, 1, 3, 5, 6, 1, 2, 0, 3, 8, 4, 1, 2, 3, 0, 5},
2007 /* 41: 0, 3, 5, */ {3, 0, 5, 1, 4, 2, 11, 0, 8, 9, 4, 5, 0, 4, 3, 5, 1, 2},
2008 /* 73: 0, 3, 6, */ {0, 3, 6, 7, 2, 8, 0, 11, 2, 6, 10, 5, 2, 3, 4, 1, 5, 0},
2009 /* 81: 0, 4, 6, */ {0, 4, 6, 5, 7, 0, 3, 4, 7, 5, 6, 10, 5, 0, 3, 2, 1, 4},
2010 /* 97: 0, 5, 6, */ {6, 5, 0, 4, 1, 6, 10, 4, 9, 8, 0, 3, 0, 5, 1, 4, 3, 2},
2011 /* 193: 0, 6, 7, */ {6, 7, 0, 3, 4, 10, 5, 11, 7, 3, 8, 0, 3, 2, 5, 0, 4, 1},
2012 /* 22: 1, 2, 4, */ {2, 1, 4, 5, 0, 10, 2, 9, 0, 4, 8, 7, 0, 1, 4, 3, 5, 2},
2013 /* 134: 1, 2, 7, */ {1, 2, 7, 3, 6, 0, 9, 2, 10, 11, 6, 7, 2, 4, 1, 5, 3, 0},
2014 /* 42: 1, 3, 5, */ {5, 1, 3, 0, 2, 4, 5, 0, 1, 3, 2, 11, 4, 0, 1, 2, 3, 5},
2015 /* 138: 1, 3, 7, */ {7, 3, 1, 2, 0, 6, 7, 2, 3, 5, 0, 9, 4, 2, 3, 0, 1, 5},
2016 /* 146: 1, 4, 7, */ {7, 4, 1, 0, 5, 11, 6, 8, 4, 0, 9, 1, 0, 3, 5, 1, 4, 2},
2017 /* 162: 1, 5, 7, */ {1, 5, 7, 6, 4, 1, 0, 5, 4, 6, 7, 11, 5, 1, 0, 3, 2, 4},
2018 /* 194: 1, 6, 7, */ {7, 6, 1, 5, 2, 7, 11, 5, 10, 9, 1, 0, 1, 5, 5, 4, 0, 3},
2019 /* 28: 2, 3, 4, */ {2, 3, 4, 0, 7, 1, 10, 3, 11, 8, 7, 4, 3, 4, 2, 5, 0, 1},
2020 /* 44: 2, 3, 5, */ {3, 2, 5, 6, 1, 11, 3, 10, 1, 5, 9, 4, 1, 2, 4, 0, 5, 3},
2021 /* 52: 2, 4, 5, */ {4, 5, 2, 1, 6, 8, 7, 9, 5, 1, 10, 2, 1, 0, 5, 2, 4, 3},
2022 /* 84: 2, 4, 6, */ {2, 6, 4, 7, 5, 2, 1, 6, 5, 7, 4, 8, 5, 2, 1, 0, 3, 4},
2023 /* 148: 2, 4, 7, */ {4, 7, 2, 6, 3, 4, 8, 6, 11, 10, 2, 1, 2, 5, 3, 4, 1, 0},
2024 /* 56: 3, 4, 5, */ {5, 4, 3, 7, 0, 5, 9, 7, 8, 11, 3, 2, 3, 5, 0, 4, 2, 1},
2025 /* 104: 3, 5, 6, */ {5, 6, 3, 2, 7, 9, 4, 10, 6, 2, 11, 3, 2, 1, 5, 3, 4, 0},
2026 /* 168: 3, 5, 7, */ {3, 7, 5, 4, 6, 3, 2, 7, 6, 4, 5, 9, 5, 3, 2, 1, 0, 4},
2027 /* 87: 0, 1, 2, 4, 6, */ {3, 7, 5, 4, 6, 3, 2, 7, 6, 4, 5, 9, 5, 3, 2, 1, 0, 4},
2028 /* 151: 0, 1, 2, 4, 7, */ {5, 6, 3, 2, 7, 9, 4, 10, 6, 2, 11, 3, 2, 1, 5, 3, 4, 0},
2029 /* 199: 0, 1, 2, 6, 7, */ {5, 4, 3, 7, 0, 5, 9, 7, 8, 11, 3, 2, 3, 5, 0, 4, 2, 1},
2030 /* 107: 0, 1, 3, 5, 6, */ {4, 7, 2, 6, 3, 4, 8, 6, 11, 10, 2, 1, 2, 5, 3, 4, 1, 0},
2031 /* 171: 0, 1, 3, 5, 7, */ {2, 6, 4, 7, 5, 2, 1, 6, 5, 7, 4, 8, 5, 2, 1, 0, 3, 4},
2032 /* 203: 0, 1, 3, 6, 7, */ {4, 5, 2, 1, 6, 8, 7, 9, 5, 1, 10, 2, 1, 0, 5, 2, 4, 3},
2033 /* 211: 0, 1, 4, 6, 7, */ {3, 2, 5, 6, 1, 11, 3, 10, 1, 5, 9, 4, 1, 2, 4, 0, 5, 3},
2034 /* 227: 0, 1, 5, 6, 7, */ {2, 3, 4, 0, 7, 1, 10, 3, 11, 8, 7, 4, 3, 4, 2, 5, 0, 1},
2035 /* 61: 0, 2, 3, 4, 5, */ {7, 6, 1, 5, 2, 7, 11, 5, 10, 9, 1, 0, 1, 5, 5, 4, 0, 3},
2036 /* 93: 0, 2, 3, 4, 6, */ {1, 5, 7, 6, 4, 1, 0, 5, 4, 6, 7, 11, 5, 1, 0, 3, 2, 4},
2037 /* 109: 0, 2, 3, 5, 6, */ {7, 4, 1, 0, 5, 11, 6, 8, 4, 0, 9, 1, 0, 3, 5, 1, 4, 2},
2038 /* 117: 0, 2, 4, 5, 6, */ {7, 3, 1, 2, 0, 6, 7, 2, 3, 5, 0, 9, 4, 2, 3, 0, 1, 5},
2039 /* 213: 0, 2, 4, 6, 7, */ {5, 1, 3, 0, 2, 4, 5, 0, 1, 3, 2, 11, 4, 0, 1, 2, 3, 5},
2040 /* 121: 0, 3, 4, 5, 6, */ {1, 2, 7, 3, 6, 0, 9, 2, 10, 11, 6, 7, 2, 4, 1, 5, 3, 0},
2041 /* 233: 0, 3, 5, 6, 7, */ {2, 1, 4, 5, 0, 10, 2, 9, 0, 4, 8, 7, 0, 1, 4, 3, 5, 2},
2042 /* 62: 1, 2, 3, 4, 5, */ {6, 7, 0, 3, 4, 10, 5, 11, 7, 3, 8, 0, 3, 2, 5, 0, 4, 1},
2043 /* 158: 1, 2, 3, 4, 7, */ {6, 5, 0, 4, 1, 6, 10, 4, 9, 8, 0, 3, 0, 5, 1, 4, 3, 2},
2044 /* 174: 1, 2, 3, 5, 7, */ {0, 4, 6, 5, 7, 0, 3, 4, 7, 5, 6, 10, 5, 0, 3, 2, 1, 4},
2045 /* 182: 1, 2, 4, 5, 7, */ {0, 3, 6, 7, 2, 8, 0, 11, 2, 6, 10, 5, 2, 3, 4, 1, 5, 0},
2046 /* 214: 1, 2, 4, 6, 7, */ {3, 0, 5, 1, 4, 2, 11, 0, 8, 9, 4, 5, 0, 4, 3, 5, 1, 2},
2047 /* 186: 1, 3, 4, 5, 7, */ {6, 2, 0, 1, 3, 5, 6, 1, 2, 0, 3, 8, 4, 1, 2, 3, 0, 5},
2048 /* 234: 1, 3, 5, 6, 7, */ {4, 0, 2, 3, 1, 7, 4, 3, 0, 2, 1, 10, 4, 3, 0, 1, 2, 5},
2049 /* 124: 2, 3, 4, 5, 6, */ {1, 0, 7, 4, 3, 9, 1, 8, 3, 7, 11, 6, 3, 0, 4, 2, 5, 1},
2050 /* 188: 2, 3, 4, 5, 7, */ {0, 1, 6, 2, 5, 3, 8, 1, 9, 10, 5, 6, 1, 4, 0, 5, 2, 3}};
2051
2052//_____________________________________________________________________________
2058//-----------------------------------------------------------------------------
2059static const MInt tiling7_1STL[16][6] = {
2060 /* 37: 0, 2, 5, */ {0, 2, 5, 1, 0, 4},
2061 /* 133: 0, 2, 7, */ {2, 0, 7, 3, 2, 4},
2062 /* 161: 0, 5, 7, */ {0, 5, 7, 5, 3, 0},
2063 /* 26: 1, 3, 4, */ {1, 4, 3, 3, 4, 0},
2064 /* 74: 1, 3, 6, */ {1, 3, 6, 2, 1, 4},
2065 /* 82: 1, 4, 6, */ {1, 6, 4, 5, 0, 1},
2066 /* 164: 2, 5, 7, */ {2, 7, 5, 5, 1, 2},
2067 /* 88: 3, 4, 6, */ {3, 4, 6, 5, 2, 3},
2068 /* 167: 0, 1, 2, 5, 7, */ {3, 4, 6, 5, 2, 3},
2069 /* 91: 0, 1, 3, 4, 6, */ {2, 7, 5, 5, 1, 2},
2070 /* 173: 0, 2, 3, 5, 7, */ {1, 6, 4, 5, 0, 1},
2071 /* 181: 0, 2, 4, 5, 7, */ {1, 3, 6, 2, 1, 4},
2072 /* 229: 0, 2, 5, 6, 7, */ {1, 4, 3, 3, 4, 0},
2073 /* 94: 1, 2, 3, 4, 6, */ {0, 5, 7, 5, 3, 0},
2074 /* 122: 1, 3, 4, 5, 6, */ {2, 0, 7, 3, 2, 4},
2075 /* 218: 1, 3, 4, 6, 7, */ {0, 2, 5, 1, 0, 4}};
2076
2077//_____________________________________________________________________________
2083//-----------------------------------------------------------------------------
2084static const MInt tiling7_2_3STL[16][2] = {
2085 /* 37: 0, 2, 5, */ {0, 6},
2086 /* 133: 0, 2, 7, */ {2, 2},
2087 /* 161: 0, 5, 7, */ {0, 11},
2088 /* 26: 1, 3, 4, */ {1, 8},
2089 /* 74: 1, 3, 6, */ {1, 9},
2090 /* 82: 1, 4, 6, */ {1, 10},
2091 /* 164: 2, 5, 7, */ {2, 11},
2092 /* 88: 3, 4, 6, */ {3, 10},
2093 /* 167: 0, 1, 2, 5, 7, */ {3, 10},
2094 /* 91: 0, 1, 3, 4, 6, */ {2, 11},
2095 /* 173: 0, 2, 3, 5, 7, */ {1, 10},
2096 /* 181: 0, 2, 4, 5, 7, */ {1, 9},
2097 /* 229: 0, 2, 5, 6, 7, */ {1, 8},
2098 /* 94: 1, 2, 3, 4, 6, */ {0, 11},
2099 /* 122: 1, 3, 4, 5, 6, */ {2, 2},
2100 /* 218: 1, 3, 4, 6, 7, */ {0, 6}};
2101
2102
2103//_____________________________________________________________________________
2109//-----------------------------------------------------------------------------
2110static const MInt tiling7_2_5STL[16][2] = {
2111 /* 37: 0, 2, 5, */ {2, 1},
2112 /* 133: 0, 2, 7, */ {0, 7},
2113 /* 161: 0, 5, 7, */ {5, 2},
2114 /* 26: 1, 3, 4, */ {4, 3},
2115 /* 74: 1, 3, 6, */ {3, 5},
2116 /* 82: 1, 4, 6, */ {6, 4},
2117 /* 164: 2, 5, 7, */ {7, 6},
2118 /* 88: 3, 4, 6, */ {4, 9},
2119 /* 167: 0, 1, 2, 5, 7, */ {4, 9},
2120 /* 91: 0, 1, 3, 4, 6, */ {7, 6},
2121 /* 173: 0, 2, 3, 5, 7, */ {6, 4},
2122 /* 181: 0, 2, 4, 5, 7, */ {3, 5},
2123 /* 229: 0, 2, 5, 6, 7, */ {4, 3},
2124 /* 94: 1, 2, 3, 4, 6, */ {5, 2},
2125 /* 122: 1, 3, 4, 5, 6, */ {0, 7},
2126 /* 218: 1, 3, 4, 6, 7, */ {2, 1}};
2127
2128//_____________________________________________________________________________
2134//-----------------------------------------------------------------------------
2135static const MInt tiling7_2_6STL[16][2] = {
2136 /* 37: 0, 2, 5, */ {5, 0},
2137 /* 133: 0, 2, 7, */ {7, 0},
2138 /* 161: 0, 5, 7, */ {7, 1},
2139 /* 26: 1, 3, 4, */ {3, 4},
2140 /* 74: 1, 3, 6, */ {6, 3},
2141 /* 82: 1, 4, 6, */ {4, 5},
2142 /* 164: 2, 5, 7, */ {5, 7},
2143 /* 88: 3, 4, 6, */ {6, 8},
2144 /* 167: 0, 1, 2, 5, 7, */ {6, 8},
2145 /* 91: 0, 1, 3, 4, 6, */ {5, 7},
2146 /* 173: 0, 2, 3, 5, 7, */ {4, 5},
2147 /* 181: 0, 2, 4, 5, 7, */ {6, 3},
2148 /* 229: 0, 2, 5, 6, 7, */ {3, 4},
2149 /* 94: 1, 2, 3, 4, 6, */ {7, 1},
2150 /* 122: 1, 3, 4, 5, 6, */ {7, 0},
2151 /* 218: 1, 3, 4, 6, 7, */ {5, 0}};
2152
2153//_____________________________________________________________________________
2159//-----------------------------------------------------------------------------
2160static const MInt tiling7_3_4STL[16][21] = {
2161 /* 37: 0, 2, 5, */ {1, 0, 2, 5, 4, 3, 3, 8, 0, 10, 2, 1, 4, 5, 9, 1, 0, 4, 3, 2, 5},
2162 /* 133: 0, 2, 7, */ {3, 2, 0, 7, 6, 1, 1, 10, 2, 8, 0, 3, 6, 7, 11, 3, 2, 4, 1, 0, 5},
2163 /* 161: 0, 5, 7, */ {4, 0, 5, 7, 3, 1, 0, 3, 8, 5, 9, 4, 11, 6, 7, 5, 3, 0, 4, 1, 2},
2164 /* 26: 1, 3, 4, */ {0, 1, 4, 3, 2, 5, 9, 1, 0, 7, 4, 8, 2, 11, 3, 3, 4, 0, 1, 5, 2},
2165 /* 74: 1, 3, 6, */ {2, 1, 3, 6, 5, 0, 0, 9, 1, 11, 3, 2, 5, 6, 10, 2, 1, 4, 0, 3, 5},
2166 /* 82: 1, 4, 6, */ {5, 1, 6, 4, 0, 2, 1, 0, 9, 6, 10, 5, 8, 7, 4, 5, 0, 1, 4, 2, 3},
2167 /* 164: 2, 5, 7, */ {6, 2, 7, 5, 1, 3, 2, 1, 10, 7, 11, 6, 9, 4, 5, 5, 1, 2, 4, 3, 0},
2168 /* 88: 3, 4, 6, */ {7, 3, 4, 6, 2, 0, 3, 2, 11, 4, 8, 7, 10, 5, 6, 5, 2, 3, 4, 0, 1},
2169 /* 167: 0, 1, 2, 5, 7, */ {7, 3, 4, 6, 2, 0, 3, 2, 11, 4, 8, 7, 10, 5, 6, 5, 2, 3, 4, 0, 1},
2170 /* 91: 0, 1, 3, 4, 6, */ {6, 2, 7, 5, 1, 3, 2, 1, 10, 7, 11, 6, 9, 4, 5, 5, 1, 2, 4, 3, 0},
2171 /* 173: 0, 2, 3, 5, 7, */ {5, 1, 6, 4, 0, 2, 1, 0, 9, 6, 10, 5, 8, 7, 4, 5, 0, 1, 4, 2, 3},
2172 /* 181: 0, 2, 4, 5, 7, */ {2, 1, 3, 6, 5, 0, 0, 9, 1, 11, 3, 2, 5, 6, 10, 2, 1, 4, 0, 3, 5},
2173 /* 229: 0, 2, 5, 6, 7, */ {0, 1, 4, 3, 2, 5, 9, 1, 0, 7, 4, 8, 2, 11, 3, 3, 4, 0, 1, 5, 2},
2174 /* 94: 1, 2, 3, 4, 6, */ {4, 0, 5, 7, 3, 1, 0, 3, 8, 5, 9, 4, 11, 6, 7, 5, 3, 0, 4, 1, 2},
2175 /* 122: 1, 3, 4, 5, 6, */ {3, 2, 0, 7, 6, 1, 1, 10, 2, 8, 0, 3, 6, 7, 11, 3, 2, 4, 1, 0, 5},
2176 /* 218: 1, 3, 4, 6, 7, */ {1, 0, 2, 5, 4, 3, 3, 8, 0, 10, 2, 1, 4, 5, 9, 1, 0, 4, 3, 2, 5}};
2177
2178//_____________________________________________________________________________
2184//-----------------------------------------------------------------------------
2185static const MInt tiling7_3_2STL[16][21] = {
2186 /* 37: 0, 2, 5, */ {1, 2, 5, 0, 3, 6, 10, 2, 1, 4, 5, 9, 3, 8, 0, 0, 4, 1, 2, 5, 3},
2187 /* 133: 0, 2, 7, */ {3, 0, 7, 2, 1, 4, 8, 0, 3, 6, 7, 11, 1, 10, 2, 2, 4, 3, 0, 5, 1},
2188 /* 161: 0, 5, 7, */ {4, 5, 7, 0, 1, 6, 5, 9, 4, 11, 6, 7, 0, 3, 8, 3, 0, 5, 1, 2, 4},
2189 /* 26: 1, 3, 4, */ {0, 4, 3, 1, 5, 7, 7, 4, 8, 2, 11, 3, 9, 1, 0, 4, 0, 3, 5, 2, 1},
2190 /* 74: 1, 3, 6, */ {2, 3, 6, 1, 0, 7, 11, 3, 2, 5, 6, 10, 0, 9, 1, 1, 4, 2, 3, 5, 0},
2191 /* 82: 1, 4, 6, */ {5, 6, 4, 1, 2, 7, 6, 10, 5, 8, 7, 4, 1, 0, 9, 0, 1, 5, 2, 3, 4},
2192 /* 164: 2, 5, 7, */ {6, 7, 5, 2, 3, 4, 7, 11, 6, 9, 4, 5, 2, 1, 10, 1, 2, 5, 3, 0, 4},
2193 /* 88: 3, 4, 6, */ {7, 4, 6, 3, 0, 5, 4, 8, 7, 10, 5, 6, 3, 2, 11, 2, 3, 5, 0, 1, 4},
2194 /* 167: 0, 1, 2, 5, 7, */ {7, 4, 6, 3, 0, 5, 4, 8, 7, 10, 5, 6, 3, 2, 11, 2, 3, 5, 0, 1, 4},
2195 /* 91: 0, 1, 3, 4, 6, */ {6, 7, 5, 2, 3, 4, 7, 11, 6, 9, 4, 5, 2, 1, 10, 1, 2, 5, 3, 0, 4},
2196 /* 173: 0, 2, 3, 5, 7, */ {5, 6, 4, 1, 2, 7, 6, 10, 5, 8, 7, 4, 1, 0, 9, 0, 1, 5, 2, 3, 4},
2197 /* 181: 0, 2, 4, 5, 7, */ {2, 3, 6, 1, 0, 7, 11, 3, 2, 5, 6, 10, 0, 9, 1, 1, 4, 2, 3, 5, 0},
2198 /* 229: 0, 2, 5, 6, 7, */ {0, 4, 3, 1, 5, 7, 7, 4, 8, 2, 11, 3, 9, 1, 0, 4, 0, 3, 5, 2, 1},
2199 /* 94: 1, 2, 3, 4, 6, */ {4, 5, 7, 0, 1, 6, 5, 9, 4, 11, 6, 7, 0, 3, 8, 3, 0, 5, 1, 2, 4},
2200 /* 122: 1, 3, 4, 5, 6, */ {3, 0, 7, 2, 1, 4, 8, 0, 3, 6, 7, 11, 1, 10, 2, 2, 4, 3, 0, 5, 1},
2201 /* 218: 1, 3, 4, 6, 7, */ {1, 2, 5, 0, 3, 6, 10, 2, 1, 4, 5, 9, 3, 8, 0, 0, 4, 1, 2, 5, 3}};
2202
2203//_____________________________________________________________________________
2209//-----------------------------------------------------------------------------
2210static const MInt tiling7_3_1STL[16][21] = {
2211 /* 37: 0, 2, 5, */ {1, 5, 0, 2, 6, 4, 4, 5, 9, 3, 8, 0, 10, 2, 1, 4, 1, 0, 5, 3, 2},
2212 /* 133: 0, 2, 7, */ {3, 7, 2, 0, 4, 6, 6, 7, 11, 1, 10, 2, 8, 0, 3, 4, 3, 2, 5, 1, 0},
2213 /* 161: 0, 5, 7, */ {4, 7, 0, 5, 6, 3, 11, 6, 7, 0, 3, 8, 5, 9, 4, 0, 5, 3, 2, 4, 1},
2214 /* 26: 1, 3, 4, */ {0, 3, 1, 4, 7, 2, 2, 11, 3, 9, 1, 0, 7, 4, 8, 0, 3, 4, 2, 1, 5},
2215 /* 74: 1, 3, 6, */ {2, 6, 1, 3, 7, 5, 5, 6, 10, 0, 9, 1, 11, 3, 2, 4, 2, 1, 5, 0, 3},
2216 /* 82: 1, 4, 6, */ {5, 4, 1, 6, 7, 0, 8, 7, 4, 1, 0, 9, 6, 10, 5, 1, 5, 0, 3, 4, 2},
2217 /* 164: 2, 5, 7, */ {6, 5, 2, 7, 4, 1, 9, 4, 5, 2, 1, 10, 7, 11, 6, 2, 5, 1, 0, 4, 3},
2218 /* 88: 3, 4, 6, */ {7, 6, 3, 4, 5, 2, 10, 5, 6, 3, 2, 11, 4, 8, 7, 3, 5, 2, 1, 4, 0},
2219 /* 167: 0, 1, 2, 5, 7, */ {7, 6, 3, 4, 5, 2, 10, 5, 6, 3, 2, 11, 4, 8, 7, 3, 5, 2, 1, 4, 0},
2220 /* 91: 0, 1, 3, 4, 6, */ {6, 5, 2, 7, 4, 1, 9, 4, 5, 2, 1, 10, 7, 11, 6, 2, 5, 1, 0, 4, 3},
2221 /* 173: 0, 2, 3, 5, 7, */ {5, 4, 1, 6, 7, 0, 8, 7, 4, 1, 0, 9, 6, 10, 5, 1, 5, 0, 3, 4, 2},
2222 /* 181: 0, 2, 4, 5, 7, */ {2, 6, 1, 3, 7, 5, 5, 6, 10, 0, 9, 1, 11, 3, 2, 4, 2, 1, 5, 0, 3},
2223 /* 229: 0, 2, 5, 6, 7, */ {0, 3, 1, 4, 7, 2, 2, 11, 3, 9, 1, 0, 7, 4, 8, 0, 3, 4, 2, 1, 5},
2224 /* 94: 1, 2, 3, 4, 6, */ {4, 7, 0, 5, 6, 3, 11, 6, 7, 0, 3, 8, 5, 9, 4, 0, 5, 3, 2, 4, 1},
2225 /* 122: 1, 3, 4, 5, 6, */ {3, 7, 2, 0, 4, 6, 6, 7, 11, 1, 10, 2, 8, 0, 3, 4, 3, 2, 5, 1, 0},
2226 /* 218: 1, 3, 4, 6, 7, */ {1, 5, 0, 2, 6, 4, 4, 5, 9, 3, 8, 0, 10, 2, 1, 4, 1, 0, 5, 3, 2}};
2227
2228//_____________________________________________________________________________
2234//-----------------------------------------------------------------------------
2235static const MInt tiling7_4_1STL[16][2] = {
2236 /* 37: 0, 2, 5, */ {1, 7},
2237 /* 133: 0, 2, 7, */ {3, 5},
2238 /* 161: 0, 5, 7, */ {4, 4},
2239 /* 26: 1, 3, 4, */ {0, 6},
2240 /* 74: 1, 3, 6, */ {2, 3},
2241 /* 82: 1, 4, 6, */ {5, 2},
2242 /* 164: 2, 5, 7, */ {6, 1},
2243 /* 88: 3, 4, 6, */ {7, 0},
2244 /* 167: 0, 1, 2, 5, 7, */ {7, 0},
2245 /* 91: 0, 1, 3, 4, 6, */ {6, 1},
2246 /* 173: 0, 2, 3, 5, 7, */ {5, 2},
2247 /* 181: 0, 2, 4, 5, 7, */ {2, 3},
2248 /* 229: 0, 2, 5, 6, 7, */ {0, 6},
2249 /* 94: 1, 2, 3, 4, 6, */ {4, 4},
2250 /* 122: 1, 3, 4, 5, 6, */ {3, 5},
2251 /* 218: 1, 3, 4, 6, 7, */ {1, 7}};
2252
2253//_____________________________________________________________________________
2259//-----------------------------------------------------------------------------
2260static const MInt tiling8STL[6][13] = {
2261 /* 15: 0, 1, 2, 3, */ {0, 1, 2, 3, 8, 9, 10, 11, 4, 0, 1, 2, 3},
2262 /* 51: 0, 1, 4, 5, */ {0, 4, 5, 1, 3, 7, 5, 1, 0, 3, 5, 1, 4},
2263 /* 153: 0, 3, 4, 7, */ {0, 3, 7, 4, 0, 2, 6, 4, 3, 4, 2, 5, 0},
2264 /* 102: 1, 2, 5, 6, */ {1, 5, 6, 2, 0, 4, 6, 2, 1, 0, 5, 2, 4},
2265 /* 204: 2, 3, 6, 7, */ {2, 6, 7, 3, 1, 5, 7, 3, 2, 1, 5, 3, 4},
2266 /* 240: 4, 5, 6, 7, */ {5, 4, 7, 6, 9, 8, 11, 10, 5, 0, 3, 2, 1}};
2267//_____________________________________________________________________________
2268
2269//_____________________________________________________________________________
2275//-----------------------------------------------------------------------------
2276static const MInt tiling9STL[8][16] = {
2277 /* 39: 0, 1, 2, 5, */ {1, 0, 5, 2, 8, 3, 5, 4, 2, 10, 1, 3, 4, 5, 0, 2},
2278 /* 27: 0, 1, 3, 4, */ {0, 3, 4, 1, 11, 2, 4, 7, 1, 9, 0, 2, 4, 5, 3, 1},
2279 /* 141: 0, 2, 3, 7, */ {3, 2, 7, 0, 10, 1, 7, 6, 0, 8, 3, 1, 4, 5, 2, 0},
2280 /* 177: 0, 4, 5, 7, */ {4, 5, 0, 7, 9, 5, 3, 0, 6, 11, 3, 1, 5, 4, 0, 2},
2281 /* 78: 1, 2, 3, 6, */ {2, 1, 6, 3, 9, 0, 6, 5, 3, 11, 2, 0, 4, 5, 1, 3},
2282 /* 114: 1, 4, 5, 6, */ {5, 6, 1, 4, 10, 6, 0, 1, 7, 8, 0, 2, 5, 4, 1, 3},
2283 /* 228: 2, 5, 6, 7, */ {6, 7, 2, 5, 11, 7, 1, 2, 4, 9, 1, 3, 5, 4, 2, 0},
2284 /* 216: 3, 4, 6, 7, */ {7, 6, 4, 3, 5, 10, 8, 4, 2, 3, 3, 1, 2, 0, 5, 4}};
2285
2286//_____________________________________________________________________________
2293//-----------------------------------------------------------------------------
2294static const MInt tiling10_2STL[6][2] = {
2295 /* 195: 0, 1, 6, 7, */ {0, 11},
2296 /* 85: 0, 2, 4, 6, */ {2, 6},
2297 /* 105: 0, 3, 5, 6, */ {1, 10},
2298 /* 150: 1, 2, 4, 7, */ {3, 9},
2299 /* 170: 1, 3, 5, 7, */ {4, 7},
2300 /* 60: 2, 3, 4, 5, */ {5, 8}};
2301
2302//_____________________________________________________________________________
2309//-----------------------------------------------------------------------------
2310static const MInt tiling10_1STL[6][4] = {
2311 /* 195: 0, 1, 6, 7, */ {5, 8, 1, 3},
2312 /* 85: 0, 2, 4, 6, */ {4, 7, 4, 5},
2313 /* 105: 0, 3, 5, 6, */ {3, 9, 0, 2},
2314 /* 150: 1, 2, 4, 7, */ {1, 10, 0, 2},
2315 /* 170: 1, 3, 5, 7, */ {2, 6, 4, 5},
2316 /* 60: 2, 3, 4, 5, */ {0, 11, 1, 3}};
2317
2318//_____________________________________________________________________________
2324//-----------------------------------------------------------------------------
2325static const MInt tiling11STL[12][16] = {
2326 /* 23: 0, 1, 2, 4, */ {2, 1, 0, 4, 2, 10, 9, 3, 4, 7, 2, 0, 3, 1, 4, 5},
2327 /* 139: 0, 1, 3, 7, */ {1, 0, 3, 7, 1, 9, 8, 2, 7, 6, 1, 3, 2, 0, 4, 5},
2328 /* 99: 0, 1, 5, 6, */ {0, 1, 5, 6, 8, 3, 1, 4, 10, 6, 3, 1, 5, 4, 0, 2},
2329 /* 77: 0, 2, 3, 6, */ {0, 3, 2, 6, 0, 8, 11, 1, 6, 5, 0, 2, 1, 3, 4, 5},
2330 /* 57: 0, 3, 4, 5, */ {5, 4, 0, 3, 9, 5, 7, 0, 11, 2, 1, 3, 4, 5, 0, 2},
2331 /* 209: 0, 4, 6, 7, */ {0, 4, 7, 6, 3, 0, 4, 11, 5, 10, 4, 5, 2, 0, 3, 1},
2332 /* 46: 1, 2, 3, 5, */ {5, 1, 2, 3, 5, 4, 0, 10, 3, 11, 5, 4, 2, 0, 1, 3},
2333 /* 198: 1, 2, 6, 7, */ {1, 2, 6, 7, 9, 0, 2, 5, 11, 7, 0, 2, 5, 4, 1, 3},
2334 /* 178: 1, 4, 5, 7, */ {1, 5, 4, 7, 0, 1, 5, 8, 6, 11, 4, 5, 3, 1, 0, 2},
2335 /* 156: 2, 3, 4, 7, */ {2, 3, 7, 4, 10, 1, 3, 6, 8, 4, 1, 3, 5, 4, 2, 0},
2336 /* 116: 2, 4, 5, 6, */ {4, 5, 6, 2, 7, 8, 9, 6, 1, 2, 3, 1, 2, 0, 5, 4},
2337 /* 232: 3, 5, 6, 7, */ {5, 6, 7, 3, 4, 9, 10, 7, 2, 3, 0, 2, 3, 1, 5, 4}};
2338
2339//_____________________________________________________________________________
2345//-----------------------------------------------------------------------------
2346static const MInt tiling12_1STL[24][4] = {
2347 /* 135: 0, 1, 2, 7, */ {20, 3, 2, 3},
2348 /* 75: 0, 1, 3, 6, */ {21, 2, 1, 2},
2349 /* 83: 0, 1, 4, 6, */ {15, 5, 1, 5},
2350 /* 163: 0, 1, 5, 7, */ {14, 4, 3, 5},
2351 /* 45: 0, 2, 3, 5, */ {22, 1, 0, 1},
2352 /* 53: 0, 2, 4, 5, */ {19, 1, 1, 4},
2353 /* 149: 0, 2, 4, 7, */ {13, 3, 2, 4},
2354 /* 101: 0, 2, 5, 6, */ {18, 1, 0, 4},
2355 /* 197: 0, 2, 6, 7, */ {12, 3, 3, 4},
2356 /* 89: 0, 3, 4, 6, */ {10, 7, 2, 5},
2357 /* 169: 0, 3, 5, 7, */ {11, 4, 0, 5},
2358 /* 225: 0, 5, 6, 7, */ {9, 4, 0, 3},
2359 /* 30: 1, 2, 3, 4, */ {23, 0, 0, 3},
2360 /* 86: 1, 2, 4, 6, */ {6, 5, 0, 5},
2361 /* 166: 1, 2, 5, 7, */ {5, 6, 2, 5},
2362 /* 58: 1, 3, 4, 5, */ {17, 0, 3, 4},
2363 /* 154: 1, 3, 4, 7, */ {16, 0, 0, 4},
2364 /* 106: 1, 3, 5, 6, */ {8, 2, 2, 4},
2365 /* 202: 1, 3, 6, 7, */ {7, 2, 1, 4},
2366 /* 210: 1, 4, 6, 7, */ {4, 5, 0, 1},
2367 /* 92: 2, 3, 4, 6, */ {3, 7, 3, 5},
2368 /* 172: 2, 3, 5, 7, */ {2, 6, 1, 5},
2369 /* 180: 2, 4, 5, 7, */ {1, 6, 1, 2},
2370 /* 120: 3, 4, 5, 6, */ {0, 7, 2, 3}};
2371
2372//_____________________________________________________________________________
2378//-----------------------------------------------------------------------------
2379static const MInt tiling14STL[12][16] = {
2380 /* 71: 0, 1, 2, 6, */ {0, 1, 2, 6, 8, 3, 9, 2, 6, 5, 3, 1, 2, 0, 4, 5},
2381 /* 43: 0, 1, 3, 5, */ {3, 0, 1, 5, 11, 2, 8, 1, 5, 4, 2, 0, 1, 3, 4, 5},
2382 /* 147: 0, 1, 4, 7, */ {1, 0, 4, 7, 1, 9, 3, 4, 6, 11, 1, 3, 5, 4, 0, 2},
2383 /* 29: 0, 2, 3, 4, */ {4, 0, 3, 2, 4, 7, 0, 11, 10, 1, 5, 4, 2, 0, 3, 1},
2384 /* 201: 0, 3, 6, 7, */ {0, 3, 7, 6, 0, 8, 2, 7, 5, 10, 0, 2, 5, 4, 3, 1},
2385 /* 113: 0, 4, 5, 6, */ {0, 4, 5, 6, 3, 0, 7, 9, 10, 6, 4, 5, 1, 3, 0, 2},
2386 /* 142: 1, 2, 3, 7, */ {1, 2, 3, 7, 9, 0, 10, 3, 7, 6, 0, 2, 3, 1, 4, 5},
2387 /* 54: 1, 2, 4, 5, */ {2, 1, 5, 4, 2, 10, 0, 5, 7, 8, 2, 0, 5, 4, 1, 3},
2388 /* 226: 1, 5, 6, 7, */ {1, 5, 6, 7, 0, 1, 4, 10, 11, 7, 4, 5, 2, 0, 1, 3},
2389 /* 108: 2, 3, 5, 6, */ {3, 2, 6, 5, 3, 11, 1, 6, 4, 9, 3, 1, 5, 4, 2, 0},
2390 /* 212: 2, 4, 6, 7, */ {2, 6, 7, 4, 1, 2, 5, 11, 8, 4, 4, 5, 3, 1, 2, 0},
2391 /* 184: 3, 4, 5, 7, */ {3, 7, 4, 5, 2, 3, 6, 8, 9, 5, 4, 5, 0, 2, 3, 1}};
2392
2393//_____________________________________________________________________________
2400//-----------------------------------------------------------------------------
2401static const MBool nfs1[16][6] = {
2402 /* 1: 0, */ {true, false, false, true, true, false},
2403 /* 2: 1, */ {true, false, true, false, true, false},
2404 /* 4: 2, */ {false, true, true, false, true, false},
2405 /* 8: 3, */ {false, true, false, true, true, false},
2406 /* 16: 4, */ {true, false, false, true, false, true},
2407 /* 32: 5, */ {true, false, true, false, false, true},
2408 /* 64: 6, */ {false, true, true, false, false, true},
2409 /* 128: 7, */ {false, true, false, true, false, true},
2410 /* 127: 0, 1, 2, 3, 4, 5, 6, */ {true, true, true, true, true, true},
2411 /* 191: 0, 1, 2, 3, 4, 5, 7, */ {true, true, true, true, true, true},
2412 /* 223: 0, 1, 2, 3, 4, 6, 7, */ {true, true, true, true, true, true},
2413 /* 239: 0, 1, 2, 3, 5, 6, 7, */ {true, true, true, true, true, true},
2414 /* 247: 0, 1, 2, 4, 5, 6, 7, */ {true, true, true, true, true, true},
2415 /* 251: 0, 1, 3, 4, 5, 6, 7, */ {true, true, true, true, true, true},
2416 /* 253: 0, 2, 3, 4, 5, 6, 7, */ {true, true, true, true, true, true},
2417 /* 254: 1, 2, 3, 4, 5, 6, 7, */ {true, true, true, true, true, true}};
2418//_____________________________________________________________________________
2419
2420//_____________________________________________________________________________
2427//-----------------------------------------------------------------------------
2428static const MBool nfs2[24][6] = {
2429 /* 3: 0, 1, */ {true, false, true, true, true, false},
2430 /* 9: 0, 3, */ {true, true, false, true, true, false},
2431 /* 17: 0, 4, */ {true, false, false, true, true, true},
2432 /* 6: 1, 2, */ {true, true, true, false, true, false},
2433 /* 34: 1, 5, */ {true, false, true, false, true, true},
2434 /* 12: 2, 3, */ {false, true, true, true, true, false},
2435 /* 68: 2, 6, */ {false, true, true, false, true, true},
2436 /* 136: 3, 7, */ {false, true, false, true, true, true},
2437 /* 48: 4, 5, */ {true, false, true, true, false, true},
2438 /* 144: 4, 7, */ {true, true, false, true, false, true},
2439 /* 96: 5, 6, */ {true, true, true, false, false, true},
2440 /* 192: 6, 7, */ {false, true, true, true, false, true},
2441 /* 63: 0, 1, 2, 3, 4, 5, */ {true, true, true, true, true, true},
2442 /* 159: 0, 1, 2, 3, 4, 7, */ {true, true, true, true, true, true},
2443 /* 111: 0, 1, 2, 3, 5, 6, */ {true, true, true, true, true, true},
2444 /* 207: 0, 1, 2, 3, 6, 7, */ {true, true, true, true, true, true},
2445 /* 119: 0, 1, 2, 4, 5, 6, */ {true, true, true, true, true, true},
2446 /* 187: 0, 1, 3, 4, 5, 7, */ {true, true, true, true, true, true},
2447 /* 243: 0, 1, 4, 5, 6, 7, */ {true, true, true, true, true, true},
2448 /* 221: 0, 2, 3, 4, 6, 7, */ {true, true, true, true, true, true},
2449 /* 249: 0, 3, 4, 5, 6, 7, */ {true, true, true, true, true, true},
2450 /* 238: 1, 2, 3, 5, 6, 7, */ {true, true, true, true, true, true},
2451 /* 246: 1, 2, 4, 5, 6, 7, */ {true, true, true, true, true, true},
2452 /* 252: 2, 3, 4, 5, 6, 7, */ {true, true, true, true, true, true}};
2453//_____________________________________________________________________________
2454
2461//-----------------------------------------------------------------------------
2462static const MBool nfs3_1[24][6] = {
2463 /* 5: 0, 2, */ {true, true, true, true, true, false},
2464 /* 33: 0, 5, */ {true, false, true, true, true, true},
2465 /* 129: 0, 7, */ {true, true, false, true, true, true},
2466 /* 10: 1, 3, */ {true, true, true, true, true, false},
2467 /* 18: 1, 4, */ {true, false, true, true, true, true},
2468 /* 66: 1, 6, */ {true, true, true, false, true, true},
2469 /* 36: 2, 5, */ {true, true, true, false, true, true},
2470 /* 132: 2, 7, */ {false, true, true, true, true, true},
2471 /* 24: 3, 4, */ {true, true, false, true, true, true},
2472 /* 72: 3, 6, */ {false, true, true, true, true, true},
2473 /* 80: 4, 6, */ {true, true, true, true, false, true},
2474 /* 160: 5, 7, */ {true, true, true, true, false, true},
2475 /* 95: 0, 1, 2, 3, 4, 6, */ {true, true, true, true, true, true},
2476 /* 175: 0, 1, 2, 3, 5, 7, */ {true, true, true, true, true, true},
2477 /* 183: 0, 1, 2, 4, 5, 7, */ {true, true, true, true, true, true},
2478 /* 231: 0, 1, 2, 5, 6, 7, */ {true, true, true, true, true, true},
2479 /* 123: 0, 1, 3, 4, 5, 6, */ {true, true, true, true, true, true},
2480 /* 219: 0, 1, 3, 4, 6, 7, */ {true, true, true, true, true, true},
2481 /* 189: 0, 2, 3, 4, 5, 7, */ {true, true, true, true, true, true},
2482 /* 237: 0, 2, 3, 5, 6, 7, */ {true, true, true, true, true, true},
2483 /* 245: 0, 2, 4, 5, 6, 7, */ {true, true, true, true, true, true},
2484 /* 126: 1, 2, 3, 4, 5, 6, */ {true, true, true, true, true, true},
2485 /* 222: 1, 2, 3, 4, 6, 7, */ {true, true, true, true, true, true},
2486 /* 250: 1, 3, 4, 5, 6, 7, */ {true, true, true, true, true, true}};
2487
2488//_____________________________________________________________________________
2495//-----------------------------------------------------------------------------
2496static const MBool nfs3_2[24][6] = {
2497 /* 5: 0, 2, */ {true, true, true, true, true, false},
2498 /* 33: 0, 5, */ {true, false, true, true, true, true},
2499 /* 129: 0, 7, */ {true, true, false, true, true, true},
2500 /* 10: 1, 3, */ {true, true, true, true, true, false},
2501 /* 18: 1, 4, */ {true, false, true, true, true, true},
2502 /* 66: 1, 6, */ {true, true, true, false, true, true},
2503 /* 36: 2, 5, */ {true, true, true, false, true, true},
2504 /* 132: 2, 7, */ {false, true, true, true, true, true},
2505 /* 24: 3, 4, */ {true, true, false, true, true, true},
2506 /* 72: 3, 6, */ {false, true, true, true, true, true},
2507 /* 80: 4, 6, */ {true, true, true, true, false, true},
2508 /* 160: 5, 7, */ {true, true, true, true, false, true},
2509 /* 95: 0, 1, 2, 3, 4, 6, */ {true, true, true, true, true, true},
2510 /* 175: 0, 1, 2, 3, 5, 7, */ {true, true, true, true, true, true},
2511 /* 183: 0, 1, 2, 4, 5, 7, */ {true, true, true, true, true, true},
2512 /* 231: 0, 1, 2, 5, 6, 7, */ {true, true, true, true, true, true},
2513 /* 123: 0, 1, 3, 4, 5, 6, */ {true, true, true, true, true, true},
2514 /* 219: 0, 1, 3, 4, 6, 7, */ {true, true, true, true, true, true},
2515 /* 189: 0, 2, 3, 4, 5, 7, */ {true, true, true, true, true, true},
2516 /* 237: 0, 2, 3, 5, 6, 7, */ {true, true, true, true, true, true},
2517 /* 245: 0, 2, 4, 5, 6, 7, */ {true, true, true, true, true, true},
2518 /* 126: 1, 2, 3, 4, 5, 6, */ {true, true, true, true, true, true},
2519 /* 222: 1, 2, 3, 4, 6, 7, */ {true, true, true, true, true, true},
2520 /* 250: 1, 3, 4, 5, 6, 7, */ {true, true, true, true, true, true}};
2527//-----------------------------------------------------------------------------
2528static const MBool nfs4_1[8][6] = {
2529 /* 65: 0, 6, */ {true, true, true, true, true, true},
2530 /* 130: 1, 7, */ {true, true, true, true, true, true},
2531 /* 20: 2, 4, */ {true, true, true, true, true, true},
2532 /* 40: 3, 5, */ {true, true, true, true, true, true},
2533 /* 215: 0, 1, 2, 4, 6, 7, */ {true, true, true, true, true, true},
2534 /* 235: 0, 1, 3, 5, 6, 7, */ {true, true, true, true, true, true},
2535 /* 125: 0, 2, 3, 4, 5, 6, */ {true, true, true, true, true, true},
2536 /* 190: 1, 2, 3, 4, 5, 7, */ {true, true, true, true, true, true}};
2537//_____________________________________________________________________________
2544//-----------------------------------------------------------------------------
2545static const MBool nfs5[48][6] = {
2546 /* 7: 0, 1, 2, */ {true, true, true, true, true, false},
2547 /* 11: 0, 1, 3, */ {true, true, true, true, true, false},
2548 /* 19: 0, 1, 4, */ {true, false, true, true, true, true},
2549 /* 35: 0, 1, 5, */ {true, false, true, true, true, true},
2550 /* 13: 0, 2, 3, */ {true, true, true, true, true, false},
2551 /* 25: 0, 3, 4, */ {true, true, false, true, true, true},
2552 /* 137: 0, 3, 7, */ {true, true, false, true, true, true},
2553 /* 49: 0, 4, 5, */ {true, false, true, true, true, true},
2554 /* 145: 0, 4, 7, */ {true, true, false, true, true, true},
2555 /* 14: 1, 2, 3, */ {true, true, true, true, true, false},
2556 /* 38: 1, 2, 5, */ {true, true, true, false, true, true},
2557 /* 70: 1, 2, 6, */ {true, true, true, false, true, true},
2558 /* 50: 1, 4, 5, */ {true, false, true, true, true, true},
2559 /* 98: 1, 5, 6, */ {true, true, true, false, true, true},
2560 /* 76: 2, 3, 6, */ {false, true, true, true, true, true},
2561 /* 140: 2, 3, 7, */ {false, true, true, true, true, true},
2562 /* 100: 2, 5, 6, */ {true, true, true, false, true, true},
2563 /* 196: 2, 6, 7, */ {false, true, true, true, true, true},
2564 /* 152: 3, 4, 7, */ {true, true, false, true, true, true},
2565 /* 200: 3, 6, 7, */ {false, true, true, true, true, true},
2566 /* 112: 4, 5, 6, */ {true, true, true, true, false, true},
2567 /* 176: 4, 5, 7, */ {true, true, true, true, false, true},
2568 /* 208: 4, 6, 7, */ {true, true, true, true, false, true},
2569 /* 224: 5, 6, 7, */ {true, true, true, true, false, true},
2570 /* 31: 0, 1, 2, 3, 4, */ {true, true, true, true, true, true},
2571 /* 47: 0, 1, 2, 3, 5, */ {true, true, true, true, true, true},
2572 /* 79: 0, 1, 2, 3, 6, */ {true, true, true, true, true, true},
2573 /* 143: 0, 1, 2, 3, 7, */ {true, true, true, true, true, true},
2574 /* 55: 0, 1, 2, 4, 5, */ {true, true, true, true, true, true},
2575 /* 103: 0, 1, 2, 5, 6, */ {true, true, true, true, true, true},
2576 /* 59: 0, 1, 3, 4, 5, */ {true, true, true, true, true, true},
2577 /* 155: 0, 1, 3, 4, 7, */ {true, true, true, true, true, true},
2578 /* 115: 0, 1, 4, 5, 6, */ {true, true, true, true, true, true},
2579 /* 179: 0, 1, 4, 5, 7, */ {true, true, true, true, true, true},
2580 /* 157: 0, 2, 3, 4, 7, */ {true, true, true, true, true, true},
2581 /* 205: 0, 2, 3, 6, 7, */ {true, true, true, true, true, true},
2582 /* 185: 0, 3, 4, 5, 7, */ {true, true, true, true, true, true},
2583 /* 217: 0, 3, 4, 6, 7, */ {true, true, true, true, true, true},
2584 /* 241: 0, 4, 5, 6, 7, */ {true, true, true, true, true, true},
2585 /* 110: 1, 2, 3, 5, 6, */ {true, true, true, true, true, true},
2586 /* 206: 1, 2, 3, 6, 7, */ {true, true, true, true, true, true},
2587 /* 118: 1, 2, 4, 5, 6, */ {true, true, true, true, true, true},
2588 /* 230: 1, 2, 5, 6, 7, */ {true, true, true, true, true, true},
2589 /* 242: 1, 4, 5, 6, 7, */ {true, true, true, true, true, true},
2590 /* 220: 2, 3, 4, 6, 7, */ {true, true, true, true, true, true},
2591 /* 236: 2, 3, 5, 6, 7, */ {true, true, true, true, true, true},
2592 /* 244: 2, 4, 5, 6, 7, */ {true, true, true, true, true, true},
2593 /* 248: 3, 4, 5, 6, 7, */ {true, true, true, true, true, true}};
2594//_____________________________________________________________________________
2601//-----------------------------------------------------------------------------
2602static const MBool nfs6_1[48][6] = {
2603 /* 67: 0, 1, 6, */ {true, true, true, true, true, true},
2604 /* 131: 0, 1, 7, */ {true, true, true, true, true, true},
2605 /* 21: 0, 2, 4, */ {true, true, true, true, true, true},
2606 /* 69: 0, 2, 6, */ {true, true, true, true, true, true},
2607 /* 41: 0, 3, 5, */ {true, true, true, true, true, true},
2608 /* 73: 0, 3, 6, */ {true, true, true, true, true, true},
2609 /* 81: 0, 4, 6, */ {true, true, true, true, true, true},
2610 /* 97: 0, 5, 6, */ {true, true, true, true, true, true},
2611 /* 193: 0, 6, 7, */ {true, true, true, true, true, true},
2612 /* 22: 1, 2, 4, */ {true, true, true, true, true, true},
2613 /* 134: 1, 2, 7, */ {true, true, true, true, true, true},
2614 /* 42: 1, 3, 5, */ {true, true, true, true, true, true},
2615 /* 138: 1, 3, 7, */ {true, true, true, true, true, true},
2616 /* 146: 1, 4, 7, */ {true, true, true, true, true, true},
2617 /* 162: 1, 5, 7, */ {true, true, true, true, true, true},
2618 /* 194: 1, 6, 7, */ {true, true, true, true, true, true},
2619 /* 28: 2, 3, 4, */ {true, true, true, true, true, true},
2620 /* 44: 2, 3, 5, */ {true, true, true, true, true, true},
2621 /* 52: 2, 4, 5, */ {true, true, true, true, true, true},
2622 /* 84: 2, 4, 6, */ {true, true, true, true, true, true},
2623 /* 148: 2, 4, 7, */ {true, true, true, true, true, true},
2624 /* 56: 3, 4, 5, */ {true, true, true, true, true, true},
2625 /* 104: 3, 5, 6, */ {true, true, true, true, true, true},
2626 /* 168: 3, 5, 7, */ {true, true, true, true, true, true},
2627 /* 87: 0, 1, 2, 4, 6, */ {true, true, true, true, true, true},
2628 /* 151: 0, 1, 2, 4, 7, */ {true, true, true, true, true, true},
2629 /* 199: 0, 1, 2, 6, 7, */ {true, true, true, true, true, true},
2630 /* 107: 0, 1, 3, 5, 6, */ {true, true, true, true, true, true},
2631 /* 171: 0, 1, 3, 5, 7, */ {true, true, true, true, true, true},
2632 /* 203: 0, 1, 3, 6, 7, */ {true, true, true, true, true, true},
2633 /* 211: 0, 1, 4, 6, 7, */ {true, true, true, true, true, true},
2634 /* 227: 0, 1, 5, 6, 7, */ {true, true, true, true, true, true},
2635 /* 61: 0, 2, 3, 4, 5, */ {true, true, true, true, true, true},
2636 /* 93: 0, 2, 3, 4, 6, */ {true, true, true, true, true, true},
2637 /* 109: 0, 2, 3, 5, 6, */ {true, true, true, true, true, true},
2638 /* 117: 0, 2, 4, 5, 6, */ {true, true, true, true, true, true},
2639 /* 213: 0, 2, 4, 6, 7, */ {true, true, true, true, true, true},
2640 /* 121: 0, 3, 4, 5, 6, */ {true, true, true, true, true, true},
2641 /* 233: 0, 3, 5, 6, 7, */ {true, true, true, true, true, true},
2642 /* 62: 1, 2, 3, 4, 5, */ {true, true, true, true, true, true},
2643 /* 158: 1, 2, 3, 4, 7, */ {true, true, true, true, true, true},
2644 /* 174: 1, 2, 3, 5, 7, */ {true, true, true, true, true, true},
2645 /* 182: 1, 2, 4, 5, 7, */ {true, true, true, true, true, true},
2646 /* 214: 1, 2, 4, 6, 7, */ {true, true, true, true, true, true},
2647 /* 186: 1, 3, 4, 5, 7, */ {true, true, true, true, true, true},
2648 /* 234: 1, 3, 5, 6, 7, */ {true, true, true, true, true, true},
2649 /* 124: 2, 3, 4, 5, 6, */ {true, true, true, true, true, true},
2650 /* 188: 2, 3, 4, 5, 7, */ {true, true, true, true, true, true}};
2651//_____________________________________________________________________________
2658//-----------------------------------------------------------------------------
2659static const MBool nfs7_1[16][6] = {
2660 /* 37: 0, 2, 5, */ {true, true, true, true, true, true},
2661 /* 133: 0, 2, 7, */ {true, true, true, true, true, true},
2662 /* 161: 0, 5, 7, */ {true, true, true, true, true, true},
2663 /* 26: 1, 3, 4, */ {true, true, true, true, true, true},
2664 /* 74: 1, 3, 6, */ {true, true, true, true, true, true},
2665 /* 82: 1, 4, 6, */ {true, true, true, true, true, true},
2666 /* 164: 2, 5, 7, */ {true, true, true, true, true, true},
2667 /* 88: 3, 4, 6, */ {true, true, true, true, true, true},
2668 /* 167: 0, 1, 2, 5, 7, */ {true, true, true, true, true, true},
2669 /* 91: 0, 1, 3, 4, 6, */ {true, true, true, true, true, true},
2670 /* 173: 0, 2, 3, 5, 7, */ {true, true, true, true, true, true},
2671 /* 181: 0, 2, 4, 5, 7, */ {true, true, true, true, true, true},
2672 /* 229: 0, 2, 5, 6, 7, */ {true, true, true, true, true, true},
2673 /* 94: 1, 2, 3, 4, 6, */ {true, true, true, true, true, true},
2674 /* 122: 1, 3, 4, 5, 6, */ {true, true, true, true, true, true},
2675 /* 218: 1, 3, 4, 6, 7, */ {true, true, true, true, true, true}};
2676
2683//-----------------------------------------------------------------------------
2684static const MBool nfs8[6][6] = {
2685 /* 15: 0, 1, 2, 3, */ {true, true, true, true, true, false},
2686 /* 51: 0, 1, 4, 5, */ {true, false, true, true, true, true},
2687 /* 153: 0, 3, 4, 7, */ {true, true, false, true, true, true},
2688 /* 102: 1, 2, 5, 6, */ {true, true, true, false, true, true},
2689 /* 204: 2, 3, 6, 7, */ {false, true, true, true, true, true},
2690 /* 240: 4, 5, 6, 7, */ {true, true, true, true, false, true}};
2691//_____________________________________________________________________________
2698//-----------------------------------------------------------------------------
2699static const MBool nfs9[8][6] = {
2700 /* 39: 0, 1, 2, 5, */ {true, true, true, true, true, true},
2701 /* 27: 0, 1, 3, 4, */ {true, true, true, true, true, true},
2702 /* 141: 0, 2, 3, 7, */ {true, true, true, true, true, true},
2703 /* 177: 0, 4, 5, 7, */ {true, true, true, true, true, true},
2704 /* 78: 1, 2, 3, 6, */ {true, true, true, true, true, true},
2705 /* 114: 1, 4, 5, 6, */ {true, true, true, true, true, true},
2706 /* 228: 2, 5, 6, 7, */ {true, true, true, true, true, true},
2707 /* 216: 3, 4, 6, 7, */ {true, true, true, true, true, true}};
2708//_____________________________________________________________________________
2715//-----------------------------------------------------------------------------
2716static const MBool nfs10[6][6] = {
2717 /* 195: 0, 1, 6, 7, */ {true, true, true, true, true, true},
2718 /* 85: 0, 2, 4, 6, */ {true, true, true, true, true, true},
2719 /* 105: 0, 3, 5, 6, */ {true, true, true, true, true, true},
2720 /* 150: 1, 2, 4, 7, */ {true, true, true, true, true, true},
2721 /* 170: 1, 3, 5, 7, */ {true, true, true, true, true, true},
2722 /* 60: 2, 3, 4, 5, */ {true, true, true, true, true, true}};
2729//-----------------------------------------------------------------------------
2730static const MBool nfs11[12][6] = {
2731 /* 23: 0, 1, 2, 4, */ {true, true, true, true, true, true},
2732 /* 139: 0, 1, 3, 7, */ {true, true, true, true, true, true},
2733 /* 99: 0, 1, 5, 6, */ {true, true, true, true, true, true},
2734 /* 77: 0, 2, 3, 6, */ {true, true, true, true, true, true},
2735 /* 57: 0, 3, 4, 5, */ {true, true, true, true, true, true},
2736 /* 209: 0, 4, 6, 7, */ {true, true, true, true, true, true},
2737 /* 46: 1, 2, 3, 5, */ {true, true, true, true, true, true},
2738 /* 198: 1, 2, 6, 7, */ {true, true, true, true, true, true},
2739 /* 178: 1, 4, 5, 7, */ {true, true, true, true, true, true},
2740 /* 156: 2, 3, 4, 7, */ {true, true, true, true, true, true},
2741 /* 116: 2, 4, 5, 6, */ {true, true, true, true, true, true},
2742 /* 232: 3, 5, 6, 7, */ {true, true, true, true, true, true}};
2749//-----------------------------------------------------------------------------
2750static const MBool nfs12_1[24][6] = {
2751 /* 135: 0, 1, 2, 7, */ {true, true, true, true, true, true},
2752 /* 75: 0, 1, 3, 6, */ {true, true, true, true, true, true},
2753 /* 83: 0, 1, 4, 6, */ {true, true, true, true, true, true},
2754 /* 163: 0, 1, 5, 7, */ {true, true, true, true, true, true},
2755 /* 45: 0, 2, 3, 5, */ {true, true, true, true, true, true},
2756 /* 53: 0, 2, 4, 5, */ {true, true, true, true, true, true},
2757 /* 149: 0, 2, 4, 7, */ {true, true, true, true, true, true},
2758 /* 101: 0, 2, 5, 6, */ {true, true, true, true, true, true},
2759 /* 197: 0, 2, 6, 7, */ {true, true, true, true, true, true},
2760 /* 89: 0, 3, 4, 6, */ {true, true, true, true, true, true},
2761 /* 169: 0, 3, 5, 7, */ {true, true, true, true, true, true},
2762 /* 225: 0, 5, 6, 7, */ {true, true, true, true, true, true},
2763 /* 30: 1, 2, 3, 4, */ {true, true, true, true, true, true},
2764 /* 86: 1, 2, 4, 6, */ {true, true, true, true, true, true},
2765 /* 166: 1, 2, 5, 7, */ {true, true, true, true, true, true},
2766 /* 58: 1, 3, 4, 5, */ {true, true, true, true, true, true},
2767 /* 154: 1, 3, 4, 7, */ {true, true, true, true, true, true},
2768 /* 106: 1, 3, 5, 6, */ {true, true, true, true, true, true},
2769 /* 202: 1, 3, 6, 7, */ {true, true, true, true, true, true},
2770 /* 210: 1, 4, 6, 7, */ {true, true, true, true, true, true},
2771 /* 92: 2, 3, 4, 6, */ {true, true, true, true, true, true},
2772 /* 172: 2, 3, 5, 7, */ {true, true, true, true, true, true},
2773 /* 180: 2, 4, 5, 7, */ {true, true, true, true, true, true},
2774 /* 120: 3, 4, 5, 6, */ {true, true, true, true, true, true}};
2775
2776
2777//_____________________________________________________________________________
2784//-----------------------------------------------------------------------------
2785static const MBool nfs14[12][6] = {
2786 /* 71: 0, 1, 2, 6, */ {true, true, true, true, true, true},
2787 /* 43: 0, 1, 3, 5, */ {true, true, true, true, true, true},
2788 /* 147: 0, 1, 4, 7, */ {true, true, true, true, true, true},
2789 /* 29: 0, 2, 3, 4, */ {true, true, true, true, true, true},
2790 /* 201: 0, 3, 6, 7, */ {true, true, true, true, true, true},
2791 /* 113: 0, 4, 5, 6, */ {true, true, true, true, true, true},
2792 /* 142: 1, 2, 3, 7, */ {true, true, true, true, true, true},
2793 /* 54: 1, 2, 4, 5, */ {true, true, true, true, true, true},
2794 /* 226: 1, 5, 6, 7, */ {true, true, true, true, true, true},
2795 /* 108: 2, 3, 5, 6, */ {true, true, true, true, true, true},
2796 /* 212: 2, 4, 6, 7, */ {true, true, true, true, true, true},
2797 /* 184: 3, 4, 5, 7, */ {true, true, true, true, true, true}};
2798//_____________________________________________________________________________
2799
2800
2801//-------------------------------------------------------------------------------------------
2802//-------------------------- 2D SECTION --------------------------------------------
2803//------------------------------------------------------------------------------------------
2804// completly identical in STL and fvmb, but unused in both cases!!!
2805
2806//_____________________________________________________________________________
2812//-----------------------------------------------------------------------------
2813static const MBool caseStates2D[4] = {
2814 /* 0: */ true,
2815 /* 1: */ true,
2816 /* 2: */ true,
2817 /* 3: */ false};
2818
2819//_____________________________________________________________________________
2825//-----------------------------------------------------------------------------
2826static const MInt caseCutPoints2D[4] = {
2827 /* 0: */ 0,
2828 /* 1: */ 2,
2829 /* 2: */ 2,
2830 /* 3: */ 4};
2831//_____________________________________________________________________________
2841//-----------------------------------------------------------------------------
2842static const MInt cases2D[16][2] = {
2843 /* 0: */ {0, 0},
2844 /* 1: 0, */ {1, 0},
2845 /* 2: 1, */ {1, 1},
2846 /* 3: 0, 1, */ {2, 0},
2847 /* 4: 2, */ {1, 2},
2848 /* 5: 0, 2, */ {2, 1},
2849 /* 6: 1, 2, */ {3, 0},
2850 /* 7: 0, 1, 2, */ {1, 3},
2851 /* 8: 3, */ {1, 4},
2852 /* 9: 0, 3, */ {3, 1},
2853 /* 10: 1, 3, */ {2, 2},
2854 /* 11: 0, 1, 3, */ {1, 5},
2855 /* 12: 2, 3, */ {2, 3},
2856 /* 13: 0, 2, 3, */ {1, 6},
2857 /* 14: 1, 2, 3, */ {1, 7},
2858 /* 15: 0, 1, 2, 3, */ {0, 1}};
2859//_____________________________________________________________________________
2863//-----------------------------------------------------------------------------
2864static const MInt noEdges2D[4] = {
2865 /* 0: */ 0,
2866 /* 1: */ 1,
2867 /* 2: */ 1,
2868 /* 3: */ 2};
2869//_____________________________________________________________________________
2879//-----------------------------------------------------------------------------
2880static const MInt tiling1_2D[8][2] = {
2881 /* 1: 0, */ {2, 0},
2882 /* 2: 1, */ {1, 2},
2883 /* 4: 2, */ {0, 3},
2884 /* 7: 0, 1, 2, */ {1, 3},
2885 /* 8: 3, */ {3, 1},
2886 /* 11: 0, 1, 3, */ {3, 0},
2887 /* 13: 0, 2, 3, */ {2, 1},
2888 /* 14: 1, 2, 3, */ {0, 2}};
2889//_____________________________________________________________________________
2899//-----------------------------------------------------------------------------
2900static const MInt tiling2_2D[4][2] = {
2901 /* 3: 0, 1, */ {1, 0},
2902 /* 5: 0, 2, */ {2, 3},
2903 /* 10: 1, 3, */ {3, 2},
2904 /* 12: 2, 3, */ {0, 1}};
2914//-----------------------------------------------------------------------------
2915static const MInt tiling3_A_2D[2][4] = {
2916 /* 6: 1, 2, */ {0, 2, 1, 3},
2917 /* 9: 0, 3, */ {2, 0, 3, 1}};
2927//-----------------------------------------------------------------------------
2928static const MInt tiling3_B_2D[2][4] = {
2929 /* 6: 1, 2, */ {1, 2, 0, 3},
2930 /* 9: 0, 3, */ {2, 1, 3, 0}};
2931
2932//_____________________________________________________________________________
2933#endif // _LOOKUPTABLE_H_
int32_t MInt
Definition: maiatypes.h:62
bool MBool
Definition: maiatypes.h:58