-
Notifications
You must be signed in to change notification settings - Fork 34
Integrator options support + validation #786
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
Conversation
- Added class methods for getting/validating integrator options - Updated `TauHybridCSolver` to use it
- Move `--atol`, `--reltol`, and `--max_step` results into separate struct - Update ODE and Hybrid C++ solvers to use this struct
- Added `--max_step` support to `ODECSolver` - Added `configure()` method to `TauHybridCSolver`'s integrator
|
Please add unit test to see that an warning is not raised when --rtol, etc are passed to the solver object. |
BryanRumsey
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.
Integrator options were not added to ODECSolver.run
Added along with a unit test. |
A unit test was added. |
Implements support for CVODE integrator options in C++ solvers, as well as implementing a more extensible approach for validating and modifying supported integrator options for each solver.
Each solver may "declare" which integrator options they support by overriding the
GillesPySolver.get_supported_integrator_optionsclass method and returning a set of supported options.Changes
TauHybridCSolver#runandODECSolver#runnow supportintegrator_optionsas an argumentrtol,atol, andmax_stepas optionsFixes
Closes #730