Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
bb35d784
Commit
bb35d784
authored
Jul 12, 2019
by
Mark OLESEN
Committed by
Andrew Heather
Jul 12, 2019
Browse files
BUG: distanceSurface has gaps in mesh (
#1374
)
- need to be more generous when prefiltering the cell selection
parent
658d6603
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sampling/surface/distanceSurface/distanceSurface.C
View file @
bb35d784
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment