From 142421e0388722534f1efdd66f3e8bf7fd528dad Mon Sep 17 00:00:00 2001 From: huiyuxie Date: Wed, 17 Jul 2024 00:44:36 -1000 Subject: [PATCH] start --- src/equations/maxwell_1d.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equations/maxwell_1d.jl b/src/equations/maxwell_1d.jl index 838e4e7b812..096fe3946cf 100644 --- a/src/equations/maxwell_1d.jl +++ b/src/equations/maxwell_1d.jl @@ -58,7 +58,7 @@ function initial_condition_convergence_test(x, t, equations::MaxwellEquations1D) c = equations.speed_of_light char_pos = c * t + x[1] - sin_char_pos = sin(2 * pi * char_pos) + sin_char_pos = sinpi(2 * char_pos) E = -c * sin_char_pos B = sin_char_pos