Skip to content

*Test for convergence in dz_to_thickness_EOS#450

Merged
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:dz_to_thickness_iterations
Sep 25, 2023
Merged

*Test for convergence in dz_to_thickness_EOS#450
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:dz_to_thickness_iterations

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Member

Add tests to stop iterating when converged to roundoff in dz_to_thickness_EOS() when in fully non-Boussinesq mode. Also modified the code to keep track of the layer thickness directly in non-Boussinesq mode rather than setting the layer thickness based on a difference between interface pressures. Boussinesq answers are bitwise identical, but non-Boussinesq answers change.

  Add tests to stop iterating when converged to roundoff in dz_to_thickness_EOS
when in fully non-Boussinesq mode.  Also modified the code to keep track of the
layer thickness directly in non-Boussinesq mode rather than setting the layer
thickness based on a difference between interface pressures.  Boussinesq
answers are bitwise identical, but non-Boussinesq answers change.
@Hallberg-NOAA Hallberg-NOAA added enhancement New feature or request answer-changing A change in results (actual or potential) labels Aug 11, 2023
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 11, 2023

Codecov Report

Merging #450 (bb1e639) into dev/gfdl (25b57f4) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

❗ Current head bb1e639 differs from pull request most recent head 0e4d2cb. Consider uploading reports for the commit 0e4d2cb to get more accurate results

@@             Coverage Diff              @@
##           dev/gfdl     #450      +/-   ##
============================================
- Coverage     38.01%   38.00%   -0.01%     
============================================
  Files           270      270              
  Lines         77771    77788      +17     
  Branches      14323    14326       +3     
============================================
- Hits          29565    29564       -1     
- Misses        42878    42897      +19     
+ Partials       5328     5327       -1     
Files Changed Coverage Δ
src/core/MOM_interface_heights.F90 25.00% <0.00%> (-1.62%) ⬇️

... and 1 file with indirect coverage changes

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

@marshallward
Copy link
Copy Markdown
Member

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

@marshallward marshallward merged commit a7444b3 into NOAA-GFDL:dev/gfdl Sep 25, 2023
@Hallberg-NOAA Hallberg-NOAA deleted the dz_to_thickness_iterations branch September 27, 2023 16:10
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