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

Fixes off-by-one indexing error in hydrostatic pressure integrat… #612

Merged
merged 1 commit into from
Feb 3, 2020

Conversation

glwagner
Copy link
Member

@glwagner glwagner commented Feb 3, 2020

This error may not be consequential for any work we've done so far because it amounts to changing an irrelevant 'gauge condition' on the pressure in many cases.

It does impact set-ups with vertically stretched grids, and it may impact set-ups that specify a horizontal buoyancy gradient at the surface. None of the regression tests deal with such scenarios.

@glwagner
Copy link
Member Author

glwagner commented Feb 3, 2020

@ali-ramadhan gitlab failed. Help.

@ali-ramadhan
Copy link
Member

It just timed out which is quite common. I restarted it. If it times out again I'll just run the GPU tests manually on Tartarus.

@codecov
Copy link

codecov bot commented Feb 3, 2020

Codecov Report

Merging #612 into master will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #612      +/-   ##
==========================================
+ Coverage   74.51%   74.55%   +0.04%     
==========================================
  Files         117      117              
  Lines        2209     2209              
==========================================
+ Hits         1646     1647       +1     
+ Misses        563      562       -1
Impacted Files Coverage Δ
src/TimeSteppers/kernels.jl 93.33% <100%> (ø) ⬆️
src/Buoyancy/nonlinear_equation_of_state.jl 75% <0%> (+4.16%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 88a4f8f...7d4e5b6. Read the comment docs.

@ali-ramadhan ali-ramadhan changed the title Fixes off-by-one indexing error in hydrostatic pressure integration Fixes off-by-one indexing error in hydrostatic pressure integrat… Feb 3, 2020
@ali-ramadhan ali-ramadhan merged commit f080635 into master Feb 3, 2020
@ali-ramadhan ali-ramadhan deleted the glw/fix-hydrostatic-pressure branch February 3, 2020 20: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