Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Winters <[email protected]>
  • Loading branch information
DanielDoehring and andrewwinters5000 authored Mar 28, 2024
1 parent f91ab40 commit c71fe7d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ solver = DGSEM(polydeg = 5, surface_flux = flux_hll)
coordinates_min = (0.0,)
coordinates_max = (90.0,)

# Create a uniformly refined mesh with periodic boundaries
mesh = TreeMesh(coordinates_min, coordinates_max,
initial_refinement_level = 6,
n_cells_max = 100_000,
Expand Down
3 changes: 2 additions & 1 deletion src/equations/linearized_euler_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Linearized euler equations in one space dimension. The equations are given by
\end{pmatrix}
```
The bar ``\bar{(\cdot)}`` indicates uniform mean flow variables and c is the speed of sound.
The unknowns are the acoustic velocity ``v_1'``, the pressure ``p'`` and the density ``\rho'``.
The unknowns are the perturbation quantities of the acoustic velocity ``v_1'``, the pressure ``p'``
and the density ``\rho'``.
"""
struct LinearizedEulerEquations1D{RealT <: Real} <:
AbstractLinearizedEulerEquations{1, 3}
Expand Down
1 change: 0 additions & 1 deletion test/test_tree_1d_linearizedeuler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ end
0.9999720404625275,
1.9999505145390108,
])

# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
let
Expand Down

0 comments on commit c71fe7d

Please sign in to comment.