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

Use GV%dZ_subroundoff #457

Merged
merged 2 commits into from
Aug 30, 2023

Conversation

Hallberg-NOAA
Copy link
Member

Use the minimal vertical distance GV%dZ_subroundoff in 8 spots in 2 files in place of GV%H_to_Z*GV%H_subroundoff. Four internal variables were renamed for clarity of purpose in porous_widths_layer and PressureForce_Mont_Bouss. Also modified the non-Boussinesq units in a description of two integrated energy diagnostics from [H L4 T-3 ~> kg m2 s-3] to [H L4 T-3 ~> W]; these units are equivalent but the latter is more informative. Answers in all Boussinesq test cases and the existing non-Boussinesq test case in the MOM6-examples test suite are bitwise identical.

  Use the minimal vertical distance GV%dZ_subroundoff in 8 spots in 2 files in
place of GV%H_to_Z*GV%H_subroundoff.  Four internal variables were renamed for
clarity of purpose in porous_widths_layer and PressureForce_Mont_Bouss.  Also
modified the non-Boussinesq units in a description of two integrated energy
diagnostics from [H L4 T-3 ~> kg m2 s-3] to [H L4 T-3 ~> W]; these units are
equivalent but the latter is more informative.  Answers in all Boussinesq test
cases and the existing non-Boussinesq test case in the MOM6-examples test suite
are bitwise identical.
@codecov
Copy link

codecov bot commented Aug 14, 2023

Codecov Report

Merging #457 (54871f4) into dev/gfdl (1872d3b) will not change coverage.
The diff coverage is 41.66%.

❗ Current head 54871f4 differs from pull request most recent head e85d8fc. Consider uploading reports for the commit e85d8fc to get more accurate results

@@            Coverage Diff            @@
##           dev/gfdl     #457   +/-   ##
=========================================
  Coverage     38.01%   38.01%           
=========================================
  Files           270      270           
  Lines         77761    77761           
  Branches      14371    14371           
=========================================
  Hits          29560    29560           
  Misses        42835    42835           
  Partials       5366     5366           
Files Changed Coverage Δ
src/diagnostics/MOM_diagnostics.F90 71.36% <ø> (ø)
src/core/MOM_porous_barriers.F90 31.07% <33.33%> (ø)
src/core/MOM_PressureForce_Montgomery.F90 9.86% <50.00%> (ø)

... 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
Member

@marshallward marshallward left a comment

Choose a reason for hiding this comment

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

Looks correct, very straightforward substitution of H to dZ subroundoff.

Perhaps instructive to introduce some kind of Boussinesq "columnar work" unit (m3 * m2 s-3) someday?

@marshallward
Copy link
Member

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

@marshallward marshallward merged commit 279ee1c into NOAA-GFDL:dev/gfdl Aug 30, 2023
@Hallberg-NOAA Hallberg-NOAA deleted the use_dz_subroundoff branch September 27, 2023 16:11
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.

2 participants