Skip to content
GitLab
Menu
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
acd8e533
Commit
acd8e533
authored
Jun 22, 2021
by
sergio
Committed by
Mattijs Janssens
Jun 23, 2021
Browse files
BUG: Managing topoBitSet as source in haloToCell. See issue
#2137
parent
61012721
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/meshTools/sets/cellSources/haloToCell/haloToCell.C
View file @
acd8e533
...
...
@@ -28,6 +28,7 @@ License
#include
"haloToCell.H"
#include
"polyMesh.H"
#include
"cellSet.H"
#include
"topoBitSet.H"
#include
"syncTools.H"
#include
"addToRunTimeSelectionTable.H"
...
...
@@ -82,9 +83,16 @@ void Foam::haloToCell::combine(topoSet& set, const bool add) const
// The starting set of cells
bitSet
current
(
cells
.
size
());
for
(
const
label
celli
:
set
)
if
(
isA
<
topoBitSet
>
(
set
)
)
{
current
.
set
(
celli
);
current
|=
refCast
<
const
topoBitSet
>
(
set
).
addressing
();
}
else
{
for
(
const
label
celli
:
set
)
{
current
.
set
(
celli
);
}
}
// The perimeter faces of the cell set
...
...
Write
Preview
Supports
Markdown
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