You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update Van der Pol test implementations for DiffEqProblemLibrary.jl PR #153
DiffEqProblemLibrary.jl PR #153 removes ModelingToolkit dependency by converting
symbolic ODE problems to direct function implementations. This breaks two test
files that relied on accessing the ModelingToolkit system via prob_ode_vanderpol.f.sys.
Changes made:
- test/interface/stiffness_detection_test.jl: Replace ModelingToolkit system access
with explicit Van der Pol function implementations using correct variable ordering
- lib/OrdinaryDiffEqFIRK/test/ode_firk_tests.jl: Replace sys access with explicit
Van der Pol function using same ordering as new ODEProblemLibrary implementation
Variable ordering maintained: u[1] = x, u[2] = y, p[1] = μ
Equations preserved: dx/dt = y, dy/dt = μ((1-x²)y-x)
Initial conditions preserved:
- Stiffness test: [x, y] = [2.0, 0.0] (was [sys.x => 2.0, sys.y => 0])
- FIRK test: [x, y] = [sqrt(3), 0.0] (was [sys.x => sqrt(3), sys.y => 0])
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments