Menu

Commit [r23244]  Maximize  Restore  History

Huge speed up of the CaM frame order test data generation base script.

By using multidimensional numpy arrays to store the atomic positions and XH unit vectors of all
spins, and performing the rotations on these structures using numpy.tensordot(), the calculations
are now a factor of 10 times faster. The progress meter had to be changed to show every 1000 rather
than 100 iterations.

The rotations of the positions and vectors are now performed sequentially, accidentally fixing a bug
with the double motion models (i.e. the 'double rotor' model).

bugman 2014-05-19

changed /branches/frame_order_cleanup/test_suite/shared_data/frame_order/cam/generate_base.py
/branches/frame_order_cleanup/test_suite/shared_data/frame_order/cam/generate_base.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.