heyoka.py 4.0.0 #172
bluescarni
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Breaking changes
Version 4 of heyoka.py introduces several backwards-incompatible changes, most of which have been prompted by user feedback. The updated heyoka.py API should be more streamlined, easier to use and more difficult to misuse.
The detailed list of breaking changes is available at the following page, along with instructions on how to update your code for the API modifications:
https://bluescarni.github.io/heyoka.py/breaking_changes.html#bchanges-4-0-0
If you have questions, please do not hesitate to ask.
Parallel compiled functions
The compiled function class
cfunc
has gained the ability to parallelise batch evaluations via multithreading. The tutorial has been updated accordingly:https://bluescarni.github.io/heyoka.py/notebooks/compiled_functions.html
Support for Lagrangian and Hamiltonian mechanics
heyoka.py is now able to automatically generate (and solve) the equations of motion from user-supplied Lagrangians and Hamiltonians. Here is a tutorial illustrating this new feature:
https://bluescarni.github.io/heyoka.py/notebooks/lagrangian.html#lagham-tut
Enhancements to the step callback API
It is now possible to pass a list of step callbacks as an optional argument to the
propagate_*()
functions. The callbacks will be automatically composed into a callback set and they will be executed at the end of each integration step.Performance improvements
The substitution primitive
subs()
has been substantially sped up. The compilation time of compiled functions has also been improved.New example/tutorial
A tutorial on gravity gradient stabilisation has been added:
https://bluescarni.github.io/heyoka.py/notebooks/gg_stab.html
The full changelog, as usual, is available here:
https://bluescarni.github.io/heyoka.py/changelog.html
This discussion was created from the release heyoka.py 4.0.0.
Beta Was this translation helpful? Give feedback.
All reactions