Removed setting of (newly generated) origId from particle if 'no read' specified

This commit is contained in:
andy
2010-01-21 13:50:01 +00:00
parent 0477a6eddd
commit 5000d734fa

View File

@ -60,10 +60,6 @@ Foam::Particle<ParticleType>::Particle
{ {
is >> origProc_ >> origId_; is >> origProc_ >> origId_;
} }
else
{
origId_ = cloud_.getNewParticleID();
}
} }
else else
{ {
@ -91,7 +87,6 @@ Foam::Particle<ParticleType>::Particle
+ sizeof(facei_) + sizeof(facei_)
+ sizeof(stepFraction_) + sizeof(stepFraction_)
); );
origId_ = cloud_.getNewParticleID();
} }
} }