Skip to content

Commit

Permalink
start
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyuxie committed Jul 17, 2024
1 parent d0d704d commit 142421e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/equations/maxwell_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 142421e

Please sign in to comment.