Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev

This commit is contained in:
andy
2010-10-07 17:17:55 +01:00

View File

@ -121,12 +121,16 @@ void Foam::Cloud<ParticleType>::initCloud(const bool checkClass)
} }
else else
{ {
WarningIn("Cloud<ParticleType>::initCloud(const bool checkClass)") Pout<< "Cannot read particle positions file " << nl
<< "Cannot read particle positions file " << nl
<< " " << ioP.path() << nl << " " << ioP.path() << 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
// them, otherwise, if some processors have no particles then
// there is a comms mismatch.
polyMesh_.tetBasePtIs();
forAllIter(typename Cloud<ParticleType>, *this, pIter) forAllIter(typename Cloud<ParticleType>, *this, pIter)
{ {
ParticleType& p = pIter(); ParticleType& p = pIter();