-
Notifications
You must be signed in to change notification settings - Fork 32
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 finite depth functionality to SurfaceQG
#375
base: main
Are you sure you want to change the base?
Conversation
I've added multiple dispatch to replace the if-else logic. CI failing for documentation, not sure why. |
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.
Suggestion:
At the moment there is no variable for stream function. If we introduce ψh
in Vars then we can call streamfunctionfromb!
within calcN_advection!
. This way, by having multiple dispatch on streamfunctionfromb!
we'll sort out the finite/infinite depth cases without having to almost-duplicate calcN_advection!
. What do you think?
Addresses issue 374