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

Rename u arg to step_MOM_dyn_split_RK2 as u_inst #537

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

Hallberg-NOAA
Copy link
Member

Renamed the arguments u and v to step_MOM_dyn_split_RK2() as u_inst and v_inst to more clearly differentiate between the instantaneous velocities (u_inst and v_inst) and the velocities with a time-averaged phase in the barotropic mode (u_av and v_av). A comment is also added at one point where the wrong velocities are being used to calculate and apply the Orlanski-style radiation open boundary conditions, with the intention of adding the option to correct this in a subsequent commit. This commit only changes the name of a pair of internal variables in one routine, and all answers are bitwise identical.

  Renamed the arguments u and v to step_MOM_dyn_split_RK2 as u_inst and v_inst
to more clearly differentiate between the instantaneous velocities (u_inst and
v_inst) and the velocities with a time-averaged phase in the barotropic mode
(u_av and v_av).  A comment is also added at one point where the wrong
velocities are being used to calculate and apply the Orlanski-style radiation
open boundary conditions, with the intention of adding the option to correct
this in a subsequent commit.  This commit only changes the name of a pair of
internal variables in one routine, and all answers are bitwise identical.
@Hallberg-NOAA Hallberg-NOAA added the documentation Improvements or additions to documentation label Dec 17, 2023
Copy link

codecov bot commented Dec 17, 2023

Codecov Report

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

Comparison is base (d7096bd) 37.44% compared to head (bc192e4) 37.44%.

Files Patch % Lines
src/core/MOM_dynamics_split_RK2.F90 77.27% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##           dev/gfdl     #537   +/-   ##
=========================================
  Coverage     37.44%   37.44%           
=========================================
  Files           270      270           
  Lines         79674    79673    -1     
  Branches      14828    14828           
=========================================
  Hits          29835    29835           
+ Misses        44290    44289    -1     
  Partials       5549     5549           

☔ 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/21728 ✔️

@marshallward marshallward merged commit 90de5de into NOAA-GFDL:dev/gfdl Dec 20, 2023
12 checks passed
@Hallberg-NOAA Hallberg-NOAA deleted the u_inst_argument branch May 10, 2024 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants