-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Adding ETD2RK4 exponential integrator algorithm #1661
base: master
Are you sure you want to change the base?
Conversation
Rename PR to reflect contribution? |
Done! Thanks for the suggestion :-) |
|
||
if integrator.iter == 1 | ||
# Initialize the first step using Dorm-Prince-5 (also 4th-order) | ||
aij = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We normally write the tableau in https://github.com/SciML/OrdinaryDiffEq.jl/blob/master/src/tableaus/low_order_rk_tableaus.jl so it is only initialized once.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @YingboMa , sorry for the slow reply. So, I should use one of the tableaus for Dorm-Prince-5 that is already in that file for the first-step initialization? Ok, I will try to make that change and resubmit over the next few days.
Development to add a new exponential integrator, ETD2RK4 from Krogstad's 2005 paper. Krylov/non-krylov OOP versions are implemented and seem to be working (although tests are throwing an error). IIP versions still need to be added. First step is calculated using DP5 (which is also 4th-order).