Skip to content
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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

mncrowe
Copy link
Contributor

@mncrowe mncrowe commented Jan 21, 2025

Addresses issue 374

@mncrowe
Copy link
Contributor Author

mncrowe commented Jan 22, 2025

I've added multiple dispatch to replace the if-else logic. CI failing for documentation, not sure why.

@navidcy navidcy linked an issue Jan 23, 2025 that may be closed by this pull request
@navidcy navidcy self-requested a review January 23, 2025 00:38
Copy link
Member

@navidcy navidcy left a 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add finite depth parameter to SQG model (surfaceqg.jl)
2 participants