ENH: autoCellLayer: improved message

This commit is contained in:
mattijs
2011-04-13 17:18:45 +01:00
parent a653f2d027
commit 2a7df7f20b

View File

@ -2615,9 +2615,12 @@ void Foam::autoLayerDriver::addLayers
extrudeStatus extrudeStatus
); );
Info<< "Extruding " << countExtrusion(pp, extrudeStatus) label nExtruded = countExtrusion(pp, extrudeStatus);
<< " out of " << returnReduce(pp().size(), sumOp<label>()) label nTotFaces = returnReduce(pp().size(), sumOp<label>());
<< " faces. Removed extrusion at " << nTotChanged << " faces." Info<< "Extruding " << nExtruded
<< " out of " << nTotFaces
<< " faces (" << 100.0*nExtruded/nTotFaces << "%)."
<< " Removed extrusion at " << nTotChanged << " faces."
<< endl; << endl;
if (nTotChanged == 0) if (nTotChanged == 0)