We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SCCNonlinearProblem
1 parent f42ee57 commit 7775150Copy full SHA for 7775150
test/scc_nonlinear_problem.jl
@@ -1,5 +1,6 @@
1
using ModelingToolkit
2
using NonlinearSolve, SCCNonlinearSolve
3
+using OrdinaryDiffEq
4
using SciMLBase, Symbolics
5
using LinearAlgebra, Test
6
@@ -62,7 +63,7 @@ end
62
63
tspan = (0.0, 1.0)
64
mass_matrix = [1.0 0.0 0.0 0.0 0.0; 0.0 1.0 0.0 0.0 0.0; 0.0 0.0 1.0 0.0 0.0;
65
0.0 0.0 0.0 0.0 0.0; 0.0 0.0 0.0 0.0 0.0]
-
66
+ dt = 1e-3
67
function nlf(u1, (u0, p))
68
resid = Any[0 for _ in u0]
69
f!(resid, u1, p, 0.0)
0 commit comments