Skip to content

Commit 6c6a657

Browse files
committed
fix tests
1 parent 111ebb2 commit 6c6a657

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

src/equations/compressible_euler_internal_energy_with_gravity_2d.jl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Entropy conserving, total energy conserving and kinetic energy preserving two-po
104104
- Marco Artiano, Hendrik Ranocha (2026)
105105
On Affordable High-Order Entropy-Conservative/Stable and
106106
Well-Balanced Methods for Nonconservative Hyperbolic Systems
107-
(https://arxiv.org/abs/2603.18978)
107+
[DOI: 10.48550/arXiv.2603.18978](https://arxiv.org/abs/2603.18978)
108108
"""
109109
@inline function flux_conservative_artiano_ranocha(u_ll, u_rr,
110110
normal_direction::AbstractVector,
@@ -138,8 +138,7 @@ Entropy conserving, total energy conserving and kinetic energy preserving two-po
138138
- Marco Artiano, Hendrik Ranocha (2026)
139139
On Affordable High-Order Entropy-Conservative/Stable and
140140
Well-Balanced Methods for Nonconservative Hyperbolic Systems
141-
(https://arxiv.org/abs/2603.18978)
142-
"""
141+
[DOI: 10.48550/arXiv.2603.18978](https://arxiv.org/abs/2603.18978)"""
143142
@inline function flux_nonconservative_artiano_ranocha(u_ll, u_rr,
144143
normal_direction::AbstractVector,
145144
equations::CompressibleEulerInternalEnergyEquationsWithGravity2D)
@@ -168,7 +167,7 @@ Entropy stable two-point flux by
168167
- Marco Artiano, Hendrik Ranocha (2026)
169168
On Affordable High-Order Entropy-Conservative/Stable and
170169
Well-Balanced Methods for Nonconservative Hyperbolic Systems
171-
(https://arxiv.org/abs/2603.18978)
170+
[DOI: 10.48550/arXiv.2603.18978](https://arxiv.org/abs/2603.18978)
172171
"""
173172
@inline function flux_conservative_es(u_ll, u_rr, normal_direction::AbstractVector,
174173
equations::CompressibleEulerInternalEnergyEquationsWithGravity2D)
@@ -218,7 +217,7 @@ Entropy stable two-point flux by
218217
- Marco Artiano, Hendrik Ranocha (2026)
219218
On Affordable High-Order Entropy-Conservative/Stable and
220219
Well-Balanced Methods for Nonconservative Hyperbolic Systems
221-
(https://arxiv.org/abs/2603.18978)
220+
[DOI: 10.48550/arXiv.2603.18978](https://arxiv.org/abs/2603.18978)
222221
"""
223222
@inline function flux_nonconservative_es(u_ll, u_rr, normal_direction::AbstractVector,
224223
equations::CompressibleEulerInternalEnergyEquationsWithGravity2D)

test/test_type.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -586,12 +586,12 @@ end
586586
equations = @inferred CompressibleEulerInternalEnergyEquationsWithGravity2D(c_p = RealT(1004),
587587
c_v = RealT(717),
588588
gravity = RealT(9.81))
589-
590589
x = SVector(zero(RealT))
591590
t = zero(RealT)
592591
u = u_ll = u_rr = u_inner = cons = SVector(one(RealT), one(RealT), one(RealT),
593592
RealT(2), one(RealT))
594-
593+
surface_flux_functions = (flux_conservative_artiano_ranocha,
594+
flux_nonconservative_artiano_ranocha)
595595
normal_direction = SVector(one(RealT), one(RealT))
596596

597597
@test eltype(@inferred flux_nonconservative_artiano_ranocha(u_ll, u_rr,
@@ -613,7 +613,7 @@ end
613613
@test eltype(@inferred boundary_condition_slip_wall(u_inner,
614614
normal_direction,
615615
x, t,
616-
surface_flux_function,
616+
surface_flux_functions,
617617
equations)) ==
618618
SVector{5, RealT}
619619
@test eltype(varnames(cons2prim, equations)) == String

0 commit comments

Comments
 (0)