@@ -156,7 +156,7 @@ function cache_and_compute_10_jacobians(adtype, f!::F, y, x, p) where {F}
156
156
return J
157
157
end
158
158
159
- Ns = [2^i for i in 3 :8];
159
+ Ns = [2^i for i in 1 :8];
160
160
161
161
adtypes = [
162
162
(
@@ -504,7 +504,7 @@ fig = begin
504
504
]
505
505
506
506
axislegend(ax, main_legend, [s.name for s in solvers_scaling[idxs]],
507
- "Successful Solvers\n(Fastest to Slowest) ";
507
+ "Successful Solvers";
508
508
framevisible=true, framewidth = STROKEWIDTH, orientation = :vertical,
509
509
titlesize = 20, nbanks = 1, labelsize = 16,
510
510
tellheight = true, tellwidth = false, patchsize = (60.0f0, 20.0f0),
@@ -574,10 +574,10 @@ solvers_scaling_jacobian_free = [
574
574
(; pkg = :nonlinearsolve, name = "TR Krylov (ILU)", alg = TrustRegion(; linsolve = KrylovJL_GMRES(; precs = incompletelu), concrete_jac = true)),
575
575
(; pkg = :nonlinearsolve, name = "TR Krylov (AMG)", alg = TrustRegion(; linsolve = KrylovJL_GMRES(; precs = algebraicmultigrid), concrete_jac = true)),
576
576
(; 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")),
581
581
(; pkg = :wrapper, name = "Newton Krylov [Sundials]", alg = KINSOL(; linear_solver = :GMRES)),
582
582
]
583
583
@@ -676,7 +676,7 @@ fig = begin
676
676
end
677
677
678
678
axislegend(ax, [[l, sc] for (l, sc) in zip(ls, scs)], labels,
679
- "Successful Solvers\n(Fastest to Slowest) ";
679
+ "Successful Solvers";
680
680
framevisible=true, framewidth = STROKEWIDTH, orientation = :vertical,
681
681
titlesize = 20, labelsize = 16, position = :rb,
682
682
tellheight = true, tellwidth = false, patchsize = (40.0f0, 20.0f0))
0 commit comments