ENH: snappyHexMesh: limit debug printing. See #941.

This commit is contained in:
mattijs
2018-07-23 12:42:49 +01:00
parent 423ed38986
commit c26ef75df4

View File

@ -2034,13 +2034,21 @@ void Foam::meshRefinement::findCellZoneTopo
if (debug) if (debug)
{ {
Pout<< "meshRefinement::findCellZoneTopo :"
<< " nRegions:" << regionToCellZone.size()
<< " of which visited (-1 = background, >= 0 : cellZone) :"
<< endl;
forAll(regionToCellZone, regionI) forAll(regionToCellZone, regionI)
{
if (regionToCellZone[regionI] != -2)
{ {
Pout<< "Region " << regionI Pout<< "Region " << regionI
<< " becomes cellZone:" << regionToCellZone[regionI] << " becomes cellZone:" << regionToCellZone[regionI]
<< endl; << endl;
} }
} }
}
// Rework into cellToZone // Rework into cellToZone
forAll(cellToZone, cellI) forAll(cellToZone, cellI)