diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-20 12:55:11 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-20 12:55:11 (GMT) |
| commit | 29283b038c4c7966e656e38b3ff25574521b543d (patch) | |
| tree | 19fa5aee911e791537112cfbcdb8466957b37688 /src/simulation/Simulation.cpp | |
| parent | 7fc8d5f388039da885b3432cdfe7d5b7f4ace07c (diff) | |
| download | powder-29283b038c4c7966e656e38b3ff25574521b543d.zip powder-29283b038c4c7966e656e38b3ff25574521b543d.tar.gz | |
TPT: Consistent proportions of WATR and SALT in SLTW (1 SALT + 3 WATR = 4 SLTW)
Diffstat (limited to 'src/simulation/Simulation.cpp')
| -rw-r--r-- | src/simulation/Simulation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index d9da206..88dcc9e 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -3626,7 +3626,7 @@ void Simulation::update_particles_i(int start, int inc) { pt = (c_heat - elements[t].Enthalpy)/c_Cm; - if (1>rand()%6) t = PT_SALT; + if (rand()%4==0) t = PT_SALT; else t = PT_WTRV; } else |
