Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDoehring authored Jun 27, 2024
1 parent c5ea779 commit 9bdbd14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tree_1d_dgsem/elixir_maxwell_E_excitation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ mesh = TreeMesh(coordinates_min, coordinates_max,
initial_refinement_level = 4,
n_cells_max = 30_000) # set maximum capacity of tree data structure

# Excite the electric field which causes a standing wave
# The solution is an undamped exchange between electric and magnetic energy
# Excite the electric field which causes a standing wave.
# The solution is an undamped exchange between electric and magnetic energy.
function initial_condition_E_excitation(x, t, equations::MaxwellEquations1D)
c = equations.speed_of_light[1]
E = -c * sin(2 * pi * x[1])
Expand Down

0 comments on commit 9bdbd14

Please sign in to comment.