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

This commit is contained in:
sergio
2017-06-26 08:47:46 -07:00
parent 0d3ada09f5
commit e35d2e53c9
2 changed files with 3 additions and 0 deletions

View File

@ -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())
{

View File

@ -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: