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

[WIP] Reverse k index so that k=1 is at the bottom. #107

Closed
wants to merge 6 commits into from

Conversation

ali-ramadhan
Copy link
Member

This PR reverses the vertical index k so that k=1 corresponds to the bottom of the domain. More details can be found in #90.

WIP because I'm not 100% sure I'm calculating differences and averages at k=1 and k=Nz correctly now. Will have to ask @jm-c to make sure.

Resolves #90

@codecov
Copy link

codecov bot commented Mar 5, 2019

Codecov Report

Merging #107 into master will increase coverage by 0.44%.
The diff coverage is 91.3%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #107      +/-   ##
==========================================
+ Coverage   52.71%   53.15%   +0.44%     
==========================================
  Files          19       19              
  Lines         645      649       +4     
==========================================
+ Hits          340      345       +5     
+ Misses        305      304       -1
Impacted Files Coverage Δ
src/grids.jl 93.1% <100%> (ø) ⬆️
src/time_steppers.jl 69.15% <100%> (+1.19%) ⬆️
src/operators/ops_regular_cartesian_grid.jl 85.71% <88.88%> (ø) ⬆️
src/utils.jl 81.81% <0%> (+9.09%) ⬆️

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 3cd4ae3...998ee38. Read the comment docs.

@ali-ramadhan
Copy link
Member Author

ali-ramadhan commented Mar 6, 2019

I will come back to this PR once we have more system tests in place #78 #81

@glwagner
Copy link
Member

glwagner commented Mar 6, 2019

We should add documentation on the numerical implementation of boundary conditions in this PR.

@ali-ramadhan ali-ramadhan changed the title WIP: Reverse k index so that k=1 is at the bottom. [WIP] Reverse k index so that k=1 is at the bottom. Mar 12, 2019
@ali-ramadhan ali-ramadhan self-assigned this Apr 21, 2019
@ali-ramadhan ali-ramadhan added the numerics 🧮 So things don't blow up and boil the lobsters alive label Apr 21, 2019
@ali-ramadhan ali-ramadhan added this to the v1.0 milestone Apr 21, 2019
@ali-ramadhan
Copy link
Member Author

ali-ramadhan commented Aug 1, 2019

Closing this PR as it's super stale. Can use the proposed changes as a reference when we revisit this issue.

@ali-ramadhan ali-ramadhan deleted the reverse-k-index branch August 1, 2019 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
numerics 🧮 So things don't blow up and boil the lobsters alive
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vertical index k increases as z coordinate decreases
2 participants