Clean ib patch file#1413
Conversation
ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one. |
|
Claude Code Review Head SHA: 26244e5 Files changed:
Findings: 1. Correctness regression: sphere IB patch broken on cylindrical grids ( The removed hunk in ! removed:
if (grid_geometry == 3) then
call s_convert_cylindrical_to_cartesian_coord(y_cc(j), z_cc(k))
! sets cart_y = r*sin(theta), cart_z = r*cos(theta)
else
cart_y = y_cc(j)
cart_z = z_cc(k)
end if
if (... (cart_y - center(2))**2 + (cart_z - center(3))**2 <= radius**2) ...The replacement uses if (((x_cc(i) - center(1))**2 + (y_cc(j) - center(2))**2 + (z_cc(k) - center(3))**2 <= radius**2)) thenOn a cylindrical grid, 2. Removed public symbol The diff removes |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1413 +/- ##
==========================================
+ Coverage 64.90% 64.92% +0.02%
==========================================
Files 72 72
Lines 18874 18855 -19
Branches 1571 1570 -1
==========================================
- Hits 12250 12242 -8
+ Misses 5649 5639 -10
+ Partials 975 974 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
Deletes the old cartesian coordinate variables from IB patches. We never have supported cartesian coordinates for patches, and thus this code is unneccessary. It is now causing issues on reldebug builds, and thus should go.
Fixes #(issue)
Type of change