-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
import AbstractController from OrdinaryDiffEq.jl #522
base: master
Are you sure you want to change the base?
Conversation
Maybe this should be implemented in OrdinaryDiffEq and then just used with any solver? |
Can you elaborate? I thought that it's fine to let a user define their own controller type as a subtype of |
I mean, why not implement CustomController in OrdinaryDiffEq and then document it as a feature for ODEs, SDEs, DDEs, DAEs, and SDDEs? |
What would that look like? Would we only add struct CustomController <: StochasticDiffEq.AbstractController
end to OrdinaryDiffEq? Wouldn't that be worse than leaving the type "free"? I have in mind that users might want to do something sophisticated and it would be good, e.g., if |
Yeah, I think some documented type where a user gives some functions like that. |
Isn't |
Documenting it might be all that's necessary. |
Maybe on this page https://docs.sciml.ai/DiffEqDocs/stable/extras/timestepping/? |
That seems right. |
If Controllers should subtype
StochasticDiffEq.AbstractController
this will allow us to implement custom adaptive schemes easily.