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

using ContinuationPar directly as input to bifurcationdiagram (rather than (args...) -> opts_br) #132

Closed
TorkelE opened this issue Nov 22, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@TorkelE
Copy link

TorkelE commented Nov 22, 2023

Currently, when I want to provide options to bifurcationdiagram I do something like this:

opts_br = ContinuationPar(dsmin = 0.0001, dsmax = 0.001, ds = 0.0001, max_steps = 10000, p_min = p_span[1], p_max = p_span[2], n_inversion = 4)
bif_dia = bifurcationdiagram(bprob, PALC(), 2, (args...) -> opts_br; bothside = true)

Wouldn't it be neater to simply permit:

bif_dia = bifurcationdiagram(bprob, PALC(), 2, opts_br; bothside = true)

and internally it is converted to the second? There might be some internal reason why this is not possible though?

@rveltz
Copy link
Member

rveltz commented Nov 22, 2023

Yes it would be good! Ill look into it, I dont think there is anything preventing it

@rveltz rveltz added the enhancement New feature or request label Nov 23, 2023
@rveltz
Copy link
Member

rveltz commented Feb 5, 2024

This should be good on master

@rveltz rveltz closed this as completed Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants