Skip to content

Commit cf4d8fc

Browse files
committed
Fix embedding for TET14 child 4
1 parent 4720d6a commit cf4d8fc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/geom/cell_tet14.C

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -586,15 +586,15 @@ const Real Tet14::_embedding_matrix[Tet14::num_children][Tet14::num_nodes][Tet14
586586
{ 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 0.}, // 2
587587
{ 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0.}, // 3
588588
{-.03125,.09375, 0.,-.03125,0.125, 0., 0.,-0.125, 0.125, 0., 0.,.84375, 0., 0.}, // 4
589-
{-.03125,.09375, 0.,-.03125,0.125, 0., 0.,-0.125, 0.125, 0., 0.,.84375, 0., 0.}, // 5
589+
{ 1/r64, 1/r64, 1/r64, 1/r64,-0.125,-0.125,-0.125,-0.125,-0.125,-0.125,27/r64,27/r64,27/r64,27/r64}, // 5
590590
{.09375,-.03125,-.03125, 0., 0.125,-0.125, 0.125, 0., 0., 0.,.84375, 0., 0., 0.}, // 6
591591
{.09375,-.03125, 0.,-.03125,0.125, 0., 0., 0.125,-0.125, 0., 0.,.84375, 0., 0.}, // 7
592592
{-.03125,-.03125, 0.,.09375,-0.125, 0., 0., 0.125, 0.125, 0., 0.,.84375, 0., 0.}, // 8
593593
{.09375, 0.,-.03125,-.03125, 0., 0., 0.125, 0.125, 0.,-0.125, 0., 0., 0.,.84375}, // 9
594594
{ 2/r72, 2/r72, 0., 0., 0.,-2/r18,-2/r18,-2/r18,-2/r18,-2/r18, 0.5, 0.5, 0.25, 0.25}, // 10
595595
{ 0., 0, 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0.}, // 11
596596
{ 2/r72, 0., 0., 2/r72,-2/r18,-2/r18,-2/r18, 0.,-2/r18,-2/r18, 0.25, 0.5, 0.25, 0.5}, // 12
597-
{ 5/r18, 0.,-1/r18,-1/r18, 0., 0., 4/r18, 4/r18, 0.,-2/r18, 0., 0., 0., 0.5} // 13
597+
{ 0.125,-1/r72,-1/r72,-1/r72, 0.,-2/r18, 0., 0.,-2/r18,-2/r18, 0.375, 0.375, 0.125, 0.375} // 13
598598
},
599599

600600
// embedding matrix for child 5?
@@ -727,8 +727,8 @@ const std::vector<std::pair<unsigned char, unsigned char>>
727727
// Child 3
728728
{ {{0,3}},{{1,3}},{{2,3}}, {{}},{{7,8}},{{8,9}},{{7,9}},{{3,7}},{{3,8}},{{3,9}},{{3,10}},{{3,11}},{{3,12}},{{3,13}} },
729729
// Child 4
730-
{ {{0,1}},{{1,3}},{{0,2}},{{0,3}},{{4,8}},{{4,8}},{{4,6}},{{4,7}},{{7,8}},{{6,7}},
731-
{{10,11}},{{0,8},{1,7},{3,4}}, {{11,13}}, {{0,13}} },
730+
{ {{0,1}},{{1,3}},{{0,2}},{{0,3}},{{4,8}},{{6,8}},{{4,6}},{{4,7}},{{7,8}},{{6,7}},
731+
{{10,11}},{{0,8},{1,7},{3,4}}, {{11,13}}, {{0,12}} },
732732
// Child 5
733733
{ {{0,1}},{{1,2}},{{0,2}},{{1,3}},{{4,5}},{{5,6}},{{4,6}},{{4,8}},{{5,8}},{{6,8}},
734734
{{0,5},{1,6},{2,4}}, {{1,13}}, {{10,12}}, {{10,11}} },

0 commit comments

Comments
 (0)