-
Notifications
You must be signed in to change notification settings - Fork 46
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
Cleanup upw_frac
in AdvectionSrc code
#1522
Labels
cleanup
Cleanup code or comments
Comments
This sounds like a good change |
@ewquon -- is this still something we want to do? Or has it been superseded by other changes to advection? |
@asalmgren I'll take another look. While I'm at it, I'll also want to think about how to make the blending more general for Matt's work. |
@ewquon -- does your latest PR resolve this issue? |
Yep.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Ann Almgren ***@***.***>
Sent: Tuesday, February 4, 2025 5:42:09 PM
To: erf-model/ERF ***@***.***>
Cc: Quon, Eliot ***@***.***>; Mention ***@***.***>
Subject: Re: [erf-model/ERF] Cleanup `upw_frac` in AdvectionSrc code (Issue #1522)
CAUTION: This email originated from outside of NREL. Do not click links or open attachments unless you recognize the sender and know the content is safe.
@ewquon<https://github.com/ewquon> -- does your latest PR resolve this issue?
—
Reply to this email directly, view it on GitHub<#1522 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AELLXM2WW5QKRU3NOZPPZU32OFM6DAVCNFSM6AAAAABVOHD3KSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMZVGQ2TCNJTGA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From erf_slow_rhs_pre,
horiz_upw_frac
andvert_upw_frac
are passed:AdvectionSrcForMom
AdvectionSrcForMomVert_*
AdvectionSrcForMomWrapper_*
(where theInterpType_H
andInterpType_V
structs are instantiated)AdvectionSrcFor*Mom_*
interp_*_h.InterpolateIn*
andinterp_*_v.InterpolateIn*
withupw_frac_h
andupw_frac_v
, respectively, as arguments.All the hand offs for step 4 and 5 can be avoided by just instantiating the interp structs in step 3 with the upwind fraction as an argument.
The text was updated successfully, but these errors were encountered: