Skip to content
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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

Shreyas-Ekanathan
Copy link
Contributor

@Shreyas-Ekanathan Shreyas-Ekanathan commented Sep 27, 2024

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

Add any other context about the problem here.

CompatHelper Julia and others added 8 commits September 20, 2024 12:33
@@ -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)
Copy link
Contributor

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.

Copy link
Contributor Author

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?

Copy link
Member

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.

Copy link
Contributor

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
Copy link
Contributor

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

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.

3 participants