Skip to content

Commit 9a5059d

Browse files
committed
fix elixirs
1 parent 613f1b9 commit 9a5059d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/elixir_moist_euler_source_terms_dry.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ c_pd = 1004 # specific heat at constant pressure for dry air
99
c_vd = 717 # specific heat at constant volume for dry air
1010
c_pv = 1885 # specific heat at constant pressure for moist air
1111
c_vv = 1424 # specific heat at constant volume for moist air
12-
g = 0.0 # gravitational acceleration
1312
equations = CompressibleMoistEulerEquations2D(c_pd = c_pd, c_vd = c_vd, c_pv = c_pv,
14-
c_vv = c_vv, gravity = 9.81)
13+
c_vv = c_vv, gravity = 0.0)
1514

1615
initial_condition = initial_condition_convergence_test_dry
1716

src/equations/compressible_euler_potential_temperature_gravity_3d.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ struct CompressibleEulerPotentialTemperatureEquationsWithGravity3D{RealT <: Real
1313
stolarsky_factor::RealT # = (gamma - 1) / gamma; used in the stolarsky mean
1414
function CompressibleEulerPotentialTemperatureEquationsWithGravity3D(; c_p, c_v,
1515
gravity)
16-
c_p, c_v, g = promote(c_p, c_v, g)
16+
c_p, c_v, g = promote(c_p, c_v, gravity)
1717
p_0 = 100_000
1818
R = c_p - c_v
1919
gamma = c_p / c_v

0 commit comments

Comments
 (0)