Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoArtiano committed Sep 23, 2024
1 parent bf65669 commit 6b3da0b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/elixir_euler_potential_temperature_ec.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using OrdinaryDiffEq
using Trixi
using TrixiAtmo
using TrixiAtmo: flux_theta, prim2cons
using TrixiAtmo: flux_theta
###############################################################################
# semidiscretization of the compressible Euler equations
equations = CompressibleEulerPotentialTemperatureEquations2D()
Expand All @@ -24,7 +24,7 @@ function initial_condition_weak_blast_wave(x, t,
v2 = r > 0.5f0 ? zero(RealT) : convert(RealT, 0.1882) * sin_phi
p = r > 0.5f0 ? one(RealT) : convert(RealT, 1.245)

return prim2cons(SVector(rho, v1, v2, p), equations)
return TrixiAtmo.prim2cons(SVector(rho, v1, v2, p), equations)
end

initial_condition = initial_condition_weak_blast_wave
Expand Down
2 changes: 1 addition & 1 deletion src/TrixiAtmo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ include("semidiscretization/semidiscretization_hyperbolic_2d_manifold_in_3d.jl")
export CompressibleMoistEulerEquations2D
export CompressibleEulerPotentialTemperatureEquations2D

export flux_chandrashekar, flux_LMARS, flux_theta, prim2cons
export flux_chandrashekar, flux_LMARS, flux_theta

export examples_dir

Expand Down
2 changes: 1 addition & 1 deletion test/test_trixi_consistency.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ isdir(outdir) && rm(outdir, recursive = true)
trixi_include(trixi_elixir,
equations = equations_moist,
volume_flux = flux_chandrashekar,
surface_flux = flux_LMARS,
surface_flux = flux_LMARS(360.0),
maxiters = maxiters)

errors_atmo = Main.analysis_callback(Main.sol)
Expand Down

0 comments on commit 6b3da0b

Please sign in to comment.