From 56d5420208149da9141a0d65108834bd242e819d Mon Sep 17 00:00:00 2001 From: Huiyu Xie Date: Thu, 12 Sep 2024 20:34:15 -1000 Subject: [PATCH] Remove redundant part of inner constructor for GLM-MHD 2D (#2076) * start * remove compat * add compat * compat version * test * apply reset * multi mhd * add comments and fix errors * Update src/semidiscretization/semidiscretization_coupled.jl Co-authored-by: Hendrik Ranocha * Update src/callbacks_step/glm_speed.jl Co-authored-by: Hendrik Ranocha * minor fix * fix type * fix --------- Co-authored-by: Hendrik Ranocha --- src/equations/ideal_glm_mhd_multicomponent_2d.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/equations/ideal_glm_mhd_multicomponent_2d.jl b/src/equations/ideal_glm_mhd_multicomponent_2d.jl index 5bfdaa8c620..c56294b6643 100644 --- a/src/equations/ideal_glm_mhd_multicomponent_2d.jl +++ b/src/equations/ideal_glm_mhd_multicomponent_2d.jl @@ -33,7 +33,6 @@ struct IdealGlmMhdMulticomponentEquations2D{NVARS, NCOMP, RealT <: Real} <: cv = gas_constants ./ (gammas .- 1) cp = gas_constants + gas_constants ./ (gammas .- 1) - c_h = convert(eltype(gammas), c_h) new(gammas, gas_constants, cv, cp, c_h) end