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,11 +2034,19 @@ void Foam::meshRefinement::findCellZoneTopo
if (debug)
{
Pout<< "meshRefinement::findCellZoneTopo :"
<< " nRegions:" << regionToCellZone.size()
<< " of which visited (-1 = background, >= 0 : cellZone) :"
<< endl;
forAll(regionToCellZone, regionI)
{
Pout<< "Region " << regionI
<< " becomes cellZone:" << regionToCellZone[regionI]
<< endl;
if (regionToCellZone[regionI] != -2)
{
Pout<< "Region " << regionI
<< " becomes cellZone:" << regionToCellZone[regionI]
<< endl;
}
}
}