Conversation
…ry IBs, and removal of inner point array
Claude Code ReviewHead SHA: Summary
Findings1. Correctness — removed inner-points momentum-correction loop (high concern) Please confirm: is this loop genuinely redundant (e.g., because inner points are never touched by the Riemann solver), or does removing it change physics results? The testing note says "reran all mibm examples to ensure we did not run out of memory" — it would be valuable to also confirm that pressure/velocity fields inside IBs are unchanged. 2. Dead code — The only code that used 3. Exact allocation without buffer for non-moving case (low-risk but worth noting) For Minor
|
Claude Code ReviewHead SHA: 4150b12 Files changed: 1
Summary
Findings1. Medium —
|
Claude Code ReviewHead SHA: Files changed: 1
Summary
Findings1. Medium —
|
Description
Before scaling up, I was looking for any free memeory that we have been loose with and cleaning it up.
This removes the inner point array, as it is just a waste of memory resources. It also means we can reduce the number of ghost points to keep in memory. I also added protection preventing arbitrary memory allocation in non-moving cases.
Type of change
Testing
How did you test your changes?
I reran all mibm examples to ensure we did not run out of memory
GPU changes (expand if you modified
src/simulation/)AI code reviews
Reviews are not triggered automatically. To request a review, comment on the PR:
@coderabbitai review— incremental review (new changes only)@coderabbitai full review— full review from scratch/review— Qodo review/improve— Qodo code suggestions