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

Proposal for ODE package: multistep methods #59

Open
aestriplex opened this issue May 18, 2022 · 3 comments
Open

Proposal for ODE package: multistep methods #59

aestriplex opened this issue May 18, 2022 · 3 comments

Comments

@aestriplex
Copy link

Proposal: multistep methods

Dear maintainers,
I am a Matlab user, and I am familiar with the ode solvers in Matlab.
In order to make gonum's ode package more complete (and more useful for people who need to solve a wide variety of ODEs), I would like to implement some multistep methods. To start, I aim to implement these three families of methods:

  • Adams-Bashfort,
  • Adams-Moulton,
  • Backward Difference Formula methods.

Of course, I'm going to keep the same structure of DormandPrince5 (i.e., implementing the Integrator interface).

Methods to implement

These are the coefficients for the methods that I wish to implement:

  1. Adams-Bashfort (explicit) methods
    Screenshot 2022-05-18 at 00 59 24

  2. Adams-Moulton (implicit) methods
    Screenshot 2022-05-18 at 00 59 31

  3. Backward Difference Formula methods
    Screenshot 2022-05-18 at 01 02 16

Thanks for your time,
Matteo Nicoli

@sbinet
Copy link
Member

sbinet commented Jun 2, 2022

I am quite ignorant wrt ODEs.
but as I see nobody responded yet, let me say your proposal sounds okay - to my ignorant ears.

to get the ball rolling, I'd say: try to implement the easiest of the 3 methods, together with an example (and tests).
and see what gives.

unless @kortschak @btracey @romanwerpachowski @vladimir-ch or @soypat have more insightful comments?

@soypat
Copy link
Contributor

soypat commented Jun 2, 2022

Sounds good!
I'll throw a couple related discussions your way in case you want some history on the ode package.

@aestriplex
Copy link
Author

@sbinet @soypat Ok,
I'll start working on AB4 then

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

3 participants