mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: bad indexing in regionSizeDistribution function object (closes #888)
This commit is contained in:
@ -581,8 +581,9 @@ bool Foam::functionObjects::regionSizeDistribution::write()
|
|||||||
<< token::TAB << "Volume(mesh)"
|
<< token::TAB << "Volume(mesh)"
|
||||||
<< token::TAB << "Volume(" << alpha.name() << "):"
|
<< token::TAB << "Volume(" << alpha.name() << "):"
|
||||||
<< endl;
|
<< endl;
|
||||||
for (const label regioni : patchRegions)
|
forAllConstIters(patchRegions, iter)
|
||||||
{
|
{
|
||||||
|
const label regioni = iter.key();
|
||||||
Info<< " " << token::TAB << regioni
|
Info<< " " << token::TAB << regioni
|
||||||
<< token::TAB << allRegionVolume[regioni]
|
<< token::TAB << allRegionVolume[regioni]
|
||||||
<< token::TAB << allRegionAlphaVolume[regioni] << endl;
|
<< token::TAB << allRegionAlphaVolume[regioni] << endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user