Skip to content

Commit

Permalink
delete relation for hyperbolic SGN equations
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Feb 17, 2025
1 parent 331ec06 commit da38ac0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/dispersion_relation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,3 @@ function (disp_rel::LinearDispersionRelation)(equations::SerreGreenNaghdiEquatio
g = gravity_constant(equations)
return sqrt(g * h0) * k / sqrt(1.0 + (k * h0)^2 / 3)
end

# TODO: Make this for general lambda (how to understand eq. (19) in Favrie and Gavrilyuk?)
function (disp_rel::LinearDispersionRelation)(equations::HyperbolicSerreGreenNaghdiEquations1D,
k)
h0 = disp_rel.ref_height
g = gravity_constant(equations)
lambda = equations.lambda
return sqrt(g * h0) * k / sqrt(1.0 + (k * h0)^2 / 3)
end

0 comments on commit da38ac0

Please sign in to comment.