-
-
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
Perform step refactor for Tsit #2431
base: master
Are you sure you want to change the base?
Conversation
how does the performance compare? |
Explicit RK is a bit tougher. It has a lot harder performance-wise. It needs a good understanding of #233 (comment) |
Okay. I will refer that comment |
@ChrisRackauckas Just needed your review on this. All the tests that have failed show some sort of precision and dimension mismatch. |
I don't understand the point of this PR. As mentioned in the other threads and the comment above, the general tableau for ERK methods is about feature-completeness and correctness of ExplicitRK and subsuming other RKs into that. |
Actually, all I did here is refactor of perform_step implementations focusing only on the tsit solvers. The Tsit tableau was implemented in the library for this solvers. So I just refactored it that way. Focusing only on this. |
Yes, that does not make sense given ExplicitRK exists. |
So should I be doing ExplicitRK first and then combining tsit into it ?? |
ExplicitRK exists and has a Tsit5 tableau already. Its mostly about feature-completeness and performance now. |
So what should be done further as far as this PR is concerned ? |
@ChrisRackauckas should I move on with the refactoring of ExplicitRK first ?? |
No it's already "refactored". It's about improving it and feature completing it. Testing it against the other implementations of RKs and making sure it floating point matches, and making sure default controller values are set appropriately. |
Got it. Should I work towards feature completing it? What should be the first thing that should be done to start off with that ? |
Run Tsit5 and the tableau form of Tsit5 and get the times array to match exactly. I think the controller params are probably the place to start. |
@ChrisRackauckas I ran the Tsit5 and its tableau form on a sample DE as follows : and the times arrays seem to match exactly |
What about with stiffness detection and switching? |
|
I mean build an autoswitch alg that uses the ExplicitRK version, does that match the Tsit5 behavior? |
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
Add any other context about the problem here.
solves a part of #233