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 option to avoid negative MEKE #279

Merged
merged 4 commits into from
May 10, 2024

Conversation

gustavo-marques
Copy link
Collaborator

Add a new input parameter option called MEKE_POSITIVE. When this parameter is set to "true", it ensures that MEKE >= 0.

@@ -81,7 +81,8 @@ module MOM_MEKE
logical :: Rd_as_max_scale !< If true the length scale can not exceed the
!! first baroclinic deformation radius.
logical :: use_old_lscale !< Use the old formula for mixing length scale.
logical :: use_min_lscale !< Use simple minimum for mixing length scale.
logical :: use_min_lscale !< Use simple minimum for mixing l >= 0.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the change to the comment on line 84 intentional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it was not. Thanks for catching that.

@alperaltuntas alperaltuntas merged commit 95259e4 into NCAR:dev/ncar May 10, 2024
10 checks passed
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.

3 participants