Skip to content

Commit 5082383

Browse files
simplify a bit
1 parent e7ab6c5 commit 5082383

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

benchmarks/AstroChem/astrochem.jmd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,14 +392,13 @@ reltols = 1.0 ./ 10.0 .^ (9:10)
392392

393393
setups = [
394394
Dict(:alg=>FBDF()),
395-
Dict(:alg=>QNDF()),
396-
#Dict(:alg=>Rodas4P()),
395+
#Dict(:alg=>QNDF()),
397396
Dict(:alg=>CVODE_BDF()),
398397
#Dict(:alg=>ddebdf()),
399398
#Dict(:alg=>Rodas4()),
400399
Dict(:alg=>Rodas5P()),
401-
Dict(:alg=>KenCarp4()),
402-
Dict(:alg=>KenCarp47()),
400+
#Dict(:alg=>KenCarp4()),
401+
#Dict(:alg=>KenCarp47()),
403402
Dict(:alg=>RadauIIA9()),
404403
#Dict(:alg=>rodas()),
405404
#Dict(:alg=>radau()),

benchmarks/AstroChem/nelson.jmd

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,11 @@ sol4 = solve(prob, lsoda(), saveat = 1e10)
174174
```julia
175175
using Plots
176176
colors = palette(:acton, 5)
177-
p1 = plot(sol1, vars = (0,11), lc=colors[1], legend = false, titlefontsize = 12, lw = 3, xlabel = "", title = "HCO+ solved using Rodas5 (correct solution)")
178-
p2 = plot(sol2, vars = (0,11), lc=colors[2], legend = false, titlefontsize = 12, lw = 3, xlabel = "", title = "HCO+ solved using FBDF")
179-
p3 = plot(sol3, vars = (0,11), lc=colors[3], legend = false, titlefontsize = 12, lw = 3, xlabel = "", title = "HCO+ solved using lsoda")
180-
p4 = plot(sol4, vars = (0,11), lc=colors[4], legend = false, titlefontsize = 12, lw = 3, xlabel = "", title = "HCO+ solved using lsoda with saveat")
177+
p1 = plot(sol1, vars = (0,11), lc=colors[1], legend = false, titlefontsize = 12, lw = 3, title = "HCO+ solved using Rodas5 (correct solution)")
178+
p2 = plot(sol2, vars = (0,11), lc=colors[2], legend = false, titlefontsize = 12, lw = 3, title = "HCO+ solved using FBDF")
179+
p3 = plot(sol3, vars = (0,11), lc=colors[3], legend = false, titlefontsize = 12, lw = 3, title = "HCO+ solved using lsoda")
180+
p4 = plot(sol4, vars = (0,11), lc=colors[4], legend = false, titlefontsize = 12, lw = 3, title = "HCO+ solved using lsoda with saveat")
181181
combined_plot = plot(p1, p2, p3, p4, layout=(4, 1), dpi = 600, pallete=:acton)
182-
display(combined_plot)
183182
```
184183

185184
## Run Benchmark

0 commit comments

Comments
 (0)