Hi, I am looking for a more performant method to manage several hundred models. Every model is a timestep in a simulation and consists of >100000 atoms. Currently, my solution holds the models as XYZ data in the memory and injects the data with JmolViewer.evaluateString when the user adjusts a slider control. The memory usage of about 2gigs for 500 models with each around 100000 atoms is fair, but the speed to perform a switch between a model could be faster. It takes a bit below a second. The script looks like that:
"set autobond OFF;load DATA "model data" 5660 C6E3 H 25.23 30.228 4.562 H 25.02 28.878 5.607 ...... end "model data" set showBoundBox TRUE;slab ON;set zshade on;set slabByAtom TRUE;set zShadePower 2;slab 100;set zslab 90;" However, my question is, is there a smarter way to increase the performance when switching between two models. I have tried to append the 500 models and only showing the active one, but the memory usage explodes. Perhabs is there another storage format which is more convenient for Jmol than XYZ. But on the other hand XYZ is so easy to assemble... Any solutions are welcome. Kind regards, Andreas ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

