Skip to content

Commit

Permalink
var-propagation-speed: fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener authored and inducer committed Sep 7, 2024
1 parent 245463d commit d67ffb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/wave/var-propagation-speed.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def norm(u):
if step % 10 == 0:
logger.info("step: %d t: %.8e L2: %.8e",
step, time() - t_last_step,
norm(event.state_component[0]))
actx.to_numpy(norm(event.state_component[0])))
if visualize:
vis.write_vtk_file(
f"fld-var-propogation-speed-{step:04d}.vtu",
Expand Down

0 comments on commit d67ffb3

Please sign in to comment.