HamishGBrown / MuSTEM

Open source version of the MuSTEM multislice electron microscopy simulation code, developed at the University of Melbourne.
http://tcmp.ph.unimelb.edu.au/mustem/muSTEM.html
GNU General Public License v3.0
54 stars 26 forks source link

Play All not working #5

Open k8macarthur opened 5 years ago

k8macarthur commented 5 years ago

Hi Hamish, I tried to use the 'play all' option this afternoon

I hit an error when it tries to run the second file saying 'Array already allocated'.

HamishGBrown commented 5 years ago

Hi Kate, This is because of the unfortunate dependence of the muSTEM code on allocatable global arrays. Despite my best efforts I keep on running into arrays that are not deallocated for subsequent runs of the program. Would you mind sending me the files you are using to run the example and I can hunt down which allocateable arrays are at fault in this particular instance?

k8macarthur commented 5 years ago

Not to worry I just thought I'd try the option as I you mentioned it in your talk. I'm just doing basic Pt library simulations with different thicknesses. Basic example attached: simulations000.zip