From ea6106b906109c62908a980c0a44d1156bb7b84d Mon Sep 17 00:00:00 2001 From: Joshua Lampert Date: Mon, 25 Sep 2023 01:02:53 +0200 Subject: [PATCH] explicitly define accuracy_order in convergence_test relaxation example --- examples/bbm_bbm_1d/bbm_bbm_1d_relaxation.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/bbm_bbm_1d/bbm_bbm_1d_relaxation.jl b/examples/bbm_bbm_1d/bbm_bbm_1d_relaxation.jl index 3062d37d..b5c49100 100644 --- a/examples/bbm_bbm_1d/bbm_bbm_1d_relaxation.jl +++ b/examples/bbm_bbm_1d/bbm_bbm_1d_relaxation.jl @@ -17,7 +17,8 @@ N = 512 mesh = Mesh1D(coordinates_min, coordinates_max, N + 1) # create solver with periodic SBP operators of accuracy order 4 -solver = Solver(mesh, 4) +accuracy_order = 4 +solver = Solver(mesh, accuracy_order) # semidiscretization holds all the necessary data structures for the spatial discretization semi = Semidiscretization(mesh, equations, initial_condition, solver,