Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Lars Christmann <[email protected]>
  • Loading branch information
DanielDoehring and lchristm authored Apr 12, 2024
1 parent 53c789d commit 07a23c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/equations/linearized_euler_3d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@doc raw"""
LinearizedEulerEquations3D(v_mean_global, c_mean_global, rho_mean_global)
Linearized Euler equations in two space dimensions. The equations are given by
Linearized Euler equations in three space dimensions. The equations are given by
```math
\partial_t
\begin{pmatrix}
Expand Down Expand Up @@ -108,8 +108,8 @@ function boundary_condition_wall(u_inner, orientation, direction, x, t,
equations::LinearizedEulerEquations3D)
# Boundary state is equal to the inner state except for the velocity. For boundaries
# in the -x/+x direction, we multiply the velocity in the x direction by -1.
# Similarly, for boundaries in the -y/+y direction, we multiply the velocity in the
# y direction by -1
# Similarly, for boundaries in the -y/+y or -z/+z direction, we multiply the
# velocity in the y or z direction by -1
if direction in (1, 2) # x direction
u_boundary = SVector(u_inner[1], -u_inner[2], u_inner[3], u_inner[4],
u_inner[5])
Expand Down
2 changes: 1 addition & 1 deletion test/test_tree_3d_linearizedeuler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include("test_trixi.jl")

EXAMPLES_DIR = pkgdir(Trixi, "examples", "tree_3d_dgsem")

@testset "Linearized Euler Equations 2D" begin
@testset "Linearized Euler Equations 3D" begin
#! format: noindent

@trixi_testset "elixir_linearizedeuler_gauss_wall.jl" begin
Expand Down

0 comments on commit 07a23c5

Please sign in to comment.