File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,28 +118,28 @@ export class ThermalBoundaryConditions {
118118 gaussPoint1 = gaussPoints [ 0 ] ;
119119 gaussPoint2 = 0 ;
120120 firstNodeIndex = 0 ;
121- lastNodeIndex = 2 ;
121+ lastNodeIndex = 3 ;
122122 nodeIncrement = 2 ;
123123 } else if ( side === 1 ) {
124124 // Nodes at the left side of the reference element
125125 gaussPoint1 = 0 ;
126126 gaussPoint2 = gaussPoints [ 0 ] ;
127127 firstNodeIndex = 0 ;
128- lastNodeIndex = 1 ;
128+ lastNodeIndex = 2 ;
129129 nodeIncrement = 1 ;
130130 } else if ( side === 2 ) {
131131 // Nodes at the top side of the reference element
132132 gaussPoint1 = gaussPoints [ 0 ] ;
133133 gaussPoint2 = 1 ;
134134 firstNodeIndex = 1 ;
135- lastNodeIndex = 3 ;
135+ lastNodeIndex = 4 ;
136136 nodeIncrement = 2 ;
137137 } else if ( side === 3 ) {
138138 // Nodes at the right side of the reference element
139139 gaussPoint1 = 1 ;
140140 gaussPoint2 = gaussPoints [ 0 ] ;
141141 firstNodeIndex = 2 ;
142- lastNodeIndex = 3 ;
142+ lastNodeIndex = 4 ;
143143 nodeIncrement = 1 ;
144144 }
145145 let basisFunctionsAndDerivatives = basisFunctionsData . getBasisFunctions (
You can’t perform that action at this time.
0 commit comments