From 0a5398afd3a1ec21d642949780197477a30e2c1d Mon Sep 17 00:00:00 2001 From: Daniel Doehring Date: Sat, 9 Mar 2024 16:54:34 +0100 Subject: [PATCH 1/3] Fix docu --- src/equations/linearized_euler_1d.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/equations/linearized_euler_1d.jl b/src/equations/linearized_euler_1d.jl index c5e539d7028..27245a4ddd3 100644 --- a/src/equations/linearized_euler_1d.jl +++ b/src/equations/linearized_euler_1d.jl @@ -12,7 +12,7 @@ Linearized euler equations in one space dimension. The equations are given by ```math \partial_t \begin{pmatrix} - \rho' \\ v_1' \\ \\ p' + \rho' \\ v_1' \\ p' \end{pmatrix} + \partial_x @@ -21,11 +21,11 @@ Linearized euler equations in one space dimension. The equations are given by \end{pmatrix} = \begin{pmatrix} - 0 \\ 0 \\ 0 \\ 0 + 0 \\ 0 \\ 0 \end{pmatrix} ``` The bar ``\bar{(\cdot)}`` indicates uniform mean flow variables and c is the speed of sound. -The unknowns are the acoustic velocities ``v' = (v_1', v_2')``, the pressure ``p'`` and the density ``\rho'``. +The unknowns are the acoustic velocity ``v_1'``, the pressure ``p'`` and the density ``\rho'``. """ struct LinearizedEulerEquations1D{RealT <: Real} <: AbstractLinearizedEulerEquations{1, 3} From 651c63d35dadb5f7592871434f30e19aad3d8119 Mon Sep 17 00:00:00 2001 From: Daniel Doehring Date: Mon, 11 Mar 2024 09:57:03 +0100 Subject: [PATCH 2/3] Update src/equations/linearized_euler_1d.jl --- src/equations/linearized_euler_1d.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equations/linearized_euler_1d.jl b/src/equations/linearized_euler_1d.jl index 27245a4ddd3..559fb1dc0f0 100644 --- a/src/equations/linearized_euler_1d.jl +++ b/src/equations/linearized_euler_1d.jl @@ -46,7 +46,7 @@ function LinearizedEulerEquations1D(v_mean_global::Real, rho_mean_global) end -# Constructor with keywords (note the leading ';) +# Constructor with keywords (note the leading ';') function LinearizedEulerEquations1D(; v_mean_global::Real, c_mean_global::Real, rho_mean_global::Real) return LinearizedEulerEquations1D(v_mean_global, c_mean_global, From ebe0a7b9b62d18628df6e936ff952ed4b9792d22 Mon Sep 17 00:00:00 2001 From: Daniel Doehring Date: Tue, 12 Mar 2024 15:15:39 +0100 Subject: [PATCH 3/3] Update examples/structured_1d_dgsem/elixir_linearizedeuler_characteristic_system.jl --- .../elixir_linearizedeuler_characteristic_system.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/structured_1d_dgsem/elixir_linearizedeuler_characteristic_system.jl b/examples/structured_1d_dgsem/elixir_linearizedeuler_characteristic_system.jl index e26d10446f3..c1a11f990a8 100644 --- a/examples/structured_1d_dgsem/elixir_linearizedeuler_characteristic_system.jl +++ b/examples/structured_1d_dgsem/elixir_linearizedeuler_characteristic_system.jl @@ -4,7 +4,7 @@ using LinearAlgebra: dot using Trixi ############################################################################### -# semidiscretization of the 1 linearized Euler equations +# semidiscretization of the linearized Euler equations rho_0 = 1.0 v_0 = 1.0