Skip to content

Remove some unused calculations if non-Boussinesq#548

Merged
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:fewer_unused_calculations
Feb 8, 2024
Merged

Remove some unused calculations if non-Boussinesq#548
marshallward merged 2 commits into
NOAA-GFDL:dev/gfdlfrom
Hallberg-NOAA:fewer_unused_calculations

Conversation

@Hallberg-NOAA
Copy link
Copy Markdown
Member

Eliminated some unused calculations in wave_speed and thickness_diffuse_full that would use the Boussinesq reference density when in non-Boussinesq mode, either by adding logical flags around the calculations so that they only occur in Boussinesq mode. All answers are bitwise identical.

  Eliminated some unused calculations in wave_speed and thickness_diffuse_full
that would use the Boussinesq reference density when in non-Boussinesq mode,
either by adding logical flags around the calculations so that they only occur
in Boussinesq mode.  All answers are bitwise identical.
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 21, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (9282cd1) 37.21% compared to head (eb47aa6) 37.20%.

Files Patch % Lines
src/diagnostics/MOM_wave_speed.F90 25.00% 2 Missing and 1 partial ⚠️
...arameterizations/lateral/MOM_thickness_diffuse.F90 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           dev/gfdl     #548      +/-   ##
============================================
- Coverage     37.21%   37.20%   -0.01%     
============================================
  Files           271      271              
  Lines         80442    80440       -2     
  Branches      14996    14999       +3     
============================================
- Hits          29933    29930       -3     
+ Misses        44945    44944       -1     
- Partials       5564     5566       +2     

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

@marshallward
Copy link
Copy Markdown
Member

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

@marshallward marshallward merged commit 4757bcb into NOAA-GFDL:dev/gfdl Feb 8, 2024
@Hallberg-NOAA Hallberg-NOAA deleted the fewer_unused_calculations branch May 10, 2024 21:38
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