Skip to content
Snippets Groups Projects
Commit e30ffc60 authored by Florian Atteneder's avatar Florian Atteneder
Browse files

fixup blastwave2 test; don't smooth FVElement mesh initial data

parent 769f1496
No related branches found
No related tags found
1 merge request!91make shock tube and blast wave tests run for SRHD when using MDA AV
This commit is part of merge request !91. Comments created here will be created in the context of that merge request.
......@@ -242,7 +242,7 @@ function initialdata_equation_of_state(
@unpack x = get_static_variables(mesh.cache)
(xmin, xmax), = mesh.extends
@toggled_assert isapprox(xmin, -1.0) && isapprox(xmax, 1.0)
@toggled_assert isapprox(xmin, -0.5) && isapprox(xmax, 0.5)
@toggled_assert eos.gamma == 5/3
x0 = 0.0
ρ0 = [ (xi < x0) ? 1.0 : 1.0 for xi in x ]
......@@ -523,6 +523,7 @@ end
#######################################################################
initialdata_smooth!(env, P::Project, mesh::Mesh{FVElement}) = nothing
function initialdata_smooth!(env, P::Project, mesh)
@unpack D, S, tau = get_dynamic_variables(mesh.cache)
@unpack mu = get_cell_variables(mesh.cache)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment