ENH: Moved cloud warning inside debug clause

This commit is contained in:
andy
2010-11-11 10:28:27 +00:00
parent 7cb9c39b3e
commit cb45c789b5

View File

@ -120,11 +120,14 @@ void Foam::Cloud<ParticleType>::initCloud(const bool checkClass)
} }
} }
else else
{
if (debug)
{ {
Pout<< "Cannot read particle positions file:" << nl Pout<< "Cannot read particle positions file:" << nl
<< " " << ioP.path() << nl << " " << ioP.objectPath() << nl
<< "Assuming the initial cloud contains 0 particles." << endl; << "Assuming the initial cloud contains 0 particles." << endl;
} }
}
// Ask for the tetBasePtIs to trigger all processors to build // Ask for the tetBasePtIs to trigger all processors to build
// them, otherwise, if some processors have no particles then // them, otherwise, if some processors have no particles then