Skip to content

Commit

Permalink
update compressible_euler_quasi_1d.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisshChawla committed Nov 26, 2023
1 parent 2c4f3a4 commit b67db30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/equations/compressible_euler_quasi_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This affects the implementation and use of these equations in various ways:
* Trixi.jl's visualization tools will visualize the nozzle width by default.
"""
struct CompressibleEulerEquationsQuasi1D{RealT <: Real} <:
Trixi.AbstractCompressibleEulerEquations{1, 4}
AbstractCompressibleEulerEquations{1, 4}
gamma::RealT # ratio of specific heats
inv_gamma_minus_one::RealT # = inv(gamma - 1); can be used to write slow divisions as fast multiplications

Expand All @@ -61,7 +61,7 @@ struct CompressibleEulerEquationsQuasi1D{RealT <: Real} <:
end
end

have_nonconservative_terms(::CompressibleEulerEquationsQuasi1D) = Trixi.True()
have_nonconservative_terms(::CompressibleEulerEquationsQuasi1D) = True()
function varnames(::typeof(cons2cons), ::CompressibleEulerEquationsQuasi1D)
("a_rho", "a_rho_v1", "a_e", "a")
end
Expand Down

0 comments on commit b67db30

Please sign in to comment.