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

Clean up advection scheme blending #2097

Merged
merged 8 commits into from
Feb 4, 2025

Conversation

ewquon
Copy link
Contributor

@ewquon ewquon commented Feb 4, 2025

As described in #1522. The upwinding fraction (upw_frac) is now saved as a member variable when the interpolation object is created, instead of being passed as an argument each time interp_[uvw]_[hv].InterpolateIn[XYZ]() is called.

Verified

  • Blended_3rd4th w/ upw_frac=1 is identical to Upwind_3rd
  • Blended_3rd4th w/ upw_frac=0 is identical to Centered_4th
  • Blended_5th6th w/ upw_frac=1 is identical to Upwind_5rd
  • Blended_5th6th w/ upw_frac=0 is identical to Centered_6th

@asalmgren asalmgren merged commit d91d64b into erf-model:development Feb 4, 2025
12 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.

3 participants