sundials
sundials copied to clipboard
Feature/default order 4 ark
Changes the default ERK and DIRK integrators to improve robustness of method and embedding
how much testing with various RK table options did you do before settling on these specific default tables?
I specifically chose these method due to there optimized properties and so that the number of explicit stages or implicit solves would be the same as the old defaults. Thus, the per step cost will likely not change significantly, but the accuracy or embedding quality will be better. This constraint doesn't leave many options, and I only tested the methods in this PR with the old defaults. If you have candidate methods you think might be better defaults, I can run some comparisons.
how much testing with various RK table options did you do before settling on these specific default tables?
I specifically chose these method due to there optimized properties and so that the number of explicit stages or implicit solves would be the same as the old defaults. Thus, the per step cost will likely not change significantly, but the accuracy or embedding quality will be better. This constraint doesn't leave many options, and I only tested the methods in this PR with the old defaults. If you have candidate methods you think might be better defaults, I can run some comparisons.
This is fine (at least for now). I'm working on updates to my regression-testing repository for ARKODE, that would hopefully allow us to do more thorough testing of different methods. That said, given the improvement here, I think that we can approve this PR, and if needed we can update the default method again if we find something better before the next release.
This PR will need a corresponding update of https://github.com/sundials-codes/answers to update the output files used in the GitHub actions CI.