Clean correct state subroutine - #1838
danieljvickers wants to merge 6 commits into
Conversation
|
Claude Code Review Head SHA: 9ae77c5 Files changed:
Findings:
|
|
@sbryngelson This is read for PR |
|
Reviewed One thing is not behaviour-preserving. The new
|
|
Addressed review comments by simply removing the select statement. But the sentiment of just prohibiting the case is correct, and I have added a prohibit to the python checker to compensate. Uneeded variables were removed, as is correct. |
|
Triaging CI across the open PRs: all 21 failures on this branch are the Root cause is in #1878: NVHPC's two-pass IPO miscompiles the six-equation pressure-relaxation kernel in OpenACC device code and silently drops the internal-energy update. It emits no diagnostic, so the build succeeds and the answer is wrong. That is why a branch can fail 23 Nothing to do here. Once #1878 lands, rebasing should clear all 21 without a change on your side. |
Lines of Code
|
Since we are planning to extend the immersed boudnary method to include more features and EOS, I have moved out some of the subroutines involved in this calculation to clean up the
s_ibm_correct_statesubroutine. Mostly adding abstractions and making it clear where modifications for various EOS need to go.I have a few branches open right now as I am still waiting for pull requests to go through. This will heavily conflict with my current debug branch that is still uncovering new bugs. When that branch eventually gets merged, I will have to return and do similar abstraction for getting temperature and density and setting energy.
This is not a draft, but a full PR ready for merge. I am leaving it as a draft for now by request of @sbryngelson. I will let him determine when to open a PR