Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance of differential equation #67

Open
JordiBolibar opened this issue Feb 19, 2024 · 0 comments
Open

Improve performance of differential equation #67

JordiBolibar opened this issue Feb 19, 2024 · 0 comments

Comments

@JordiBolibar
Copy link
Member

There might still be room for improvement in terms of speed for the rotation differential equation:

    function ude_rotation!(du, u, p, t)
        # Angular momentum given by network prediction
        L = U([t], p, st)[1]
        du .= cross(L, u)
    end

L is currently out-of-place. I'll try to implement it in-place and see if the reverse differentiation packages don't complain about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant