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

Add semi-implicit Euler integrator #9

Merged
merged 2 commits into from
Sep 20, 2022
Merged

Conversation

diegoferigo
Copy link
Member

@diegoferigo diegoferigo commented Sep 19, 2022

This PR implements a semi-implicit Euler integrator as described in https://en.wikipedia.org/wiki/Semi-implicit_Euler_method.

Contrarily to the other integrators we have (forward Euler, Runge-Kutta 4), the new integrator does not work on any generic PyTree. In fact, this integrator is specific to Hamiltonian systems where the ODE can be described in terms of positions and velocities.

As an overview, our ODE is structured as follows:

@diegoferigo diegoferigo self-assigned this Sep 19, 2022
@diegoferigo diegoferigo force-pushed the feature/semi_implicit_euler branch 2 times, most recently from 59dee25 to 1df094d Compare September 19, 2022 16:43
@diegoferigo diegoferigo force-pushed the feature/semi_implicit_euler branch from fd123e3 to 076acdb Compare September 20, 2022 06:56
@diegoferigo diegoferigo merged commit 1a89f43 into main Sep 20, 2022
@diegoferigo diegoferigo deleted the feature/semi_implicit_euler branch September 20, 2022 07:06
flferretti added a commit that referenced this pull request Sep 11, 2024
…ile (#9)

* Update `pixi` lockfile in CI

* Use uniquely named branches when opening PRs

* Install `pixi-diff-to-markdown` via `pixi`
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

Successfully merging this pull request may close these issues.

1 participant