-
Notifications
You must be signed in to change notification settings - Fork 108
Code tidying #907
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
base: master
Are you sure you want to change the base?
Code tidying #907
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #907 +/- ##
=======================================
Coverage 45.98% 45.98%
=======================================
Files 68 68
Lines 18629 18646 +17
Branches 2239 2244 +5
=======================================
+ Hits 8566 8574 +8
- Misses 8711 8715 +4
- Partials 1352 1357 +5 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
User description
Description
This is the latest progress of code tidying.
Fixes #845
Type of change
./mfc.sh build --debug
A few issues remaining
For example:
Adding a local variable only to silence a warning:
which I feel is not necessary.
@:analytical()
macro during./mfc.sh test
.An example is attached:
PR Type
Enhancement
Description
Remove unused variables and dummy arguments across modules
Fix compiler warnings for uninitialized variables
Correct MPI data type declarations for proper addressing
Add conditional compilation guards for unused code sections
Changes diagram
Changes walkthrough 📝
24 files
Remove unused variables and fix MPI types
Add conditional compilation guard for variable
Fix parameter order and optional arguments
Initialize variables and add conditional guards
Fix variable scope and initialization
Remove unused variables and fix declarations
Fix parameter order in function calls
Remove unused variables and fix comparisons
Remove unused variable declaration
Remove unused parameters from subroutines
Remove unused loop variable
Remove unused stability criterion variables
Fix parameter order in function calls
Add conditional compilation for variables
Fix parameter order in function calls
Fix parameter order in function calls
Remove unused loop variables
Remove unused variables and fix calls
Remove unused variables from subroutine
Comment out unused gradient magnitude variables
Remove unused field variables
Fix variable initialization and declarations
Comment out unused gradient variables
Remove duplicate parameter declarations
1 files
Improve precision-specific tolerance handling