fix: add missing @:DEALLOCATE in simulation modules#1476
Conversation
Add matching @:DEALLOCATE calls in: - m_derived_variables - m_global_parameters - m_hyperelastic - m_rhs - m_riemann_solvers - m_time_steppers Remaining files not yet addressed: - src/common/m_boundary_common.fpp, m_helper.fpp, m_model.fpp, m_mpi_common.fpp, m_variables_conversion.fpp - src/post_process/m_start_up.fpp - src/simulation/m_acoustic_src.fpp, m_bubbles_EE.fpp, m_ibm.fpp (pending PR MFlowCode#1378), m_qbmm.fpp Part of MFlowCode#1459
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1476 +/- ##
==========================================
- Coverage 60.63% 60.59% -0.04%
==========================================
Files 73 73
Lines 20219 20241 +22
Branches 2937 2943 +6
==========================================
+ Hits 12259 12265 +6
- Misses 5972 5982 +10
- Partials 1988 1994 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Code ReviewReviewed the diff by checking each newly-added OverviewThis PR (part of #1459) replaces a few bare Correctness — verified symmetric ✅For these, the new deallocation matches the allocation guard and structure exactly:
Issue — incomplete deallocation of
|
Description
Part of #1459
Add matching @:DEALLOCATE calls in:
Remaining files not yet addressed:
Type of change
Testing
Ran ./mfc.sh test -j 4 locally on Ubuntu/WSL with GNU compiler and MPI.
578 tests passed, 0 failed. Spelling and lint checks passed.
Checklist
See the developer guide for full coding standards.
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@claude full review— Claude full review (also triggers on PR open/reopen/ready)claude-full-review— Claude full review via label