Skip to content

Commit

Permalink
adjust cfl in new elixir
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewwinters5000 committed May 14, 2024
1 parent e077cc6 commit 988940b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/p4est_2d_dgsem/elixir_shallowwater_wellbalanced.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ isfile(default_mesh_file) ||
default_mesh_file)
mesh_file = default_mesh_file

mesh_file = joinpath(@__DIR__, "pond.inp")

mesh = P4estMesh{2}(mesh_file)

# Refine bottom left quadrant of each tree to level 2
Expand Down Expand Up @@ -169,7 +167,7 @@ save_solution = SaveSolutionCallback(dt = 1.0,
save_initial_solution = true,
save_final_solution = true)

stepsize_callback = StepsizeCallback(cfl = 2.0)
stepsize_callback = StepsizeCallback(cfl = 1.5)

callbacks = CallbackSet(summary_callback,
analysis_callback,
Expand Down

0 comments on commit 988940b

Please sign in to comment.