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

*Non-Boussinesq revision of calc_isoneutral_slopes #440

Merged

Conversation

Hallberg-NOAA
Copy link
Member

Revise calc_isoneutral_slopes to eliminate any dependence on the Boussinesq reference density when in non-Boussinesq mode. This includes the addition of two new arrays to hold the rescaled product of the gravitational acceleration and the specific volume interpolated to the interfaces at velocity points. The answers change in non-Boussinesq mode when one of several parameterizations that use the isoneutral slopes are in use, but are bitwise identical in Boussinesq or semi-Boussinesq mode.

  Revise calc_isoneutral_slopes to eliminate any dependence on the Boussinesq
reference density when in non-Boussinesq mode.  This includes the addition of
two new arrays to hold the rescaled product of the gravitational acceleration
and the specific volume interpolated to the interfaces at velocity points.
The answers change in non-Boussinesq mode when one of several parameterizations
that use the isoneutral slopes are in use, but are bitwise identical in
Boussinesq or semi-Boussinesq mode.
@Hallberg-NOAA Hallberg-NOAA added enhancement New feature or request answer-changing A change in results (actual or potential) labels Aug 6, 2023
@codecov
Copy link

codecov bot commented Aug 6, 2023

Codecov Report

Merging #440 (38e6145) into dev/gfdl (a808881) will decrease coverage by 0.01%.
The diff coverage is 33.33%.

❗ Current head 38e6145 differs from pull request most recent head 8fcf580. Consider uploading reports for the commit 8fcf580 to get more accurate results

@@             Coverage Diff              @@
##           dev/gfdl     #440      +/-   ##
============================================
- Coverage     38.06%   38.06%   -0.01%     
============================================
  Files           269      269              
  Lines         77215    77234      +19     
  Branches      14260    14266       +6     
============================================
+ Hits          29392    29398       +6     
- Misses        42500    42508       +8     
- Partials       5323     5328       +5     
Files Changed Coverage Δ
src/core/MOM_isopycnal_slopes.F90 59.23% <33.33%> (-1.77%) ⬇️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link

@raphaeldussin raphaeldussin left a comment

Choose a reason for hiding this comment

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

just a minor point for readability

src/core/MOM_isopycnal_slopes.F90 Show resolved Hide resolved
@marshallward
Copy link
Member

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/20321 ✔️

@marshallward marshallward merged commit d223f25 into NOAA-GFDL:dev/gfdl Aug 16, 2023
10 checks passed
@Hallberg-NOAA Hallberg-NOAA deleted the nonBous_isopycnal_slopes branch September 27, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answer-changing A change in results (actual or potential) enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants