@@ -6,7 +6,7 @@ lotka = @ode_def_nohes LotkaVolterra begin
6
6
end a b c d
7
7
8
8
"""
9
- Lotka-Voltera Equations
9
+ Lotka-Voltera Equations (Non-stiff)
10
10
11
11
```math
12
12
\\ frac{dx}{dt} = ax - bxy
@@ -24,7 +24,7 @@ fitz = @ode_def_nohes FitzhughNagumo begin
24
24
dw = τinv* (v + a - b* w)
25
25
end a b τinv l
26
26
"""
27
- Fitzhugh-Nagumo
27
+ Fitzhugh-Nagumo (Non-stiff)
28
28
29
29
```math
30
30
\\ frac{dv}{dt} = v - \\ frac{v^3}{3} - w + I_{est}
@@ -81,7 +81,7 @@ rober = @ode_def_noinvjac Rober begin
81
81
end k₁ k₂ k₃
82
82
83
83
"""
84
- The Robertson biochemical reactions:
84
+ The Robertson biochemical reactions: (Stiff)
85
85
86
86
```math
87
87
\\ begin{align}
@@ -115,7 +115,7 @@ threebody = (du,u,p,t) -> begin
115
115
du[4 ] = u[2 ] - 2 u[3 ] - threebody_μ′* u[2 ]/ D₁ - threebody_μ* u[2 ]/ D₂
116
116
end
117
117
"""
118
- The ThreeBody problem as written by Hairer:
118
+ The ThreeBody problem as written by Hairer: (Non-stiff)
119
119
120
120
```math
121
121
\\ begin{align}
@@ -144,7 +144,7 @@ rigid = @ode_def_noinvjac RigidBody begin
144
144
end I₁ I₂ I₃
145
145
146
146
"""
147
- Rigid Body Equations
147
+ Rigid Body Equations (Non-stiff)
148
148
149
149
```math
150
150
\\ begin{align}
@@ -176,7 +176,7 @@ pleiades = (du,u,p,t) -> begin
176
176
du[1 : 7 ] .= v
177
177
du[8 : 14 ]. = w
178
178
for i in 14 : 21
179
- du[i] = zero (u )
179
+ du[i] = zero (eltype (u) )
180
180
end
181
181
for i= 1 : 7 ,j= 1 : 7
182
182
if i != j
@@ -187,7 +187,7 @@ pleiades = (du,u,p,t) -> begin
187
187
end
188
188
end
189
189
"""
190
- Pleiades Problem
190
+ Pleiades Problem (Non-stiff)
191
191
192
192
```math
193
193
\\ begin{align}
@@ -251,7 +251,7 @@ const MM_linear =full(Diagonal(0.5ones(4)))
251
251
prob_ode_mm_linear = ODEProblem (mm_linear,rand (4 ),(0.0 ,1.0 ),mass_matrix= MM_linear)
252
252
253
253
"""
254
- [Hires Problem](http://nbviewer.jupyter.org/github/JuliaDiffEq/DiffEqBenchmarks.jl/blob/master/StiffODE/Hires.ipynb)
254
+ [Hires Problem](http://nbviewer.jupyter.org/github/JuliaDiffEq/DiffEqBenchmarks.jl/blob/master/StiffODE/Hires.ipynb) (Stiff)
255
255
256
256
It is in the form of ``\\ frac{dy}{dt}=f(y), \\ quad y(0)=y0,`` with
257
257
@@ -272,6 +272,8 @@ f(y) = \\begin{pmatrix}
272
272
−280y_6y_8 & +1.81y_7 & & &
273
273
\\ end{pmatrix}
274
274
```
275
+
276
+ http://www.radford.edu/~thompson/vodef90web/problems/demosnodislin/Demos_Pitagora/DemoHires/demohires.pdf
275
277
"""
276
278
hires = @ode_def Hires begin
277
279
dy1 = - p1* y1 + p2* y2 + p3* y3 + p4
@@ -292,7 +294,7 @@ prob_ode_hires = ODEProblem(hires,u0,(0.0,321.8122), (1.71, 0.43, 8.32, 0.0007,
292
294
0.69 , 1.81 ))
293
295
294
296
"""
295
- [Orego Problem](http://nbviewer.jupyter.org/github/JuliaDiffEq/DiffEqBenchmarks.jl/blob/master/StiffODE/Orego.ipynb)
297
+ [Orego Problem](http://nbviewer.jupyter.org/github/JuliaDiffEq/DiffEqBenchmarks.jl/blob/master/StiffODE/Orego.ipynb) (Stiff)
296
298
297
299
It is in the form of ``\\ frac{dy}{dt}=f(y), \\ quad y(0)=y0,`` with
298
300
@@ -310,6 +312,8 @@ w(y_1-y_3)
310
312
```
311
313
312
314
where ``s=77.27``, ``w=0.161`` and ``q=8.375⋅10^{-6}``.
315
+
316
+ http://www.radford.edu/~thompson/vodef90web/problems/demosnodislin/Demos_Pitagora/DemoOrego/demoorego.pdf
313
317
"""
314
318
orego = @ode_def Orego begin
315
319
dy1 = p1* (y2+ y1* (1 - p2* y1- y2))
0 commit comments