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

retcode field in DiffEqArray #197

Open
ivborissov opened this issue May 9, 2022 · 0 comments
Open

retcode field in DiffEqArray #197

ivborissov opened this issue May 9, 2022 · 0 comments

Comments

@ivborissov
Copy link

As discussed in Slack. DiffEqArray is a convenient way to reduce Solution type and wrap (u,t) results, it seems reasonable to add optional retcode field to DiffEqArray. What do you think? My current setup is: I run ensemble simulations and reduce each simulation to a DiffEqArray storing just (u,t) . Some parameters sets may result in Unstable retcode or Terminated if some termination criteria is present. To filter such simulations I define a solution type like

struct MySol
 sol::DiffEqArray
 retcode::Symbol
end

to save both solution and it's retcode

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

No branches or pull requests

1 participant