mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: incorrect indexing for surface baffles (fixes #497)
This commit is contained in:
@ -510,9 +510,9 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
labelList indices = findStrings(baffleSelect, patchNames);
|
||||
forAll(indices, patchi)
|
||||
for (const label patchId : indices)
|
||||
{
|
||||
surfBaffleRegions[patchi] = true;
|
||||
surfBaffleRegions[patchId] = true;
|
||||
}
|
||||
|
||||
if (indices.size())
|
||||
|
||||
Reference in New Issue
Block a user