Skip to content
Snippets Groups Projects
Commit 09313fa7 authored by mattijs's avatar mattijs
Browse files

BUG: snappyHexMesh: detect gaps

parent 69d83b52
Branches
Tags
No related merge requests found
......@@ -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
{
......
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