-
Notifications
You must be signed in to change notification settings - Fork 5
Add comparison with experimental data to docs #238
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
Merged
Merged
Changes from 10 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
00207fa
add comparison with experimental data to docs
JoshuaLampert a8fd997
Merge branch 'main' into experimental-data-docs
JoshuaLampert 4dc1226
add a bit of text
JoshuaLampert c22ef37
more space
JoshuaLampert 0471b53
adjust tlims
JoshuaLampert 033b288
don't show bathymetry in legend
JoshuaLampert e0254af
fix missing import
JoshuaLampert 37c71ac
less space again
JoshuaLampert 35c802b
fourth -> sixth
JoshuaLampert 9a9ca59
create interface for experimental data
JoshuaLampert 0858885
skip DelimitedFiles in downgrade
JoshuaLampert 0381b65
add experimental data to documentation reference
JoshuaLampert 553103c
add .jl
JoshuaLampert f861bcb
use upwind solver for BBM-BBM and SK equations
JoshuaLampert 9a89de6
use upwind also for SGN, accuracy_order - 1
JoshuaLampert 4408690
add paragraph about choice of upwind operators
JoshuaLampert c261675
Update docs/src/dingemans.md
JoshuaLampert 0de2069
add NEWS.md entry
JoshuaLampert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| """ | ||
| data_dingemans() | ||
|
|
||
| Load the experimental data for the Dingemans experiment. Returns the time values, x-coordinates of the six wave gauges, | ||
| and experimental data, which is a matrix of wave heights at each gauge location (columns) over time (rows). | ||
|
|
||
| - Dingemans (1994) | ||
| Comparison of computations with Boussinesq-like models and laboratory measurements | ||
| [URL: https://resolver.tudelft.nl/uuid:c2091d53-f455-48af-a84b-ac86680455e9](https://resolver.tudelft.nl/uuid:c2091d53-f455-48af-a84b-ac86680455e9) | ||
| - Dingemans (1997): | ||
| Water Wave Propagation Over Uneven Bottoms (In 2 Parts). | ||
| [DOI: 10.1142/1241](https://doi.org/10.1142/1241) | ||
| """ | ||
| function data_dingemans() | ||
| path_dingemans = joinpath(data_dir(), "Dingemans.csv") | ||
| all_data, _ = readdlm(path_dingemans, ','; header = true) | ||
| t_values = all_data[:, 1] | ||
| x_values = (3.04, 9.44, 20.04, 26.04, 30.44, 37.04) | ||
| experimental_data = all_data[:, 2:end] | ||
| return t_values, x_values, experimental_data | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.