Skip to content

Commit 102ac55

Browse files
committed
more fixes
1 parent 544cc32 commit 102ac55

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

benchmarks/NonlinearProblem/bruss.jmd

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function cache_and_compute_10_jacobians(adtype, f!::F, y, x, p) where {F}
156156
return J
157157
end
158158

159-
Ns = [2^i for i in 3:8];
159+
Ns = [2^i for i in 1:8];
160160

161161
adtypes = [
162162
(
@@ -504,7 +504,7 @@ fig = begin
504504
]
505505

506506
axislegend(ax, main_legend, [s.name for s in solvers_scaling[idxs]],
507-
"Successful Solvers\n(Fastest to Slowest)";
507+
"Successful Solvers";
508508
framevisible=true, framewidth = STROKEWIDTH, orientation = :vertical,
509509
titlesize = 20, nbanks = 1, labelsize = 16,
510510
tellheight = true, tellwidth = false, patchsize = (60.0f0, 20.0f0),
@@ -574,10 +574,10 @@ solvers_scaling_jacobian_free = [
574574
(; pkg = :nonlinearsolve, name = "TR Krylov (ILU)", alg = TrustRegion(; linsolve = KrylovJL_GMRES(; precs = incompletelu), concrete_jac = true)),
575575
(; pkg = :nonlinearsolve, name = "TR Krylov (AMG)", alg = TrustRegion(; linsolve = KrylovJL_GMRES(; precs = algebraicmultigrid), concrete_jac = true)),
576576
(; pkg = :nonlinearsolve, name = "TR Krylov (AMG Jacobi)", alg = TrustRegion(; linsolve = KrylovJL_GMRES(; precs = algebraicmultigrid_jacobi), concrete_jac = true)),
577-
(; pkg = :wrapper, name = "TR Krylov [PETSc]", alg = PETScSNES(; snes_type = "newtontr", ksp_type = "gmres", snes_mf = true)),
578-
(; pkg = :wrapper, name = "TR Krylov (ILU) [PETSc]", alg = PETScSNES(; snes_type = "newtontr", ksp_type = "gmres", pc_type = "ilu")),
579-
(; pkg = :wrapper, name = "TR Krylov (AMG) [PETSc]", alg = PETScSNES(; snes_type = "newtontr", ksp_type = "gmres", pc_type = "gamg")),
580-
(; pkg = :wrapper, name = "TR Krylov (AMG Jacobi) [PETSc]", alg = PETScSNES(; snes_type = "newtontr", ksp_type = "gmres", pc_type = "gamg", mg_levels_ksp_type = "richardson", mg_levels_pc_type = "jacobi")),
577+
# (; pkg = :wrapper, name = "TR Krylov [PETSc]", alg = PETScSNES(; snes_type = "newtontr", ksp_type = "gmres", snes_mf = true)),
578+
# (; pkg = :wrapper, name = "TR Krylov (ILU) [PETSc]", alg = PETScSNES(; snes_type = "newtontr", ksp_type = "gmres", pc_type = "ilu")),
579+
# (; pkg = :wrapper, name = "TR Krylov (AMG) [PETSc]", alg = PETScSNES(; snes_type = "newtontr", ksp_type = "gmres", pc_type = "gamg")),
580+
# (; pkg = :wrapper, name = "TR Krylov (AMG Jacobi) [PETSc]", alg = PETScSNES(; snes_type = "newtontr", ksp_type = "gmres", pc_type = "gamg", mg_levels_ksp_type = "richardson", mg_levels_pc_type = "jacobi")),
581581
(; pkg = :wrapper, name = "Newton Krylov [Sundials]", alg = KINSOL(; linear_solver = :GMRES)),
582582
]
583583

@@ -676,7 +676,7 @@ fig = begin
676676
end
677677

678678
axislegend(ax, [[l, sc] for (l, sc) in zip(ls, scs)], labels,
679-
"Successful Solvers\n(Fastest to Slowest)";
679+
"Successful Solvers";
680680
framevisible=true, framewidth = STROKEWIDTH, orientation = :vertical,
681681
titlesize = 20, labelsize = 16, position = :rb,
682682
tellheight = true, tellwidth = false, patchsize = (40.0f0, 20.0f0))

benchmarks/NonlinearProblem/nonlinear_battery_problem.jmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ fig = begin
311311
end
312312

313313
axislegend(ax, [[l, sc] for (l, sc) in zip(ls, scs)],
314-
[solver.name for solver in successful_solvers[idxs]], "Successful Solvers\n(Fastest to Slowest)";
314+
[solver.name for solver in successful_solvers[idxs]], "Successful Solvers";
315315
framevisible=true, framewidth = STROKEWIDTH, orientation = :vertical,
316316
titlesize = 20, nbanks = 1, labelsize = 16,# margin = (0.0, 80.0, 0.0, 0.0),
317317
tellheight = false, tellwidth = true, patchsize = (40.0f0, 20.0f0),

0 commit comments

Comments
 (0)