-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add linear dispersion relation #168
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #168 +/- ##
==========================================
+ Coverage 98.02% 98.07% +0.04%
==========================================
Files 19 20 +1
Lines 1877 1920 +43
==========================================
+ Hits 1840 1883 +43
Misses 37 37 ☔ View full report in Codecov by Sentry. |
Benchmark Results
Benchmark PlotsA plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR. |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…/DispersiveShallowWater.jl into dispersionrelation
Co-authored-by: Hendrik Ranocha <ranocha@users.noreply.github.com>
Co-authored-by: Hendrik Ranocha <ranocha@users.noreply.github.com>
Good question... Maybe it would be best to compute the relation from scratch? |
Why do you expect the dispersion relations to be the same? |
I think it would be pretty weird if the phase speed for the BBM equation would be always 5/2 as fast as the phase speed of the BBM-BBM equations. This would also mean that for First version, where we use the true
|
I tried to compute the linear dispersion relation for the hyperbolic Serre-Green-Naghdi equations from scratch, but had some issues to eliminate the |
Nice 👍 I also ran into the issue of needing to set |
Sure 👍 |
I'm thinking about this again. What we could do for the linear dispersion relation is to set it for the BBM equation as |
Co-authored-by: Hendrik Ranocha <ranocha@users.noreply.github.com>
…/DispersiveShallowWater.jl into dispersionrelation
I just pushed a commit to generalize the linear dispersions relations for both the BBM and the BBM-BBM equations for general |
This adds a new feature to compute the dispersion relation and wave speed of the different equations. It also adds a new page in the docs explaining the general concept of dispersion, which uses the new
LinearDispersionRelation
to compare the dispersive behavior of the different equations.I have three questions:
EulerEquation1D
as I do in the docs and dispatch on that. This, however, has the disadvantage that it might lead to the confusion that the Euler equations are supported by DispersiveShallowWater.jl.Closes #131.