Commit e35d2e53 authored by sergio's avatar sergio
Browse files

BUG: Fixing issue 505 in GL. Initializing switchProcessor and keepParticle in...

BUG: Fixing issue 505 in GL. Initializing switchProcessor and keepParticle in CollidingParcel and MPPICParcel
parent 0d3ada09
......@@ -70,6 +70,7 @@ bool Foam::CollidingParcel<ParcelType>::move
static_cast<typename TrackData::cloudType::parcelType&>(*this);
td.keepParticle = true;
td.switchProcessor = false;
switch (td.part())
{
......
......@@ -63,6 +63,8 @@ bool Foam::MPPICParcel<ParcelType>::move
typename TrackData::cloudType::parcelType& p =
static_cast<typename TrackData::cloudType::parcelType&>(*this);
td.switchProcessor = false;
switch (td.part())
{
case TrackData::tpLinearTrack:
......
Supports Markdown
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