aakash58 / connchem

Automatically exported from code.google.com/p/connchem
0 stars 0 forks source link

Simulations should begin paused by default #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start any simulation

All simulations should begin with molecules not moving (paused sim).  However, 
instead they start moving right away, without the user clicking on the 
Play/Pause button.

This may be non-trivial, because molecules do not have time to build momentum, 
hence to store it when paused.  May need to start all molecules with default 
momentum, in whatever direction they are travelling.

Original issue reported on code.google.com by allan.be...@gmail.com on 3 Feb 2011 at 7:56

GoogleCodeExporter commented 8 years ago
I "fixed" this, by running one draw() loop before pause.  This is not optimal, 
just a kluge... new molecules added to the sim after this still begin stopped.  
A better solution will have to wait for implementation of the Physics engine.

Original comment by allan.be...@gmail.com on 18 Feb 2011 at 1:29