Skip to content

Commit 78c6d81

Browse files
add stiff to nelson
1 parent d6c948a commit 78c6d81

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

benchmarks/AstroChem/nelson.jmd

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -157,17 +157,29 @@ plot(sol; yscale=:log10, idxs = (0,5))
157157
abstols = 1.0 ./ 10.0 .^ (8:10)
158158
reltols = 1.0 ./ 10.0 .^ (8:10)
159159

160-
sol = solve(prob, DP8(), abstol=1e-8, reltol=1e-8)
160+
sol = solve(prob, CVODE_BDF(), abstol=1e-14, reltol=1e-14)
161+
162+
setups = [
163+
Dict(:alg=>FBDF()),
164+
Dict(:alg=>QNDF()),
165+
#Dict(:alg=>Rodas4P()),
166+
Dict(:alg=>CVODE_BDF()),
167+
#Dict(:alg=>ddebdf()),
168+
#Dict(:alg=>Rodas4()),
169+
Dict(:alg=>Rodas5P()),
170+
Dict(:alg=>KenCarp4()),
171+
Dict(:alg=>KenCarp47()),
172+
Dict(:alg=>RadauIIA9()),
173+
Dict(:alg=>lsoda()),
174+
#Dict(:alg=>rodas()),
175+
#Dict(:alg=>radau()),
176+
#Dict(:alg=>lsoda()),
177+
#Dict(:alg=>ImplicitEulerExtrapolation(min_order = 5, init_order = 3,threading = OrdinaryDiffEqCore.PolyesterThreads())),
178+
#Dict(:alg=>ImplicitEulerExtrapolation(min_order = 5, init_order = 3,threading = false)),
179+
#Dict(:alg=>ImplicitEulerBarycentricExtrapolation(min_order = 5, threading = OrdinaryDiffEqCore.PolyesterThreads())),
180+
#Dict(:alg=>ImplicitEulerBarycentricExtrapolation(min_order = 5, threading = false)),
181+
]
161182

162-
163-
setups = [Dict(:alg=>VCABM())
164-
Dict(:alg=>Vern7())
165-
Dict(:alg=>CVODE_Adams())
166-
Dict(:alg=>CVODE_BDF())
167-
Dict(:alg=>lsoda())
168-
Dict(:alg=>odex())
169-
Dict(:alg=>ddeabm())
170-
]
171183
wp = WorkPrecisionSet(prob,abstols,reltols,setups;appxsol=refsol,save_everystep=false, print_names = true)
172184
plot(wp)
173185
```

0 commit comments

Comments
 (0)