ENH: fluxSummary: move region count to debug scope

This commit is contained in:
mattijs
2015-12-01 15:43:29 +00:00
parent 62df6d188d
commit c02a29411e

View File

@ -513,6 +513,8 @@ void Foam::fluxSummary::initialiseCellZoneAndDirection
returnReduce(patch.nEdges(), sumOp<label>())
);
if (debug)
{
label nCells = 0;
forAll(allFaceInfo, faceI)
{
@ -522,8 +524,6 @@ void Foam::fluxSummary::initialiseCellZoneAndDirection
}
}
if (debug)
{
Info<< "*** region:" << regionI
<< " found:" << returnReduce(nCells, sumOp<label>())
<< " faces" << endl;