@@ -139,7 +139,7 @@ Lotka-Voltera Equations
139
139
140
140
with initial condition ``x=y=1``
141
141
"""
142
- prb_ode_lotkavoltera = ODEProblem (lotka,[1 ;1 ],[ 0 ; 1.0 ] )
142
+ prb_ode_lotkavoltera = ODEProblem (lotka,[1 ;1 ],( 0.0 , 1.0 ) )
143
143
144
144
# # Fitzhugh-Nagumo
145
145
@@ -157,7 +157,7 @@ Fitzhugh-Nagumo
157
157
158
158
with initial condition ``v=w=1``
159
159
"""
160
- prob_ode_fitzhughnagumo = ODEProblem (fitz,[1 ;1 ],[ 0 ; 1.0 ] )
160
+ prob_ode_fitzhughnagumo = ODEProblem (fitz,[1 ;1 ],( 0.0 , 1.0 ) )
161
161
162
162
# Van der Pol Equations
163
163
van = @ode_def_noinvhes VanDerPol begin
@@ -179,7 +179,7 @@ with ``μ=1.0`` and ``u0=[0,\\sqrt{3}]``
179
179
180
180
Non-stiff parameters.
181
181
"""
182
- prob_ode_vanderpol = ODEProblem (van,[0 ;sqrt (3 )],[ 0 ; 1.0 ] )
182
+ prob_ode_vanderpol = ODEProblem (van,[0 ;sqrt (3 )],( 0.0 , 1.0 ) )
183
183
184
184
van_stiff = VanDerPol (μ= 1e6 )
185
185
""" Van der Pol Equations
@@ -195,7 +195,7 @@ with ``μ=10^6`` and ``u0=[0,\\sqrt{3}]``
195
195
196
196
Stiff parameters.
197
197
"""
198
- prob_ode_vanderpol_stiff = ODEProblem (van_stiff,[0 ;sqrt (3 )],[ 0 ; 1.0 ] )
198
+ prob_ode_vanderpol_stiff = ODEProblem (van_stiff,[0 ;sqrt (3 )],( 0.0 , 1.0 ) )
199
199
200
200
# ROBER
201
201
@@ -222,7 +222,7 @@ Hairer Norsett Wanner Solving Ordinary Differential Euations I - Nonstiff Proble
222
222
223
223
Usually solved on `[0,1e11]`
224
224
"""
225
- prob_ode_rober = ODEProblem (rober,[1.0 ;0.0 ;0.0 ],[ 0 ,1e11 ] )
225
+ prob_ode_rober = ODEProblem (rober,[1.0 ;0.0 ;0.0 ],( 0.0 ,1e11 ) )
226
226
227
227
# Three Body
228
228
const threebody_μ = parse (BigFloat," 0.012277471" ); const threebody_μ′ = 1 - threebody_μ
@@ -258,7 +258,7 @@ From Hairer Norsett Wanner Solving Ordinary Differential Euations I - Nonstiff P
258
258
Usually solved on `t₀ = 0.0`; `T = parse(BigFloat,"17.0652165601579625588917206249")`
259
259
Periodic with that setup.
260
260
"""
261
- prob_ode_threebody = ODEProblem (threebody,[0.994 , 0.0 , 0.0 , parse (BigFloat," -2.00158510637908252240537862224" )],[ 0.0 ; parse (BigFloat," 17.0652165601579625588917206249" )] )
261
+ prob_ode_threebody = ODEProblem (threebody,[0.994 , 0.0 , 0.0 , parse (BigFloat," -2.00158510637908252240537862224" )],( parse (BigFloat, " 0.0" ), parse (BigFloat," 17.0652165601579625588917206249" )) )
262
262
263
263
# Rigid Body Equations
264
264
@@ -289,7 +289,7 @@ or Hairer Norsett Wanner Solving Ordinary Differential Euations I - Nonstiff Pro
289
289
290
290
Usually solved from 0 to 20.
291
291
"""
292
- prob_ode_rigidbody = ODEProblem (rigid,[1.0 ,0.0 ,0.9 ],[ 0 ; 20 ] )
292
+ prob_ode_rigidbody = ODEProblem (rigid,[1.0 ,0.0 ,0.9 ],( 0.0 , 20.0 ) )
293
293
294
294
# Pleiades Problem
295
295
@@ -363,4 +363,4 @@ From Hairer Norsett Wanner Solving Ordinary Differential Euations I - Nonstiff P
363
363
364
364
Usually solved from 0 to 3.
365
365
"""
366
- prob_ode_pleides = ODEProblem (pleides,[3.0 ,3.0 ,- 1.0 ,- 3.0 ,2.0 ,- 2.0 ,2.0 ,3.0 ,- 3.0 ,2.0 ,0 ,0 ,- 4.0 ,4.0 ,0 ,0 ,0 ,0 ,0 ,1.75 ,- 1.5 ,0 ,0 ,0 ,- 1.25 ,1 ,0 ,0 ],[ 0 ; 3 ] )
366
+ prob_ode_pleides = ODEProblem (pleides,[3.0 ,3.0 ,- 1.0 ,- 3.0 ,2.0 ,- 2.0 ,2.0 ,3.0 ,- 3.0 ,2.0 ,0 ,0 ,- 4.0 ,4.0 ,0 ,0 ,0 ,0 ,0 ,1.75 ,- 1.5 ,0 ,0 ,0 ,- 1.25 ,1 ,0 ,0 ],( 0.0 , 3.0 ) )
0 commit comments