Skip to content

Commit e086c03

Browse files
committed
Example212 should work again
1 parent e361379 commit e086c03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Example212_WaveEquation2D.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ function main(; verbosity = 0, order = 1, reflevel = 2, T = 0.65, timestep = 1//
6969

7070
## this function is called after each timestep
7171
plot_step_count = Int(ceil(plot_step/timestep))
72-
function do_after_each_timestep(step, statistics)
73-
if mod(step,plot_step_count) == 0
72+
function do_after_each_timestep(sys)
73+
if mod(sys.cstep,plot_step_count) == 0
7474
scalarplot!(p[1,1], xgrid, node_views[1], levels = 7, title = "u_h (t = $(Float64(sys.ctime)))")
7575
scalarplot!(p[1,2], xgrid, node_views[2], levels = 7, title = "v_h (t = $(Float64(sys.ctime)))")
7676
end

0 commit comments

Comments
 (0)