Improved mesh statistics for dynamic changes

This commit is contained in:
Hrvoje Jasak 2011-03-21 06:43:39 +00:00
parent df6585a234
commit 40c365c0a6

View file

@ -13,10 +13,13 @@
void Foam::printMeshStats(const polyMesh& mesh, const bool allTopology)
{
Info<< "Mesh stats" << nl
<< " points: "
<< returnReduce(mesh.points().size(), sumOp<label>()) << nl;
Info<< " faces: "
<< " all points: "
<< returnReduce(mesh.allPoints().size(), sumOp<label>()) << nl
<< " live points: "
<< returnReduce(mesh.points().size(), sumOp<label>()) << nl
<< " all faces: "
<< returnReduce(mesh.allFaces().size(), sumOp<label>()) << nl
<< " live faces: "
<< returnReduce(mesh.faces().size(), sumOp<label>()) << nl
<< " internal faces: "
<< returnReduce(mesh.faceNeighbour().size(), sumOp<label>()) << nl