24 8, 11, 12, 9, 13, 10, 14, 15, 16, 19, 17, 18,
25 24, 20, 23, 21, 22, 25,
34 6, 8, 9, 7, 10, 11, 12, 14, 13
38 5, 8, 9, 6, 10, 7, 11, 12
44 {
"line", 1,
MBEDGE, 2, 0 },
45 {
"triangle", 2,
MBTRI, 3, 0 },
46 {
"quadrangle", 3,
MBQUAD, 4, 0 },
47 {
"tetrahedron", 4,
MBTET, 4, 0 },
48 {
"hexahedron", 5,
MBHEX, 8, 0 },
51 {
"2nd order line", 8,
MBEDGE, 3, 0 },
52 {
"2nd order triangle", 9,
MBTRI, 6, 0 },
53 {
"2nd order quadrangle", 10,
MBQUAD, 9, 0 },
56 {
"2nd order prism", 13,
MBMAXTYPE, 0, 0 },
57 {
"2nd order pyramid", 14,
MBMAXTYPE, 0, 0 },
59 {
"2nd order quadrangle", 16,
MBQUAD, 8, 0 },
63 {
"3rd order triangle", 20,
MBMAXTYPE, 0, 0 },
64 {
"3rd order triangle", 21,
MBMAXTYPE, 0, 0 },
65 {
"4th order triangle", 22,
MBMAXTYPE, 0, 0 },
66 {
"4th order triangle", 23,
MBMAXTYPE, 0, 0 },
67 {
"5th order triangle", 24,
MBMAXTYPE, 0, 0 },
68 {
"5th order triangle", 25,
MBMAXTYPE, 0, 0 },
69 {
"3rd order edge", 26,
MBMAXTYPE, 0, 0 },
70 {
"4th order edge", 27,
MBMAXTYPE, 0, 0 },
71 {
"5th order edge", 28,
MBMAXTYPE, 0, 0 },
72 {
"3rd order tetrahedron", 29,
MBMAXTYPE, 0, 0 },
73 {
"4th order tetrahedron", 30,
MBMAXTYPE, 0, 0 },
74 {
"5th order tetrahedron", 31,
MBMAXTYPE, 0, 0 },
81 #define TWENTYEIGHT_ZEROS \
83 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 \
89 { 0, 0, 1, 8, 26, 27, 28, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
90 { 0, 0, 0, 2, 0, 0, 9, 0, 0, 20, 21, 0, 22, 0, 0, 23, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0 },
91 { 0, 0, 0, 0, 3, 0, 0, 0, 16, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
93 { 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 0 },
94 { 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 19, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
95 { 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 18, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
97 { 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 0, 0, 0, 12 },
104 if( num_nodes >= (
unsigned)
MAX_NODES )
return -1;
107 if( !idx )
return -1;