-
-
Notifications
You must be signed in to change notification settings - Fork 79
Adaptive timestepping in high-level interface? #75
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
Comments
What do you mean by "access CVode's adaptive timestepping"? You can set relative and absolute tolerances and Sundials is choosing the appropriate time-steps. AFAIK you can't access the internal times/results though ... |
I found out how to do it. I meant that I wanted to get all the internal steps and solutions. I will be putting the PR to access all this shortly (a few minutes?) |
Great! This would be useful to have for the simplified interface (also in view of #10). |
As was discussed a little bit in #67, it might be worth to improve API introduced by c4f46b2. I would suggest to merge
Since #67 would be merged rather soon and it would require the new minor tag, it would be nice to solve this API issue before tagging. @ChrisRackauckas do you want to prepare the PR along these lines? (once #67 is merged) |
Sure, that sounds like a reasonable way to handle the issues. |
I am not so fond of changing the output type with a keyword. It's not type stable and could lead to performance degradations (depending on what one does of course). I know that the |
Yes, that's my major concern as well. OTOH, type stability is not a big problem here, because normally The other alternative would be |
The in-place with dispatch method could be nice. It would allow for But the kwarg for |
We should probably handle #40 at the same time too. Add a callback function as a kwarg which defaults to identity? I could put in an example showing how to make it plug into the Juno progressbar (which is what I plan to do with DifferentialEquations.jl anyways), but the same kind of thing would make it work with ProgressMeter.jl. |
I agree, a kwarg for The call-back issue #40 should IMO be handled separately (even if it is only a small PR). |
Can I get a review from someone? #87. I think that supporting I would also like to change the output to a specialized output type. I like this option more since it allows for more output while not bloating the user burden (most might just use Then again, I am seeing that I might need a much more advanced interface anyways for DifferentialEquations.jl, so if you want something type-free I am good and I'll be forking it off to something else. Also, I just found out about |
Satisfied by the common interface. |
Uh oh!
There was an error while loading. Please reload this page.
Hey, I am in the process of wrapping some of Sundials into DifferentialEquations.jl and was wondering how you access CVode's adaptive timestepping with the high level interface here. Is it possible? Is there a work around that's needed?
Also, when doing adaptive, where do you find out what times it solved at?
The text was updated successfully, but these errors were encountered: