Commit cc8781f4 authored by Henry Weller's avatar Henry Weller
Browse files

ORourkeCollision: Corrected probability test

Resolves bug-report
parent 232a2a09
......@@ -142,7 +142,7 @@ bool Foam::ORourkeCollision<CloudType>::collideParcels
scalar xx = this->owner().rndGen().template sample01<scalar>();
// Collision occurs
if (xx < collProb)
if (xx > collProb)
if (d1 > d2)
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