Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git] / src / foam / include / checkTotalVolume.H
blob29876572d20b5da734cc049617acc445d2e3cc62
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;