expose setting of max-steps to python interface & test #581
+60
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes proposed in this pull request:
I am using Cantera (as typically) to validate other ODE solvers. As such I typically want to set the network reactor tolerances to very stringent values (e.g.,
atol=1e-20
,rtol=1e-15
) and run ignition problems over a wide range of conditions.The issue I'm currently facing is that the default # of steps (appears to be 20k?) works for most cases, but not all. Rather than playing the game of trying to modify the tolerances to fit in the number of steps, it would be nice if we could just expose this property to the user via the python interface.
Let me know if there are any comments / concerns,
Best,
Nick