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

fix up dispatch of register_variables; fix up smoothing on initial data

parent f4e06edd
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.
......@@ -525,6 +525,7 @@ end
initialdata_smooth!(env, P::Project, mesh::Mesh{FVElement}) = nothing
function initialdata_smooth!(env, P::Project, mesh)
!isregistered(mesh.cache, :mu) && return
@unpack D, S, tau = get_dynamic_variables(mesh.cache)
@unpack mu = get_cell_variables(mesh.cache)
bernstein = BernsteinReconstruction(mesh)
......
......@@ -163,7 +163,7 @@ function _register_variables!(mesh::Mesh2d, hrsc::HRSC.EntropyViscosity, prms)
end
function _register_variables!(mesh, tci::TCI.AbstractTCI, prms)
function _register_variables!(mesh, tci::TCI.AbstractTCI)
register_variables!(mesh.cache, cell_variablenames = (:flag,:D_flag,:S_flag,:tau_flag))
end
......
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