Skip to content
Snippets Groups Projects
Commit bb3910dd authored by Henry Weller's avatar Henry Weller
Browse files

SprayParcel: Set the 'origId' of the child parcels

parent fdee4288
No related branches found
No related tags found
1 merge request!60Merge foundation
......@@ -285,6 +285,7 @@ void Foam::SprayParcel<ParcelType>::calcBreakup
// Add child parcel as copy of parent
SprayParcel<ParcelType>* child = new SprayParcel<ParcelType>(*this);
child->origId() = this->getNewParticleID();
child->d() = dChild;
child->d0() = dChild;
const scalar massChild = child->mass();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment