Skip to content

Commit

Permalink
fix DGMulti elixirs
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha committed Jun 17, 2023
1 parent 5dcfa0a commit 2e213d8
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/dgmulti_1d/elixir_euler_flux_diff.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Trixi, OrdinaryDiffEq

surface_flux = FluxLaxFriedrichs()
surface_flux = flux_lax_friedrichs
volume_flux = flux_ranocha
dg = DGMulti(polydeg = 3, element_type = Line(), approximation_type = Polynomial(),
surface_integral = SurfaceIntegralWeakForm(surface_flux),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Trixi, OrdinaryDiffEq

dg = DGMulti(polydeg = 3, element_type = Quad(), approximation_type = SBP(),
surface_integral = SurfaceIntegralWeakForm(FluxLaxFriedrichs()),
surface_integral = SurfaceIntegralWeakForm(flux_lax_friedrichs),
volume_integral = VolumeIntegralFluxDifferencing(flux_ranocha))

equations = CompressibleEulerEquations2D(1.4)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ defined below.
@inline function initial_condition_rayleigh_taylor_instability(x, t,
equations::CompressibleEulerEquations2D,
slope = 1000)
tol = 1e2 * eps()

if x[2] < 0.5
p = 2 * x[2] + 1
else
Expand Down
5 changes: 3 additions & 2 deletions examples/dgmulti_2d/elixir_mhd_weak_blast_wave_SBP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ alive_callback = AliveCallback(analysis_interval = analysis_interval)

callbacks = CallbackSet(summary_callback,
analysis_callback,
#stepsize_callback,
alive_callback) #=glm_speed_callback=#
# stepsize_callback,
# glm_speed_callback,
alive_callback)

###############################################################################
# run the simulation
Expand Down
2 changes: 1 addition & 1 deletion examples/dgmulti_3d/elixir_euler_curved.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Trixi, OrdinaryDiffEq

dg = DGMulti(polydeg = 3, element_type = Hex(), approximation_type = SBP(),
surface_integral = SurfaceIntegralWeakForm(FluxHLL()),
surface_integral = SurfaceIntegralWeakForm(flux_hll),
volume_integral = VolumeIntegralFluxDifferencing(flux_ranocha))

equations = CompressibleEulerEquations3D(1.4)
Expand Down
2 changes: 1 addition & 1 deletion examples/dgmulti_3d/elixir_euler_weakform.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Trixi, OrdinaryDiffEq

dg = DGMulti(polydeg = 3, element_type = Tet(),
surface_integral = SurfaceIntegralWeakForm(FluxHLL()),
surface_integral = SurfaceIntegralWeakForm(flux_hll),
volume_integral = VolumeIntegralWeakForm())

equations = CompressibleEulerEquations3D(1.4)
Expand Down
2 changes: 1 addition & 1 deletion examples/dgmulti_3d/elixir_euler_weakform_periodic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Trixi, OrdinaryDiffEq

dg = DGMulti(polydeg = 3, element_type = Tet(), approximation_type = Polynomial(),
surface_integral = SurfaceIntegralWeakForm(FluxHLL()),
surface_integral = SurfaceIntegralWeakForm(flux_hll),
volume_integral = VolumeIntegralWeakForm())

equations = CompressibleEulerEquations3D(1.4)
Expand Down

0 comments on commit 2e213d8

Please sign in to comment.