BUG: bad indexing in regionSizeDistribution function object (closes #888)
This commit is contained in:
parent
12e2142db8
commit
f15be4d0b0
@ -581,8 +581,9 @@ bool Foam::functionObjects::regionSizeDistribution::write()
|
||||
<< token::TAB << "Volume(mesh)"
|
||||
<< token::TAB << "Volume(" << alpha.name() << "):"
|
||||
<< endl;
|
||||
for (const label regioni : patchRegions)
|
||||
forAllConstIters(patchRegions, iter)
|
||||
{
|
||||
const label regioni = iter.key();
|
||||
Info<< " " << token::TAB << regioni
|
||||
<< token::TAB << allRegionVolume[regioni]
|
||||
<< token::TAB << allRegionAlphaVolume[regioni] << endl;
|
||||
|
Loading…
Reference in New Issue
Block a user