Improved mesh statistics for dynamic changes
This commit is contained in:
parent
df6585a234
commit
40c365c0a6
1 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
|
Reference in a new issue