Skip to content

Commit 8916196

Browse files
Move to SDEProblemLibrary
1 parent 017820a commit 8916196

24 files changed

+48
-48
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ julia = "1.6"
5858
DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def"
5959
DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d"
6060
DiffEqOperators = "9fdde737-9c7f-55bf-ade8-46b3f136cc48"
61-
DiffEqProblemLibrary = "a077e3f3-b75c-5d7f-a0c6-6bc4c8ec64a9"
6261
LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
6362
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
6463
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
6564
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
65+
SDEProblemLibrary = "c72e72a9-a271-4b2b-8966-303ed956772e"
6666
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
6767
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
6868
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
6969

7070
[targets]
71-
test = ["DiffEqCallbacks", "DiffEqDevTools", "DiffEqOperators", "DiffEqProblemLibrary", "LinearSolve", "ModelingToolkit", "Pkg", "SafeTestsets", "SparseArrays", "Statistics", "Test"]
71+
test = ["DiffEqCallbacks", "DiffEqDevTools", "DiffEqOperators", "SDEProblemLibrary", "LinearSolve", "ModelingToolkit", "Pkg", "SafeTestsets", "SparseArrays", "Statistics", "Test"]

test/adaptive/sde_autostepsize_test.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using StochasticDiffEq, Random
2-
using DiffEqProblemLibrary.SDEProblemLibrary: importsdeproblems; importsdeproblems()
3-
using DiffEqProblemLibrary.SDEProblemLibrary: prob_sde_2Dlinear
2+
using SDEProblemLibrary: importsdeproblems; importsdeproblems()
3+
using SDEProblemLibrary: prob_sde_2Dlinear
44
Random.seed!(100)
55

66
#Let the solver determine the initial stepsize for you!

test/adaptive/sde_linearadaptive_tests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using StochasticDiffEq, Test, Random
2-
using DiffEqProblemLibrary.SDEProblemLibrary: importsdeproblems; importsdeproblems()
3-
using DiffEqProblemLibrary.SDEProblemLibrary: prob_sde_linear, prob_sde_2Dlinear, prob_sde_additive, prob_sde_additivesystem
2+
using SDEProblemLibrary: importsdeproblems; importsdeproblems()
3+
using SDEProblemLibrary: prob_sde_linear, prob_sde_2Dlinear, prob_sde_additive, prob_sde_additivesystem
44

55
probs = Vector{SDEProblem}(undef, 2)
66
add_probs = Vector{SDEProblem}(undef, 2)
@@ -107,4 +107,4 @@ end
107107
u0 = [1.0, 1.0]
108108
prob = SDEProblem(f, g, u0, (0.0, 10.0))
109109

110-
sol = solve(prob, SKenCarp())
110+
sol = solve(prob, SKenCarp())

test/adaptive/sde_lorenzattractor_tests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using StochasticDiffEq, Random
2-
using DiffEqProblemLibrary.SDEProblemLibrary: importsdeproblems; importsdeproblems()
3-
using DiffEqProblemLibrary.SDEProblemLibrary: prob_sde_lorenz
2+
using SDEProblemLibrary: importsdeproblems; importsdeproblems()
3+
using SDEProblemLibrary: prob_sde_lorenz
44
Random.seed!(100)
55
prob = prob_sde_lorenz
66

test/adaptive/sde_twodimlinearadaptive_tests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using StochasticDiffEq, Test, Random
2-
using DiffEqProblemLibrary.SDEProblemLibrary: importsdeproblems; importsdeproblems()
3-
using DiffEqProblemLibrary.SDEProblemLibrary: prob_sde_2Dlinear
2+
using SDEProblemLibrary: importsdeproblems; importsdeproblems()
3+
using SDEProblemLibrary: prob_sde_2Dlinear
44
Random.seed!(100)
55
prob = prob_sde_2Dlinear
66

test/composite_algorithm_test.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using StochasticDiffEq, Test, Random
2-
using DiffEqProblemLibrary.SDEProblemLibrary: importsdeproblems; importsdeproblems()
3-
using DiffEqProblemLibrary.SDEProblemLibrary: prob_sde_linear, prob_sde_2Dlinear
2+
using SDEProblemLibrary: importsdeproblems; importsdeproblems()
3+
using SDEProblemLibrary: prob_sde_linear, prob_sde_2Dlinear
44
prob = prob_sde_2Dlinear
55
choice_function(integrator) = (Int(integrator.t<0.5) + 1)
66
alg_double = StochasticCompositeAlgorithm((SRIW1(),SRIW1()),choice_function)

test/oval2_single.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using StochasticDiffEq, Random
2-
using DiffEqProblemLibrary.SDEProblemLibrary: importsdeproblems; importsdeproblems()
3-
using DiffEqProblemLibrary.SDEProblemLibrary: oval2ModelExample
2+
using SDEProblemLibrary: importsdeproblems; importsdeproblems()
3+
using SDEProblemLibrary: oval2ModelExample
44
Random.seed!(200)
55
prob = oval2ModelExample(largeFluctuations=true,useBigs=false)
66
quick_prob = deepcopy(prob)

test/oval2_test.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using DiffEqProblemLibrary.SDEProblemLibrary: importsdeproblems; importsdeproblems()
2-
using DiffEqProblemLibrary.SDEProblemLibrary: prob_sde_lorenz, oval2ModelExample
1+
using SDEProblemLibrary: importsdeproblems; importsdeproblems()
2+
using SDEProblemLibrary: prob_sde_lorenz, oval2ModelExample
33

44
oval2ModelExample()
55

test/reversal_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using StochasticDiffEq, DiffEqNoiseProcess, Test, Random
22
using Random
3-
using DiffEqProblemLibrary.SDEProblemLibrary
3+
using SDEProblemLibrary
44
# load problems
55
SDEProblemLibrary.importsdeproblems()
66
# automatically construct SDE transformation for Ito reversal

test/saveat_tests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using StochasticDiffEq, Test, Random
2-
using DiffEqProblemLibrary.SDEProblemLibrary: importsdeproblems; importsdeproblems()
3-
using DiffEqProblemLibrary.SDEProblemLibrary: prob_sde_linear, prob_sde_2Dlinear
2+
using SDEProblemLibrary: importsdeproblems; importsdeproblems()
3+
using SDEProblemLibrary: prob_sde_linear, prob_sde_2Dlinear
44
Random.seed!(100)
55
prob = prob_sde_linear
66
f(u,p,t) = 2u

0 commit comments

Comments
 (0)