Incorrect index on compaction

This commit is contained in:
mattijs
2010-01-18 18:02:48 +00:00
parent ed4d1f6bdf
commit 75f14f7c05

View File

@ -670,7 +670,6 @@ void Foam::refinementSurfaces::findHigherIntersection
haveLevelField = true; haveLevelField = true;
} }
if (haveLevelField) if (haveLevelField)
{ {
forAll(intersectionInfo, i) forAll(intersectionInfo, i)
@ -741,8 +740,8 @@ void Foam::refinementSurfaces::findHigherIntersection
} }
else else
{ {
p0[missI] = p0[pointI]; p0[missI] = start[pointI];
p1[missI] = p1[pointI]; p1[missI] = end[pointI];
intersectionToPoint[missI] = pointI; intersectionToPoint[missI] = pointI;
missI++; missI++;
} }