1284 const unsigned int refienement_choice)
const
1292 constexpr ::ndarray<unsigned int, 3, 12, 4, 2> table_tet = {
1294 {{{{{{6, 4}}, {{4, 7}}, {{7, 6}}, {{X, X}}}},
1295 {{{{4, 5}}, {{5, 8}}, {{8, 4}}, {{X, X}}}},
1296 {{{{5, 6}}, {{6, 9}}, {{9, 5}}, {{X, X}}}},
1297 {{{{7, 8}}, {{8, 9}}, {{9, 7}}, {{X, X}}}},
1298 {{{{4, 6}}, {{6, 8}}, {{8, 4}}, {{X, X}}}},
1299 {{{{6, 5}}, {{5, 8}}, {{8, 6}}, {{X, X}}}},
1300 {{{{8, 7}}, {{7, 6}}, {{6, 8}}, {{X, X}}}},
1301 {{{{9, 6}}, {{6, 8}}, {{8, 9}}, {{X, X}}}},
1302 {{{{X, X}}, {{X, X}}, {{X, X}}, {{X, X}}}},
1303 {{{{X, X}}, {{X, X}}, {{X, X}}, {{X, X}}}},
1304 {{{{X, X}}, {{X, X}}, {{X, X}}, {{X, X}}}},
1305 {{{{X, X}}, {{X, X}}, {{X, X}}, {{X, X}}}}}},
1307 {{{{{{6, 4}}, {{4, 7}}, {{7, 6}}, {{X, X}}}},
1308 {{{{4, 5}}, {{5, 8}}, {{8, 4}}, {{X, X}}}},
1309 {{{{5, 6}}, {{6, 9}}, {{9, 5}}, {{X, X}}}},
1310 {{{{7, 8}}, {{8, 9}}, {{9, 7}}, {{X, X}}}},
1311 {{{{5, 4}}, {{4, 7}}, {{7, 5}}, {{X, X}}}},
1312 {{{{6, 5}}, {{5, 7}}, {{7, 6}}, {{X, X}}}},
1313 {{{{8, 7}}, {{7, 5}}, {{5, 8}}, {{X, X}}}},
1314 {{{{7, 9}}, {{9, 5}}, {{5, 7}}, {{X, X}}}},
1315 {{{{X, X}}, {{X, X}}, {{X, X}}, {{X, X}}}},
1316 {{{{X, X}}, {{X, X}}, {{X, X}}, {{X, X}}}},
1317 {{{{X, X}}, {{X, X}}, {{X, X}}, {{X, X}}}},
1318 {{{{X, X}}, {{X, X}}, {{X, X}}, {{X, X}}}}}},
1320 {{{{{{6, 4}}, {{4, 7}}, {{7, 6}}, {{X, X}}}},
1321 {{{{4, 5}}, {{5, 8}}, {{8, 4}}, {{X, X}}}},
1322 {{{{5, 6}}, {{6, 9}}, {{9, 5}}, {{X, X}}}},
1323 {{{{7, 8}}, {{8, 9}}, {{9, 7}}, {{X, X}}}},
1324 {{{{5, 4}}, {{4, 9}}, {{9, 5}}, {{X, X}}}},
1325 {{{{4, 6}}, {{6, 9}}, {{9, 4}}, {{X, X}}}},
1326 {{{{7, 4}}, {{4, 9}}, {{9, 7}}, {{X, X}}}},
1327 {{{{4, 8}}, {{8, 9}}, {{9, 4}}, {{X, X}}}},
1328 {{{{X, X}}, {{X, X}}, {{X, X}}, {{X, X}}}},
1329 {{{{X, X}}, {{X, X}}, {{X, X}}, {{X, X}}}},
1330 {{{{X, X}}, {{X, X}}, {{X, X}}, {{X, X}}}},
1331 {{{{X, X}}, {{X, X}}, {{X, X}}, {{X, X}}}}}}}};
1332 return table_tet[refienement_choice];
1337 constexpr ::ndarray<unsigned int, 12, 4, 2> table_hex = {
1338 {{{{{10, 22}}, {{24, 26}}, {{10, 24}}, {{22, 26}}}},
1339 {{{{24, 26}}, {{11, 23}}, {{24, 11}}, {{26, 23}}}},
1340 {{{{22, 14}}, {{26, 25}}, {{22, 26}}, {{14, 25}}}},
1341 {{{{26, 25}}, {{23, 15}}, {{26, 23}}, {{25, 15}}}},
1342 {{{{8, 24}}, {{20, 26}}, {{8, 20}}, {{24, 26}}}},
1343 {{{{20, 26}}, {{12, 25}}, {{20, 12}}, {{26, 25}}}},
1344 {{{{24, 9}}, {{26, 21}}, {{24, 26}}, {{9, 21}}}},
1345 {{{{26, 21}}, {{25, 13}}, {{26, 25}}, {{21, 13}}}},
1346 {{{{16, 20}}, {{22, 26}}, {{16, 22}}, {{20, 26}}}},
1347 {{{{22, 26}}, {{17, 21}}, {{22, 17}}, {{26, 21}}}},
1348 {{{{20, 18}}, {{26, 23}}, {{20, 26}}, {{18, 23}}}},
1349 {{{{26, 23}}, {{21, 19}}, {{26, 21}}, {{23, 19}}}}}};