unmapped particle did not get cellID set

This commit is contained in:
mattijs
2009-04-01 10:33:50 +01:00
parent 731ae70e5c
commit 103b37d5e1
3 changed files with 10 additions and 0 deletions

View File

@ -329,6 +329,9 @@ public:
//- Return current particle position
inline vector& position();
//- Return current cell particle is in
inline label& cell();
//- Return current cell particle is in
inline label cell() const;

View File

@ -303,6 +303,12 @@ inline label Particle<ParticleType>::cell() const
return celli_;
}
template<class ParticleType>
inline label& Particle<ParticleType>::cell()
{
return celli_;
}
template<class ParticleType>
inline label Particle<ParticleType>::face() const