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

added precomputed roughness length and friction velocity + fix bug #5

Merged
merged 24 commits into from
Jan 19, 2024

Conversation

jagoosw
Copy link
Owner

@jagoosw jagoosw commented Dec 27, 2023

Precomputing roughness length and friction velocity improve performance.

Major bug in body heating fixed (hopefully).

Benchmarked and the wind model is ~4x faster on a 200x200xNz grid

Copy link

codecov bot commented Dec 27, 2023

Codecov Report

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

Comparison is base (0e9ff4e) 79.26% compared to head (c4d546c) 83.17%.

Files Patch % Lines
src/wall_model.jl 92.00% 2 Missing ⚠️
src/interpolations.jl 92.85% 1 Missing ⚠️
src/wind_stress.jl 95.45% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
+ Coverage   79.26%   83.17%   +3.90%     
==========================================
  Files           7        8       +1     
  Lines         164      214      +50     
==========================================
+ Hits          130      178      +48     
- Misses         34       36       +2     

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

@jagoosw jagoosw marked this pull request as ready for review December 28, 2023 13:14
@jagoosw jagoosw changed the title added precomputed roughness length calculations to improve peformance (hopefully) added precomputed roughness length and friction velocity + fix bug Dec 28, 2023
@jagoosw jagoosw merged commit 98fd5f4 into main Jan 19, 2024
4 checks passed
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.

None yet

1 participant