Optional debug output in polyRef
This commit is contained in:
parent
58a6946769
commit
993b979617
1 changed files with 5 additions and 1 deletions
|
@ -800,7 +800,11 @@ Foam::label Foam::polyRef::getAnchorLevel(const label faceI) const
|
|||
}
|
||||
}
|
||||
|
||||
Info<< "nPointsPerLevel: " << nPointsPerLevel << endl;
|
||||
if (debug)
|
||||
{
|
||||
// Print out number of points per level
|
||||
Info<< "nPointsPerLevel: " << nPointsPerLevel << endl;
|
||||
}
|
||||
|
||||
// Find level with maximum number of points
|
||||
const label maxLevelI = findMax(nPointsPerLevel);
|
||||
|
|
Reference in a new issue