Skip to content
Snippets Groups Projects
Commit bb35d784 authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

BUG: distanceSurface has gaps in mesh (#1374)

- need to be more generous when prefiltering the cell selection
parent 658d6603
No related branches found
No related tags found
No related merge requests found
......@@ -209,6 +209,9 @@ void Foam::distanceSurface::createGeometry()
cellBb.clear();
cellBb.add(fvm.points(), fvm.cellPoints(i));
// Expand slightly to catch corners
cellBb.inflate(0.1);
if (!cellBb.contains(nearest[i].hitPoint()))
{
ignoreCells.set(i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment