Skip to content

Commit

Permalink
add changes from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickersing committed Apr 26, 2024
1 parent 737ebcc commit ade3377
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/equations/shallow_water_multilayer_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ in non-periodic domains).
(-0.1 * sin(t + x[1] * ω) * ω +
0.9 * (-0.1 * sin(t + x[1] * ω) * ω - 0.1 * cos(t + x[1] * ω) * ω))

du6 = -0.11000000000000001 * sin(t + x[1] * ω) +
1.2100000000000002 * (0.1 * sin(x[1] * ω) * ω - 0.1 * sin(t + x[1] * ω) * ω) +
du6 = -0.11 * sin(t + x[1] * ω) +
1.21 * (0.1 * sin(x[1] * ω) * ω - 0.1 * sin(t + x[1] * ω) * ω) +
g * (0.5 - 0.1 * cos(x[1] * ω) + 0.1 * cos(t + x[1] * ω)) *
(-0.1 * sin(x[1] * ω) * ω +
1.0 / 1.1 * (0.1 * sin(t + x[1] * ω) * ω + 0.1 * cos(t + x[1] * ω) * ω) +
Expand Down
2 changes: 0 additions & 2 deletions src/equations/shallow_water_multilayer_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,6 @@ For details see Section 9.2.5 of the book:
h_v1, h_v2 = momentum(u_inner, equations)
b = u_inner[end]

# u_boundary = SVector(h..., -hv..., b)

# compute the normal velocity
u_normal = normal[1] * h_v1 + normal[2] * h_v2

Expand Down

0 comments on commit ade3377

Please sign in to comment.