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
4b7c74f8
Commit
4b7c74f8
authored
May 04, 2017
by
mattijs
Browse files
BUG: sampledPlane: fix parallel running on subset. Fixes
#463
.
parent
c9df5f92
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sampling/sampledSurface/sampledPlane/sampledPlane.C
View file @
4b7c74f8
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation |
Copyright (C) 2017 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -139,7 +139,7 @@ bool Foam::sampledPlane::update()
labelList
selectedCells
=
mesh
().
cellZones
().
findMatching
(
zoneKey_
).
used
();
if
(
selectedCells
.
empty
())
if
(
returnReduce
(
selectedCells
.
empty
()
,
andOp
<
bool
>
())
)
{
reCut
(
mesh
(),
triangulate_
);
}
...
...
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