Commit cb45c789 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: Moved cloud warning inside debug clause

parent 7cb9c39b
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment