Skip to content
Snippets Groups Projects
Commit 34806371 authored by graham's avatar graham
Browse files

BUG: must trigger polyMesh_.tetBasePtIs(); in all Cloud constructors.

parent cb45c789
Branches
Tags
No related merge requests found
......@@ -84,6 +84,11 @@ Foam::Cloud<ParticleType>::Cloud
nTrackingRescues_(),
cellWallFacesPtr_()
{
// 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();
IDLList<ParticleType>::operator=(particles);
}
......@@ -105,6 +110,11 @@ Foam::Cloud<ParticleType>::Cloud
nTrackingRescues_(),
cellWallFacesPtr_()
{
// 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();
IDLList<ParticleType>::operator=(particles);
}
......
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