-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
Add Order Adaptivity to Radau #2478
base: master
Are you sure you want to change the base?
Conversation
…r package downstream, (keep existing compat)
…n/2024-09-20-12-33-04-980-00553399318 CompatHelper: add new compat entry for OrdinaryDiffEq at version 6 for package downstream, (keep existing compat)
@@ -24,8 +24,9 @@ | |||
q | |||
end | |||
|
|||
function step_accept_controller!(integrator, controller::PredictiveController, alg, q) | |||
function step_accept_controller!(integrator, controller::PredictiveController, alg::Union{RadauIIA3, RadauIIA5, RadauIIA9}, q) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this restriction on the alg isn't desired.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why? don't we have to specify which controller each algorithm should use?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PredictiveController is not Radau-specific.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the controller isn't set by dispatch. It's user configurable with the default set in algorithms.jl
.
tab = adaptiveRadauTableau(uToltype, constvalue(tTypeNoUnits), num_stages) | ||
|
||
min = alg.min_num_stages | ||
max = alg.max_num_stages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename min_stages
and max_stages
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
Add any other context about the problem here.