BUG: Particle. Tolerance was not appropriate.

This commit is contained in:
graham
2010-04-12 18:08:11 +01:00
parent 1d7074a0b5
commit ed33dc3eb9
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ License
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
template<class ParticleType>
const Foam::scalar Foam::Cloud<ParticleType>::minValidTrackFraction = SMALL;
const Foam::scalar Foam::Cloud<ParticleType>::minValidTrackFraction = 1e-6;
template<class ParticleType>
const Foam::scalar Foam::Cloud<ParticleType>::trackingRescueTolerance = 1e-4;

View File

@ -472,7 +472,7 @@ void Foam::Particle<ParticleType>::trackToFacePlanes
// In both cases resolve the positional ambiguity by moving the particle
// slightly towards the cell-centre.
if (trackFraction < Cloud<ParticleType>::minValidTrackFraction)
if (trackFraction < SMALL)
{
const polyMesh& mesh = cloud_.pMesh();