STYLE: use DebugInFunction macro

This commit is contained in:
Mark Olesen
2020-05-01 16:11:18 +02:00
parent a3c226a1bd
commit a1ccd1b716
56 changed files with 360 additions and 840 deletions

View File

@ -56,10 +56,7 @@ void Foam::patchSeedSet::calcSamples
DynamicList<scalar>& samplingCurveDist
)
{
if (debug)
{
Info<< "patchSeedSet : sampling on patches :" << endl;
}
DebugInfo << "patchSeedSet : sampling on patches :" << endl;
// Construct search tree for all patch faces.
label sz = 0;
@ -69,10 +66,7 @@ void Foam::patchSeedSet::calcSamples
sz += pp.size();
if (debug)
{
Info<< " " << pp.name() << " size " << pp.size() << endl;
}
DebugInfo << " " << pp.name() << " size " << pp.size() << endl;
}
labelList patchFaces(sz);