We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69b7d16 commit 102e447Copy full SHA for 102e447
lib/OrdinaryDiffEqAdamsBashforthMoulton/test/abm_convergence_tests.jl
@@ -37,3 +37,21 @@ testTol = 0.2
37
sim106 = test_convergence(dts, prob, VCABM5())
38
@test sim106.𝒪est[:l2]≈5 atol=testTol
39
end
40
+
41
+@testset "Explicit Solver Convergence Tests ($(["out-of-place", "in-place"][i])) - threaded " for i in 1:2
42
+ prob = (ODEProblemLibrary.prob_ode_linear,
43
+ ODEProblemLibrary.prob_ode_2Dlinear)[i]
44
45
+ sim5 = test_convergence(dts, prob, AB3(true))
46
+ @test sim5.𝒪est[:l2]≈3 atol=testTol
47
+ sim7 = test_convergence(dts, prob, AB4(true))
48
+ @test sim7.𝒪est[:l2]≈4 atol=testTol
49
+ sim9 = test_convergence(dts, prob, AB5(true))
50
+ @test sim9.𝒪est[:l2]≈5 atol=testTol
51
+ sim101 = test_convergence(dts, prob, VCAB3(true))
52
+ @test sim101.𝒪est[:l2]≈3 atol=testTol
53
+ sim103 = test_convergence(dts, prob, VCAB5(true))
54
+ @test sim103.𝒪est[:l2]≈5 atol=testTol
55
+ sim105 = test_convergence(dts, prob, VCABM4(true))
56
+ @test sim105.𝒪est[:l2]≈4 atol=testTol
57
+end
0 commit comments