BUG: shm: fix to unbalancing info printing. See #3034.

This commit is contained in:
mattijs 2023-12-06 09:46:51 +00:00
parent 9a7e97ab98
commit 6c0ee5d177

View File

@ -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),