Skip to content

Commit

Permalink
VdP _again_
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanaelbosch committed Nov 14, 2023
1 parent a127df1 commit 0b4536d
Show file tree
Hide file tree
Showing 15 changed files with 4,384 additions and 4,495 deletions.
510 changes: 255 additions & 255 deletions docs/src/benchmarks/figures/vanderpol_10_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
200 changes: 96 additions & 104 deletions docs/src/benchmarks/figures/vanderpol_11_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
398 changes: 175 additions & 223 deletions docs/src/benchmarks/figures/vanderpol_12_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
374 changes: 167 additions & 207 deletions docs/src/benchmarks/figures/vanderpol_13_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
682 changes: 348 additions & 334 deletions docs/src/benchmarks/figures/vanderpol_14_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
686 changes: 329 additions & 357 deletions docs/src/benchmarks/figures/vanderpol_15_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
190 changes: 95 additions & 95 deletions docs/src/benchmarks/figures/vanderpol_2_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
356 changes: 177 additions & 179 deletions docs/src/benchmarks/figures/vanderpol_3_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
632 changes: 316 additions & 316 deletions docs/src/benchmarks/figures/vanderpol_4_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
676 changes: 338 additions & 338 deletions docs/src/benchmarks/figures/vanderpol_5_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
720 changes: 360 additions & 360 deletions docs/src/benchmarks/figures/vanderpol_6_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,530 changes: 765 additions & 765 deletions docs/src/benchmarks/figures/vanderpol_7_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
978 changes: 489 additions & 489 deletions docs/src/benchmarks/figures/vanderpol_8_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
938 changes: 469 additions & 469 deletions docs/src/benchmarks/figures/vanderpol_9_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions docs/src/benchmarks/vanderpol.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ u0 = [2.0, 0.0]
prob = ODEProblem(vanderpol!, u0, tspan, p)

test_sol = solve(prob, RadauIIA5(), abstol=1/10^14, reltol=1/10^14)
plot(test_sol, title="Van der Pol Solution", legend=false, ylims=(-2.5, 2.5), xticks=:auto)
plot(test_sol, title="Van der Pol Solution", legend=false, ylims=(-5, 5), xticks=:auto)
```

![](figures/vanderpol_2_1.svg)
Expand Down Expand Up @@ -259,7 +259,7 @@ du0 = [0.0]
prob2 = SecondOrderODEProblem(vanderpol2!, du0, u0, tspan, p)

test_sol2 = solve(prob2, RadauIIA5(), abstol=1/10^14, reltol=1/10^14)
plot(test_sol2, title="Van der Pol Solution (2nd order)", legend=false, ylims=(-2.5, 2.5), xticks=:auto)
plot(test_sol2, title="Van der Pol Solution (2nd order)", legend=false, ylims=(-5, 5), xticks=:auto)
```

![](figures/vanderpol_11_1.svg)
Expand All @@ -282,8 +282,9 @@ _setups = [
labels = first.(_setups)
setups = last.(_setups)

abstols = 1.0 ./ 10.0 .^ (6:11)
reltols = 1.0 ./ 10.0 .^ (3:8)
abstols = 1.0 ./ 10.0 .^ (5:8)
reltols = 1.0 ./ 10.0 .^ (2:5)


wp = WorkPrecisionSet(
[prob, prob2], abstols, reltols, setups;
Expand Down

0 comments on commit 0b4536d

Please sign in to comment.