Skip to content

Commit

Permalink
explicitly define accuracy_order in convergence_test relaxation example
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Sep 24, 2023
1 parent 097b0cb commit ea6106b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/bbm_bbm_1d/bbm_bbm_1d_relaxation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ea6106b

Please sign in to comment.