BUG: meshSearch : extraneous loop

This commit is contained in:
mattijs
2010-10-29 09:50:31 +01:00
parent 5004aa1085
commit 4d428e8fe7

View File

@ -617,11 +617,7 @@ bool Foam::meshSearch::pointInCell(const point& p, label cellI) const
{ {
label faceI = cFaces[i]; label faceI = cFaces[i];
const face& f = mesh_.faces()[faceI]; pointHit inter = mesh_.faces()[faceI].ray
forAll(f, fp)
{
pointHit inter = f.ray
( (
ctr, ctr,
dir, dir,
@ -643,7 +639,6 @@ bool Foam::meshSearch::pointInCell(const point& p, label cellI) const
} }
} }
} }
}
intersection::setPlanarTol(oldTol); intersection::setPlanarTol(oldTol);