mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: subsetMesh: mapping topoSets. Fixes #1053.
This commit is contained in:
@ -344,11 +344,11 @@ void subsetTopoSets
|
|||||||
|
|
||||||
labelHashSet subset(2*min(set.size(), map.size()));
|
labelHashSet subset(2*min(set.size(), map.size()));
|
||||||
|
|
||||||
for (const label id : map)
|
forAll(map, i)
|
||||||
{
|
{
|
||||||
if (set.found(id))
|
if (set.found(map[i]))
|
||||||
{
|
{
|
||||||
subset.insert(id);
|
subset.insert(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user