diff --git a/docs/src/figures/diffusion_equation_template_1.png b/docs/src/figures/diffusion_equation_template_1.png index 03be13b..50263c0 100644 Binary files a/docs/src/figures/diffusion_equation_template_1.png and b/docs/src/figures/diffusion_equation_template_1.png differ diff --git a/docs/src/figures/laplaces_equation_template_1.png b/docs/src/figures/laplaces_equation_template_1.png index 949e3f0..b9c352d 100644 Binary files a/docs/src/figures/laplaces_equation_template_1.png and b/docs/src/figures/laplaces_equation_template_1.png differ diff --git a/docs/src/figures/laplaces_equation_template_2.png b/docs/src/figures/laplaces_equation_template_2.png index 40a737a..af186a0 100644 Binary files a/docs/src/figures/laplaces_equation_template_2.png and b/docs/src/figures/laplaces_equation_template_2.png differ diff --git a/docs/src/figures/linear_reaction_diffusion_equation_template_1.png b/docs/src/figures/linear_reaction_diffusion_equation_template_1.png index b7c0f54..899dbbe 100644 Binary files a/docs/src/figures/linear_reaction_diffusion_equation_template_1.png and b/docs/src/figures/linear_reaction_diffusion_equation_template_1.png differ diff --git a/docs/src/figures/maze_solution_1.mp4 b/docs/src/figures/maze_solution_1.mp4 index d879aae..181a8f9 100644 Binary files a/docs/src/figures/maze_solution_1.mp4 and b/docs/src/figures/maze_solution_1.mp4 differ diff --git a/docs/src/figures/mean_exit_time_template_1.png b/docs/src/figures/mean_exit_time_template_1.png index caad8a0..efe65f7 100644 Binary files a/docs/src/figures/mean_exit_time_template_1.png and b/docs/src/figures/mean_exit_time_template_1.png differ diff --git a/docs/src/figures/mean_exit_time_template_2.png b/docs/src/figures/mean_exit_time_template_2.png index b4018e6..7df2391 100644 Binary files a/docs/src/figures/mean_exit_time_template_2.png and b/docs/src/figures/mean_exit_time_template_2.png differ diff --git a/docs/src/figures/poissons_equation_template_1.png b/docs/src/figures/poissons_equation_template_1.png index 2bc9c3a..718bab5 100644 Binary files a/docs/src/figures/poissons_equation_template_1.png and b/docs/src/figures/poissons_equation_template_1.png differ diff --git a/docs/src/figures/poissons_equation_template_2.png b/docs/src/figures/poissons_equation_template_2.png index 61954a9..5e106e4 100644 Binary files a/docs/src/figures/poissons_equation_template_2.png and b/docs/src/figures/poissons_equation_template_2.png differ diff --git a/docs/src/literate_wyos/diffusion_equations.jl b/docs/src/literate_wyos/diffusion_equations.jl index 722588e..35efd80 100644 --- a/docs/src/literate_wyos/diffusion_equations.jl +++ b/docs/src/literate_wyos/diffusion_equations.jl @@ -309,7 +309,7 @@ using LinearSolve #src sol1 = solve(diff_eq, Tsit5(); saveat=0.05) #src sol2 = solve(fvm_prob, TRBDF2(linsolve=KLUFactorization()), saveat=0.05) #src using Test #src -@test sol1[begin:end-1, 2:end] ≈ sol2[:, 2:end] rtol = 1e-3 #src +@test sol1[begin:end-1, 2:end] ≈ sol2[begin:end, 2:end] rtol = 1e-3 #src # To finish this example, let's solve a diffusion equation with constant Neumann boundary conditions: # ```math @@ -386,7 +386,7 @@ resize_to_layout!(fig) fig @test_reference joinpath(@__DIR__, "../figures", "diffusion_equation_template_1.png") fig #src u_template = sol[begin:end-1, 2:end] #src -u_fvm = fvm_sol[:, 2:end] #src +u_fvm = fvm_sol[begin:end, 2:end] #src @test u_template ≈ u_fvm rtol = 1e-3 #src # Here is a benchmark comparison.