mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Monitor total point movement.
This commit is contained in:
@ -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>());
|
||||
|
||||
Reference in New Issue
Block a user