Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Development
OpenFOAM-plus
Commits
7b235407
Commit
7b235407
authored
Jul 12, 2019
by
Mark Olesen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: distanceSurface has gaps in mesh (
#1374
)
- need to be more generous when prefiltering the cell selection
parent
6d98049f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/sampling/surface/distanceSurface/distanceSurface.C
src/sampling/surface/distanceSurface/distanceSurface.C
+3
-0
No files found.
src/sampling/surface/distanceSurface/distanceSurface.C
View file @
7b235407
...
...
@@ -207,6 +207,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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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