mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user