BUG: shm: fix to unbalancing info printing. See #3034.
This commit is contained in:
parent
9a7e97ab98
commit
6c0ee5d177
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user