Skip to content

Commit 7d622c1

Browse files
committed
init
1 parent ff149fd commit 7d622c1

23 files changed

+41
-42
lines changed

Project.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ Requires = "1.0"
6464
RuntimeGeneratedFunctions = "0.5.12"
6565
SciMLBase = "< 2.57.2"
6666
Setfield = "1"
67-
# StructuralIdentifiability = "0.5.8"
6867
SymbolicUtils = "2.1.2, 3.3.0"
6968
Symbolics = "5.30.1, 6"
7069
Unitful = "1.12.4"
@@ -77,7 +76,10 @@ Graphviz_jll = "3c863552-8265-54e4-a6dc-903eb78fde85"
7776
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
7877
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
7978
NonlinearSolve = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
80-
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
79+
OrdinaryDiffEqBDF = "6ad6398a-0878-4a85-9266-38940aa047c8"
80+
OrdinaryDiffEqRosenbrock = "43230ef6-c299-4910-a778-202eb28ce4ce"
81+
OrdinaryDiffEqTsit5 = "b1df2697-797e-41e3-8120-5422d3b24e4a"
82+
OrdinaryDiffEqVerner = "79d7bb75-1356-48c1-b8c0-6832512096c2"
8183
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
8284
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
8385
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
@@ -93,7 +95,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
9395
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
9496

9597
[targets]
96-
test = ["DiffEqCallbacks", "DomainSets", "Graphviz_jll", "Logging", "NonlinearSolve",
97-
"OrdinaryDiffEq", "Pkg", "Plots", "Random", "SafeTestsets", "SciMLBase", "SciMLNLSolve",
98-
"StableRNGs", "StaticArrays", "Statistics", "SteadyStateDiffEq", "StochasticDiffEq",
99-
"Test", "Unitful"]
98+
test = ["DiffEqCallbacks", "DomainSets", "Graphviz_jll", "Logging", "NonlinearSolve", "OrdinaryDiffEqRosenbrock", "OrdinaryDiffEqTsit5", "OrdinaryDiffEqVerner", "Pkg", "Plots", "Random", "SafeTestsets", "SciMLBase", "SciMLNLSolve", "StableRNGs", "StaticArrays", "Statistics", "SteadyStateDiffEq", "StochasticDiffEq", "Test", "Unitful"]

test/compositional_modelling/component_based_model_creation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### Prepares Tests ###
44

55
# Fetch packages.
6-
using Catalyst, LinearAlgebra, OrdinaryDiffEq, SciMLNLSolve, Test
6+
using Catalyst, LinearAlgebra, OrdinaryDiffEqTsit5, SciMLNLSolve, Test
77
using ModelingToolkit: nameof
88

99
# Sets the default `t` to use.
@@ -543,4 +543,4 @@ let
543543
@test length(unknowns(sys3)) == 4
544544
@test length(parameters(sys4)) == 5
545545
@test any(isequal(p5), parameters(sys4))
546-
end
546+
end

test/dsl/dsl_options.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### Prepares Tests ###
44

55
# Fetch packages.
6-
using Catalyst, ModelingToolkit, OrdinaryDiffEq, StochasticDiffEq, Plots, Test
6+
using Catalyst, ModelingToolkit, OrdinaryDiffEqTsit5, OrdinaryDiffEqRosenbrock, StochasticDiffEq, Plots, Test
77
using Symbolics: unwrap
88

99
# Sets stable rng number.

test/extensions/lattice_simulation_plotting.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ let
9191
lattice = CartesianGrid((2,2,2))
9292
lrs = LatticeReactionSystem(rs, [diffusion_rx], lattice)
9393
oprob = ODEProblem(lrs, [:X => 1.0], 1.0, [:d => 1.0, :D => 0.2])
94-
osol = solve(oprob)
94+
osol = solve(oprob, Tsit5())
9595

9696
@test_throws ArgumentError lattice_plot(osol, :X, lrs)
9797
@test_throws ArgumentError lattice_animation(osol, :X, lrs, "animation_tmp.mp4")
@@ -130,4 +130,4 @@ let
130130
@test isfile("animation_tmp.mp4")
131131
rm("animation_tmp.mp4")
132132
end
133-
end
133+
end

test/extensions/stability_computation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Fetch Packages ###
22

