-
Notifications
You must be signed in to change notification settings - Fork 190
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
(0.91.14) Extend Lagrangian advection to immersed grids and add tests #3765
Merged
+150
−63
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
4b72263
extend lagrangian advection to all AbstractGrids
tomchor 2334603
cleaner syntax
tomchor 25d02a6
bugfix for immersed grids with flat dimensions
tomchor c37be12
add tests with immersed boundary grid
tomchor 5e28d4b
oops, wrong topology
tomchor 9634e51
convert immersed function to boolean output
tomchor abff491
simplify
tomchor e858e54
Merge branch 'main' into tc/ibg-tracking
tomchor 97b197f
clean up logic
tomchor 54b1dcf
Merge branch 'tc/ibg-tracking' of github.com:CliMA/Oceananigans.jl in…
tomchor 8bcdef1
bump patch version
tomchor 81ff38f
added docstring
tomchor 6ac566a
Merge branch 'main' into tc/ibg-tracking
tomchor c786eaa
Merge branch 'main' into tc/ibg-tracking
tomchor 31bec4e
correct indices
tomchor 28171f6
Merge branch 'tc/ibg-tracking' of github.com:CliMA/Oceananigans.jl in…
tomchor 1fd6833
add LatLonGrid to tests
tomchor 17a5f89
Merge branch 'main' into tc/ibg-tracking
tomchor 9635d03
write speed differently to try and avoid using too much parameter space
tomchor a06faf1
use only horizontal speed
tomchor f590acb
fix docs and convert code to doctest
tomchor 65e76c0
add output to doctest
tomchor 0cfe076
add filtering
tomchor 2c53428
Merge branch 'main' into tc/ibg-tracking
tomchor 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part of the algorithm was failing so I had to change it. However, I'm not familiar with the lagrangian advection algorithm so I'm sure if this is the right way to do things. Can someone double-check this part? From what I can tell, @Jamie-Hilditch and @jagoosw were the main authors of this algorithm, so maybe we should hear from them also.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be cleaner todo
But otherwise I agree this looks like it is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can also use an
ifelse
syntax to avoid branching:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've not really touched the couple of things I contributed so it looks good from my end.