Skip to content

Commit

Permalink
Remove redundant part of inner constructor for GLM-MHD 2D (#2076)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* Update src/callbacks_step/glm_speed.jl

Co-authored-by: Hendrik Ranocha <[email protected]>

* minor fix

* fix type

* fix

---------

Co-authored-by: Hendrik Ranocha <[email protected]>
  • Loading branch information
huiyuxie and ranocha authored Sep 13, 2024
1 parent e4040e7 commit 56d5420
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/equations/ideal_glm_mhd_multicomponent_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 56d5420

Please sign in to comment.