33
# Fetch packages.
4-
using Catalyst, OrdinaryDiffEq, SteadyStateDiffEq, Test
4+
using Catalyst, OrdinaryDiffEqVerner, SteadyStateDiffEq, Test
55
import HomotopyContinuation
66

77
# Sets rnd number.
@@ -105,4 +105,4 @@ let
105105
p = [:p => 1.0, :d => 1.0]
106106
u = [1.0]
107107
@test_throws Exception steady_state_stability(u, rn, p)
108-
end
108+
end

test/miscellaneous_tests/api.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### Prepares Tests ###
44

55
# Fetch packages.
6-
using Catalyst, NonlinearSolve, OrdinaryDiffEq, SparseArrays, StochasticDiffEq, Test
6+
using Catalyst, NonlinearSolve, OrdinaryDiffEqTsit5, SparseArrays, StochasticDiffEq, Test
77
using LinearAlgebra: norm
88
using ModelingToolkit: value
99

@@ -505,4 +505,4 @@ let
505505
f(d,t), X --> 0
506506
end
507507
@test !isautonomous(rn8)
508-
end
508+
end

test/network_analysis/conservation_laws.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Prepares Tests ###
22

33
# Fetch packages.
4-
using Catalyst, JumpProcesses, LinearAlgebra, NonlinearSolve, OrdinaryDiffEq, SteadyStateDiffEq, StochasticDiffEq, Test
4+
using Catalyst, JumpProcesses, LinearAlgebra, NonlinearSolve, OrdinaryDiffEqTsit5, SteadyStateDiffEq, StochasticDiffEq, Test
55

66
# Sets stable rng number.
77
using StableRNGs
@@ -192,7 +192,7 @@ let
192192
oprob1 = ODEProblem(rn, u0_1, 10.0, ps; remove_conserved = true, remove_conserved_warn)
193193
oprob2 = ODEProblem(rn, u0_2, 10.0, ps; remove_conserved = true, remove_conserved_warn)
194194
oprob3 = ODEProblem(rn, u0_3, 10.0, ps; remove_conserved = true, remove_conserved_warn)
195-
@test solve(oprob1)[sps] solve(oprob2)[sps] solve(oprob3)[sps]
195+
@test solve(oprob1, Tsit5())[sps] solve(oprob2, Tsit5())[sps] solve(oprob3, Tsit5())[sps]
196196
end
197197

198198
# Tests conservation laws in SDE simulation.
@@ -224,8 +224,8 @@ let
224224
oprob2 = ODEProblem(osys, u0, 10.0, ps_2)
225225

226226
# Checks that the solutions generates the correct conserved quantities.
227-
sol1 = solve(oprob1; saveat = 1.0)
228-
sol2 = solve(oprob2; saveat = 1.0)
227+
sol1 = solve(oprob1, Tsit5(); saveat = 1.0)
228+
sol2 = solve(oprob2, Tsit5(); saveat = 1.0)
229229
@test all(sol1[osys.X1 + osys.X2] .== 2.0)
230230
@test all(sol2[osys.X1 + osys.X2] .== 4.0)
231231
end

test/performance_benchmarks/lattice_reaction_systems_ODE_performance.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### Preparations ###
44

55
# Fetch packages.
6-
using OrdinaryDiffEq
6+
using OrdinaryDiffEqTsit5
77
using Random, Statistics, SparseArrays, Test
88

99
# Fetch test networks.

test/reactionsystem_core/coupled_equation_crn_systems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Fetch packages.
2-
using Catalyst, NonlinearSolve, OrdinaryDiffEq, Statistics, SteadyStateDiffEq, StochasticDiffEq, Test
2+
using Catalyst, NonlinearSolve, OrdinaryDiffEqVerner, OrdinaryDiffEqTsit5, OrdinaryDiffEqRosenbrock, Statistics, SteadyStateDiffEq, StochasticDiffEq, Test
33
using ModelingToolkit: getdefault, getdescription, getdefault
44
using Symbolics: BasicSymbolic, unwrap
55

test/reactionsystem_core/events.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Prepares Tests ###
22

33
# Fetch packages.
4-
using Catalyst, DiffEqCallbacks, JumpProcesses, OrdinaryDiffEq, StochasticDiffEq, Test
4+
using Catalyst, DiffEqCallbacks, JumpProcesses, OrdinaryDiffEqTsit5, StochasticDiffEq, Test
55

66
# Sets stable rng number.
77
using StableRNGs

0 commit comments

Comments
 (0)