1535 particle bed modificaiton and alternative packing algorithms#1539
Conversation
Claude Code ReviewHead SHA: 4fbeacd Files changed:
FindingsMissing Python-side validation for
@:PROHIBIT(particle_cloud(i)%packing_method == dflt_int, ...)
@:PROHIBIT(particle_cloud(i)%packing_method /= 1, ...)However, |
|
AI is correct, and comment has been addressed |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1539 +/- ##
=======================================
Coverage 60.80% 60.80%
=======================================
Files 73 73
Lines 20199 20209 +10
Branches 2932 2933 +1
=======================================
+ Hits 12281 12289 +8
- Misses 5932 5933 +1
- Partials 1986 1987 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Description
As requested by @sbryngelson, the particle "bed" code has been renamed to an appropriate particle "cloud". In addition I separated out the particle cloud generation into two separate subroutines. One iterates through all clouds and sorts them by packing method. The other contains all of the generation for a specific packing method.
This will enhance the ability to build upon the code, as users can now add their specific packing algorithm of choice as a case-file-selectable parameter. This architecture should make it easier for others to edit the code and maintain cleanliness moving forward.
Closes #1535
Type of change (delete unused ones)
Testing
Ran CPU tests locally (all modifications are CPU-only)