mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: shm: fix to unbalancing info printing. See #3034.
This commit is contained in:
@ -3536,7 +3536,8 @@ const
|
||||
|
||||
if (UPstream::parRun())
|
||||
{
|
||||
const scalar nIdealCells = pData.nTotalCells()/Pstream::nProcs();
|
||||
const scalar nIdealCells =
|
||||
scalar(pData.nTotalCells())/Pstream::nProcs();
|
||||
const scalar unbalance = returnReduce
|
||||
(
|
||||
mag(1.0-mesh_.nCells()/nIdealCells),
|
||||
|
||||
Reference in New Issue
Block a user