mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user