mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: fluxSummary: move region count to debug scope
This commit is contained in:
@ -513,17 +513,17 @@ void Foam::fluxSummary::initialiseCellZoneAndDirection
|
||||
returnReduce(patch.nEdges(), sumOp<label>())
|
||||
);
|
||||
|
||||
label nCells = 0;
|
||||
forAll(allFaceInfo, faceI)
|
||||
{
|
||||
if (allFaceInfo[faceI].region() == regionI)
|
||||
{
|
||||
nCells++;
|
||||
}
|
||||
}
|
||||
|
||||
if (debug)
|
||||
{
|
||||
label nCells = 0;
|
||||
forAll(allFaceInfo, faceI)
|
||||
{
|
||||
if (allFaceInfo[faceI].region() == regionI)
|
||||
{
|
||||
nCells++;
|
||||
}
|
||||
}
|
||||
|
||||
Info<< "*** region:" << regionI
|
||||
<< " found:" << returnReduce(nCells, sumOp<label>())
|
||||
<< " faces" << endl;
|
||||
|
||||
Reference in New Issue
Block a user