Menu

Commit [r23943]  Maximize  Restore  History

Small speed up for all of the frame order models.

The PCS averaging in the quasi-random numerical integration functions now uses the multiply() and
divide() numpy methods to eliminate a loop over the alignments. For this, a new dimension over the
spins was added to the PCS constant calculated in the target function __init__() method. In one
test of the pseudo-ellipse, the time dropped from 191 seconds to 172.

bugman 2014-06-13

changed /branches/frame_order_cleanup/lib/frame_order/double_rotor.py
changed /branches/frame_order_cleanup/lib/frame_order/iso_cone.py
changed /branches/frame_order_cleanup/lib/frame_order/iso_cone_torsionless.py
changed /branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse.py
changed /branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse_torsionless.py
changed /branches/frame_order_cleanup/lib/frame_order/rotor.py
changed /branches/frame_order_cleanup/target_functions/frame_order.py
/branches/frame_order_cleanup/lib/frame_order/double_rotor.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/frame_order/iso_cone.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/frame_order/iso_cone_torsionless.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/frame_order/pseudo_ellipse_torsionless.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/lib/frame_order/rotor.py Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/target_functions/frame_order.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.