1 scalar newTotalVolume = gSum(mesh.cellVolumes());
2 scalar totalVolRatio = newTotalVolume/totalVolume;
4 Info<< "Volume: new = " << newTotalVolume << " old = " << totalVolume
5 << " change = " << Foam::mag(newTotalVolume - totalVolume)
6 << " ratio = " << totalVolRatio - 1 << endl;
8 totalVolume = newTotalVolume;