Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyuxie committed Sep 28, 2024
1 parent 1672c2a commit 8dfa546
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/tree_1d_dgsem/elixir_burgers_rarefaction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ end
# Specify non-periodic boundary conditions

function inflow(x, t, equations::InviscidBurgersEquation1D)
return initial_condition_rarefaction(coordinate_min, t, equations)
return initial_condition_rarefaction(0.0, t, equations)
end
boundary_condition_inflow = BoundaryConditionDirichlet(inflow)

Expand Down
2 changes: 1 addition & 1 deletion examples/tree_1d_dgsem/elixir_burgers_shock.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ end
# Specify non-periodic boundary conditions

function inflow(x, t, equations::InviscidBurgersEquation1D)
return initial_condition_shock(coordinate_min, t, equations)
return initial_condition_shock(0.0, t, equations)
end
boundary_condition_inflow = BoundaryConditionDirichlet(inflow)

Expand Down

0 comments on commit 8dfa546

Please sign in to comment.