Skip to content
Snippets Groups Projects
Commit 4b75568c authored by graham's avatar graham
Browse files

Added an if (cR < SMALL) guard to VHS sigmaTcR calculation. Giving each...

Added an if (cR < SMALL) guard to VHS sigmaTcR calculation.  Giving each processor a different random number generator seed, otherwise they follow the same sequence and are not independent.  Tnis is a practical problem because they were producing molecules with the same velocity in neighbouring cells on different procs which then collided and caused a floating point error because they had equal velocities.
parent 9c32b96e
Branches
Tags
No related merge requests found
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