sundials icon indicating copy to clipboard operation
sundials copied to clipboard

Feature/default order 4 ark

Open Steven-Roberts opened this issue 1 year ago • 3 comments

Changes the default ERK and DIRK integrators to improve robustness of method and embedding

Steven-Roberts avatar Sep 23 '23 03:09 Steven-Roberts

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.

Steven-Roberts avatar Sep 25 '23 18:09 Steven-Roberts

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.

drreynolds avatar Sep 25 '23 18:09 drreynolds

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.

balos1 avatar Sep 26 '23 16:09 balos1