Commit 4d428e8f authored by mattijs's avatar mattijs
Browse files

BUG: meshSearch : extraneous loop

parent 5004aa10
...@@ -617,11 +617,7 @@ bool Foam::meshSearch::pointInCell(const point& p, label cellI) const ...@@ -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 ...@@ -643,7 +639,6 @@ bool Foam::meshSearch::pointInCell(const point& p, label cellI) const
} }
} }
} }
}
intersection::setPlanarTol(oldTol); intersection::setPlanarTol(oldTol);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment