-
Notifications
You must be signed in to change notification settings - Fork 36
Split Solver.run() function #196
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
Split Solver.run() function #196
Conversation
… functionality of the former run() function
mrp089
left a comment
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.
Looks good, just some minor things
applications/pysvzerod.cpp
Outdated
| .def("run", &Solver::run) | ||
| .def("setup_initial", &Solver::setup_initial) | ||
| .def("setup_integrator", &Solver::setup_integrator) | ||
| .def("run_integration", &Solver::run_integration) |
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.
Use run function instead
src/solve/Solver.h
Outdated
| // * | ||
| // */ | ||
| // void run(); | ||
|
|
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.
Remove commented code
src/solve/Solver.h
Outdated
| std::vector<double> times; | ||
| State initial_state; | ||
|
|
||
| // Time integration variables added as class variables |
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.
Remove comment and group new variables with the ones above (e.g. put the states together)
Split Solver.run() function to be able to run simulations with multiple different time scales
Current situation
It is only possible to have one integrator per simulation, so setting up of simulations that require multiple time scales cannot be implemented.
Release Notes
Testing
All tests run
Code of Conduct & Contributing Guidelines