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

(*)Pass dz to user initialize_ALE_sponge calls #587

Merged

Conversation

Hallberg-NOAA
Copy link
Member

Pass vertical extents (dz in [Z ~> m]) instead of thicknesses (h in [H ~> m or kg m-2] and use data_h_is_Z flag in calls to initialize_ALE_sponge() calls from 5 user modules and avoid extra calls to dz_to_thickness() in these routines. All Boussinesq solutions are bitwise identical, but in any non-Boussinesq configurations using ALE sponges, the previous conversion from dz to thickness and back again can change dz in the last bits, so some non-Boussinesq answers could change.

  Pass vertical extents (dz in [Z ~> m]) instead of thicknesses (h in
[H ~> m or kg m-2] and use data_h_is_Z flag in calls to initialize_ALE_sponge
calls from 5 user modules and avoid extra calls to dz_to_thickness in these
routines.  All Boussinesq solutions are bitwise identical, but in any
non-Boussinesq configurations using ALE sponges, the previous conversion from dz
to thickness and back again can change dz in the last bits, so some
non-Boussinesq answers could change.
Copy link

codecov bot commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 37.15%. Comparing base (a71fbce) to head (6ce7569).

❗ Current head 6ce7569 differs from pull request most recent head 26eb68c. Consider uploading reports for the commit 26eb68c to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##           dev/gfdl     #587      +/-   ##
============================================
+ Coverage     37.06%   37.15%   +0.08%     
============================================
  Files           271      271              
  Lines         80990    80712     -278     
  Branches      15123    15059      -64     
============================================
- Hits          30022    29986      -36     
+ Misses        45346    45128     -218     
+ Partials       5622     5598      -24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marshallward
Copy link
Member

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

Reported parameter diff is due to earlier content.

@marshallward marshallward merged commit 2d121dc into NOAA-GFDL:dev/gfdl Apr 10, 2024
9 of 10 checks passed
@Hallberg-NOAA Hallberg-NOAA deleted the user_ALE_sponge_z_input branch May 10, 2024 21:27
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