ENH: tolerance on triangle normal check too tight.

A point very close to the face of a tri was erroneously triggering it.
This commit is contained in:
graham
2011-01-07 14:29:38 +00:00
parent 4987edf41a
commit 82103f4ce2

View File

@ -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]);