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

+Add new (not yet used) arguments to 7 routines #405

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

Hallberg-NOAA
Copy link
Member

Add new arguments to 7 routines that will be needed for the non-Boussinesq capability, but do not use them yet, so that there will be fewer cross file dependencies as the various changes are being reviewed simultaneously. The impacted interfaces are MEKE_int, vertvisc_coef, sumSWoverBands, KPP_calculate, differential_diffuse_T_S, set_BBL_TKE, and apply_sponge In the three step_MOM_dyn_... routines and in calculateBuoyancyFlux1d, this change includes calls to thickness_to_dz to calculate the new vertical distance arrays that will be passed into vertvisc_coef or sumSWoverBands. The only place where the new arguments are actually used is in sumSWoverBands and set_opacity where the changes are particularly simple. All answers are bitwise identical, but there are new non-optional arguments to seven publicly visible routines.

  Add new arguments to 7 routines that will be needed for the non-Boussinesq
capability, but do not use them yet, so that there will be fewer cross file
dependencies as the various changes are being reviewed simultaneously.  The
impacted interfaces are MEKE_int, vertvisc_coef, sumSWoverBands, KPP_calculate,
differential_diffuse_T_S, set_BBL_TKE, and apply_sponge In the three
step_MOM_dyn_... routines and in calculateBuoyancyFlux1d, this change includes
calls to thickness_to_dz to calculate the new vertical distance arrays that will
be passed into vertvisc_coef or sumSWoverBands.  The only place where the new
arguments are actually used is in sumSWoverBands and set_opacity where the
changes are particularly simple.  All answers are bitwise identical, but there
are new non-optional arguments to seven publicly visible routines.
@codecov
Copy link

codecov bot commented Jul 18, 2023

Codecov Report

Merging #405 (e36b8d5) into dev/gfdl (b1210a0) will increase coverage by 0.01%.
The diff coverage is 66.66%.

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

@@             Coverage Diff              @@
##           dev/gfdl     #405      +/-   ##
============================================
+ Coverage     38.20%   38.22%   +0.01%     
============================================
  Files           269      269              
  Lines         76452    76465      +13     
  Branches      14047    14047              
============================================
+ Hits          29212    29228      +16     
+ Misses        41995    41990       -5     
- Partials       5245     5247       +2     
Impacted Files Coverage Δ
src/core/MOM.F90 51.10% <ø> (ø)
src/core/MOM_forcing_type.F90 41.91% <0.00%> (-0.06%) ⬇️
src/parameterizations/vertical/MOM_CVMix_KPP.F90 0.77% <0.00%> (ø)
...rc/parameterizations/vertical/MOM_diabatic_aux.F90 61.38% <0.00%> (ø)
src/parameterizations/vertical/MOM_sponge.F90 0.00% <0.00%> (ø)
...parameterizations/vertical/MOM_diabatic_driver.F90 46.60% <20.00%> (ø)
src/parameterizations/vertical/MOM_opacity.F90 34.27% <25.00%> (ø)
src/core/MOM_dynamics_split_RK2.F90 65.00% <100.00%> (+0.20%) ⬆️
src/core/MOM_dynamics_unsplit.F90 79.76% <100.00%> (+0.32%) ⬆️
src/core/MOM_dynamics_unsplit_RK2.F90 81.33% <100.00%> (+0.27%) ⬆️
... and 3 more

... and 2 files with indirect coverage changes

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

@marshallward
Copy link
Member

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

@marshallward marshallward merged commit 2342a58 into NOAA-GFDL:dev/gfdl Jul 18, 2023
@Hallberg-NOAA Hallberg-NOAA deleted the add_arguments branch November 8, 2023 23:13
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