Skip to content

Commit 07559d6

Browse files
authored
Merge pull request #63 from SciML/myb/Wfact
Remove Wfact
2 parents c4f11ab + d82ad3b commit 07559d6

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DiffEqProblemLibrary"
22
uuid = "a077e3f3-b75c-5d7f-a0c6-6bc4c8ec64a9"
33
authors = ["Chris Rackauckas <[email protected]>"]
4-
version = "4.8.0"
4+
version = "4.8.1"
55

66
[deps]
77
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"

src/ode/ode_simple_nonlinear_prob.jl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ prob_ode_fitzhughnagumo = ODEProblem(fitz,[1.0;1.0],(0.0,1.0),(0.7,0.8,1/12.5,0.
5555
eqs = [D(x) ~ μ*((1-x^2)*y - x),
5656
D(y) ~ y]
5757
de = ODESystem(eqs)
58-
van = ODEFunction(de, [x,y], [μ], jac=true, Wfact=true)
58+
van = ODEFunction(de, [x,y], [μ], jac=true)
5959

6060
"""
6161
Van der Pol Equations
@@ -97,7 +97,7 @@ eqs = [D(y₁) ~ -k₁*y₁+k₃*y₂*y₃,
9797
D(y₂) ~ k₁*y₁-k₂*y₂^2-k₃*y₂*y₃,
9898
D(y₃) ~ k₂*y₂^2]
9999
de = ODESystem(eqs)
100-
rober = ODEFunction(de, [y₁,y₂,y₃], [k₁,k₂,k₃], jac=true, Wfact=true)
100+
rober = ODEFunction(de, [y₁,y₂,y₃], [k₁,k₂,k₃], jac=true)
101101

102102
"""
103103
The Robertson biochemical reactions: (Stiff)
@@ -174,7 +174,7 @@ eqs = [D(y₁) ~ I₁*y₂*y₃,
174174
D(y₂) ~ I₂*y₁*y₃,
175175
D(y₃) ~ I₃*y₁*y₂]
176176
de = ODESystem(eqs)
177-
rigid = ODEFunction(de, [y₁,y₂,y₃], [I₁,I₂,I₃], jac=true, Wfact=true)
177+
rigid = ODEFunction(de, [y₁,y₂,y₃], [I₁,I₂,I₃], jac=true)
178178

179179
"""
180180
Rigid Body Equations (Non-stiff)
@@ -334,7 +334,7 @@ eqs = [D(y1) ~ -p1*y1 + p2*y2 + p3*y3 + p4,
334334
de = ODESystem(eqs)
335335
hires = ODEFunction(de, [y1,y2,y3,y4,y5,y6,y7,y8],
336336
[p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12],
337-
jac=true, Wfact=true)
337+
jac=true)
338338

339339
u0 = zeros(8)
340340
u0[1] = 1
@@ -374,8 +374,7 @@ eqs = [D(y1) ~ p1*(y2+y1*(1-p2*y1-y2)),
374374
D(y3) ~ p3*(y1-y3)]
375375
de = ODESystem(eqs)
376376
jac = calculate_jacobian(de)
377-
ModelingToolkit.calculate_factorized_W(de)
378-
orego = ODEFunction(de, [y1,y2,y3], [p1,p2,p3], jac=true, Wfact=true)
377+
orego = ODEFunction(de, [y1,y2,y3], [p1,p2,p3], jac=true)
379378

380379
"""
381380
Orego Problem (Stiff)

0 commit comments

Comments
 (0)