Add conditions to analytic integrators #93
Draft
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.
The current ODE-toolbox release detects conditions under which singularities can occur. This PR adds a feature that allows ODE-toolbox to generate separate solvers for each of these conditions.
The new condition format looks like this (for instance, for a parameter$p$ in the inhomogeneous part):
Replaces #89.
Split off testing requirements into a separate
requirements-testing.txt
.Sadly, the old 1.10.1 sympy version gets stuck on
test_analytic_solver_integration.py
and introduces numerical errors, so I've set the test to skip for older versions and added a line into the documentation.N.B. after merging this, the version number of ODE-toolbox should be bumped to 3.0.0, as this feature changes the external API.