ovilab / atomify

Atomify - a realtime LAMMPS visualizer
GNU General Public License v3.0
149 stars 20 forks source link

Only synchronize important things when simulationSpeed is > 1 #377

Open andeplane opened 6 years ago

andeplane commented 6 years ago

Now all computes, fixes and variables get synchronized every timestep even though simulationSpeed is i.e. 10. This affects performance since we need to do a lot of stuff.

It would make sense to measure computes just every N'th step with simulationSpeed=N, but fix ave/time for instance should be measured right after the value has been averaged to get correct timestamp on those values.