-
-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathODEProblemLibrary.jl
More file actions
49 lines (40 loc) · 1.55 KB
/
ODEProblemLibrary.jl
File metadata and controls
49 lines (40 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
module ODEProblemLibrary
using DiffEqBase
using Latexify
using ModelingToolkit
using ModelingToolkit: t_nounits as t, D_nounits as D
using LinearAlgebra
using Markdown
using Random
import RuntimeGeneratedFunctions
RuntimeGeneratedFunctions.init(@__MODULE__)
Random.seed!(100)
#ODE Example Problems
export prob_ode_linear, prob_ode_bigfloatlinear, prob_ode_2Dlinear,
prob_ode_large2Dlinear, prob_ode_bigfloat2Dlinear, prob_ode_rigidbody,
prob_ode_2Dlinear_notinplace, prob_ode_vanderpol, prob_ode_vanderpol_stiff,
prob_ode_lotkavolterra, prob_ode_fitzhughnagumo,
prob_ode_rober, prob_ode_threebody, prob_ode_mm_linear, prob_ode_pleiades,
prob_ode_brusselator_1d, prob_ode_brusselator_2d, prob_ode_orego,
prob_ode_hires, prob_ode_pollution, prob_ode_filament,
prob_ode_nonlinchem,
SolverDiffEq, filament_prob,
thomas, lorenz, aizawa, dadras, chen, rossler, rabinovich_fabrikant, sprott,
hindmarsh_rose,
prob_ode_thomas, prob_ode_lorenz, prob_ode_aizawa, prob_ode_dadras,
prob_ode_chen, prob_ode_rossler, prob_ode_rabinovich_fabrikant, prob_ode_sprott,
prob_ode_hindmarsh_rose
# For MTKv9 compatibility
@static if !isdefined(ModelingToolkit, :mtkcompile)
function mtkcompile(args...; kwargs...)
structural_simplify(args...; kwargs...)
end
end
include("ode_linear_prob.jl")
include("ode_simple_nonlinear_prob.jl")
include("brusselator_prob.jl")
include("pollution_prob.jl")
include("filament_prob.jl")
include("nonlinchem.jl")
include("strange_attractors.jl")
end # module