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

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