-
Notifications
You must be signed in to change notification settings - Fork 20
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
Option to taper neutral diffusion #248
Option to taper neutral diffusion #248
Conversation
This commit adds the option to apply a linear decay in the neutral diffusion fluxes within a transition zone defined by the boundary layer depths of adjacent columns. This option is controlled by a new parameter NDIFF_TAPERING, which is only available when NDIFF_INTERIOR_ONLY=True. By default NDIFF_TAPERING=False and answers are bitwise identical.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## dev/ncar #248 +/- ##
============================================
- Coverage 37.07% 37.04% -0.04%
============================================
Files 264 264
Lines 74421 74475 +54
Branches 13780 13787 +7
============================================
- Hits 27592 27589 -3
- Misses 41739 41791 +52
- Partials 5090 5095 +5
☔ View full report in Codecov by Sentry. |
@alperaltuntas; this PR is ready for review. |
Simplifies and reduces the code by adding hbd to the neutral diffusion contril structure. This avoid the need to "extract" hbl multiple times. Answers are bitwise indenticals.
LGTM. Did you run the test sute? |
I did not test the entire suit, only GMOM JRA. I can do it now or we can do it once I create a follow-up PR adding the vertical structure in KHTR. |
This PR is ready for review. |
Adds the option to apply a linear decay in the neutral diffusion fluxes within a transition zone defined by the boundary layer depths of adjacent columns, as in Fig. 2a from Marques et al., (2023). This option is controlled by a new parameter
NDIFF_TAPERING
, which is only available whenNDIFF_INTERIOR_ONLY=True
. By default,NDIFF_TAPERING=False
, and answers are bitwise identical.