Skip to content

Conversation

@nathanaelbosch
Copy link
Contributor

When benchmarking fixed-step solvers, plotting the step size or the number of function evaluations is often the desired result. And having quantities accessible such as the number of accepted and rejected steps, created Jacobians, etc, might also enable some more fancy evaluations. Saving dts and sol.stats into the WorkPrecision object would make this possible.

@nathanaelbosch
Copy link
Contributor Author

I just realized that while this works very well with ODEProblems and my own tests, it's a bit messy for ensemble problems and RODEs. I could go ahead and fix things, but I'll first wait for some feedback to make sure this is actually a desired change.

@nathanaelbosch nathanaelbosch marked this pull request as draft November 8, 2023 15:30
@nathanaelbosch nathanaelbosch marked this pull request as ready for review November 11, 2023 11:13
@nathanaelbosch
Copy link
Contributor Author

nathanaelbosch commented Nov 11, 2023

Locally the tests pass; and the formatting is off on the master branch already, so I didn't change it.

@ChrisRackauckas ChrisRackauckas merged commit 6b3ba9c into SciML:master Nov 11, 2023
@nathanaelbosch nathanaelbosch deleted the save_stats_and_dts branch November 12, 2023 12:31
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

Successfully merging this pull request may close these issues.

2 participants