ENH: Monitor total point movement.

This commit is contained in:
graham
2011-06-16 16:06:11 +01:00
parent fcefc8fe6e
commit e3d94e55e4

View File

@ -262,6 +262,18 @@ void Foam::conformalVoronoiMesh::insertPoints
<< endl;
}
label totalMagSizeChange = returnReduce
(
mag(sizeChange), sumOp<label>()
);
if (totalMagSizeChange > 0)
{
Info<< " distribution points size change total "
<< totalMagSizeChange/2
<< endl;
}
nPoints = points.size();
reduce(nPoints, sumOp<label>());