Print a warning if the "positions" file is missing.

This commit is contained in:
henry
2008-08-13 16:19:48 +01:00
parent 99ad8e1d99
commit 461745524f

View File

@ -46,6 +46,13 @@ void Foam::Cloud<ParticleType>::initCloud(const bool checkClass)
readFields();
}
}
else
{
WarningIn("Cloud<ParticleType>::initCloud(const bool checkClass)")
<< "Cannot read particle positions file " << nl
<< " " << ioP.path() << nl
<< " assuming the initial cloud contains 0 particles." << endl;
}
}