BUG: snappyHexMesh: detect gaps

This commit is contained in:
mattijs
2013-09-20 17:32:26 +01:00
parent 69d83b5208
commit 09313fa7ce

View File

@ -1246,7 +1246,17 @@ bool Foam::meshRefinement::isGap
if (avg != vector::zero)
{
return true;
avg /= mag(avg);
// Check normal distance of intersection locations
if (mag(avg&d) > mergeDistance())
{
return true;
}
else
{
return false;
}
}
else
{