Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Dec 11, 2024
1 parent 60e800e commit 08c04e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/equations/serre_green_naghdi_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ function rhs_sgn_upwind!(dq, q, equations, source_terms, cache, ::BathymetryFlat
end

@trixi_timeit timer() "solving elliptic system" begin
scale_by_mass_matrix!(tmp1, D1)
scale_by_mass_matrix!(tmp, D1)
solve_system_matrix!(dv, system_matrix, tmp,
equations, D1, cache)
end
Expand Down Expand Up @@ -591,7 +591,7 @@ function rhs_sgn_central!(dq, q, equations, source_terms, cache,
end

@trixi_timeit timer() "solving elliptic system" begin
scale_by_mass_matrix!(tmp1, D1)
scale_by_mass_matrix!(tmp, D1)
solve_system_matrix!(dv, system_matrix, tmp,
equations, D1, cache)
end
Expand Down Expand Up @@ -705,7 +705,7 @@ function rhs_sgn_upwind!(dq, q, equations, source_terms, cache,
end

@trixi_timeit timer() "solving elliptic system" begin
scale_by_mass_matrix!(tmp1, D1)
scale_by_mass_matrix!(tmp, D1)
solve_system_matrix!(dv, system_matrix, tmp,
equations, D1, cache)
end
Expand Down

0 comments on commit 08c04e6

Please sign in to comment.