Commit 82103f4c authored by graham's avatar graham
Browse files

ENH: tolerance on triangle normal check too tight.

A point very close to the face of a tri was erroneously triggering it.
parent 4987edf4
......@@ -2217,7 +2217,7 @@ Foam::triSurfaceTools::sideType Foam::triSurfaceTools::surfaceSide
// If the sample is essentially on the face, do not check for
// it being perpendicular.
if (magSampleNearestVec > SMALL)
if (magSampleNearestVec > 10*SMALL)
c /= magSampleNearestVec*mag(surf.faceNormals()[nearestFaceI]);
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