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
9e345c58
Commit
9e345c58
authored
Jul 26, 2018
by
mattijs
Browse files
BUG: surfaceIntersection: access out of bounds. Fixes
#955
parent
ba64ca8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/meshTools/triSurface/booleanOps/surfaceIntersection/surfaceIntersection.C
View file @
9e345c58
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2015-201
7
OpenCFD Ltd.
\\/ M anipulation | Copyright (C) 2015-201
8
OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -867,7 +867,7 @@ void Foam::surfaceIntersection::doCutEdges
maskFaces
.
append
(
pHit
.
index
());
if
(
maskRegions
[
surf1
[
pHit
.
index
()].
region
()
]
)
if
(
maskRegions
.
test
(
surf1
[
pHit
.
index
()].
region
()
)
)
{
continue
;
}
...
...
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