-
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f0268a4
commit 825031d
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
using OrdinaryDiffEqFIRK, OrdinaryDiffEqFIRKGenerator, DiffEqDevTools, Test, LinearAlgebra | ||
import ODEProblemLibrary: prob_ode_linear_big, prob_ode_2Dlinear_big | ||
import ODEProblemLibrary: prob_ode_linear, prob_ode_2Dlinear | ||
|
||
prob_ode_linear_big = remake(prob_ode_linear, u0 = big.(prob_ode_linear.u0), tspan = big.(prob_ode_linear.tspan)) | ||
prob_ode_2Dlinear_big = remake(prob_ode_2Dlinear, u0 = big.(prob_ode_2Dlinear.u0), tspan = big.(prob_ode_2Dlinear.tspan)) | ||
|
||
for i in [9], prob in [prob_ode_linear_big, prob_ode_2Dlinear_big] | ||
dts = 1 ./ 2 .^ (4.25:-1:0.25) | ||
sim21 = test_convergence(dts, prob, AdaptiveRadau(min_stages = i, max_stages = i)) | ||
@test sim21.𝒪est[:final]≈ (2 * i - 1) atol=testTol | ||
end | ||
end |