ASU-CompMethodsPhysics-PHY494 / final-2017-bogus_project

final-2017-bogus_project created by GitHub Classroom
0 stars 0 forks source link

Optimize Memory Usage #6

Open physgun opened 7 years ago

physgun commented 7 years ago

It's become clear that the real and imaginary lattice arrays are only needed for a couple of time steps at a time. If we combine the probability calculations with the integrator, we should be able to throw out all but two time steps of the real and imaginary arrays and save a bunch of memory usage.

Which is great, because my laptop locks up when attempting a 99x99x1 pixel sim for more than 4 seconds.