Repository navigation
Use a symmetric pair-local near-zero cutoff for DEM - #1347
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1347 +/- ##
==========================================
+ Coverage 90.71% 90.94% +0.22%
==========================================
Files 143 143
Lines 11493 11508 +15
==========================================
+ Hits 10426 10466 +40
+ Misses 1067 1042 -25
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Oct 2, 2026
Merged
Collaborator
Author
|
superseeded by 1349. DEM fix needs still followup. |
svchb
marked this pull request as draft
October 5, 2026 10:46
svchb
marked this pull request as ready for review
October 5, 2026 13:45
…-zero-distance # Conflicts: # src/schemes/structure/discrete_element_method/rhs.jl
svchb
added a commit
that referenced
this pull request
Oct 5, 2026
…-fluid-reaction-forces Resolve conflicts in favor of this branch's structure-fluid reaction-force implementation while adopting the base branch's changes: - Keep structure.jl deleted; its content moved to fluid_interaction.jl and the owning schemes. - Port check_compact_support_fsi into fluid_interaction.jl. - Base the structure-side pair force on the shared add_momentum_equation so the reaction on the structure is the exact negative of the fluid force, while evaluating the fluid-side gradient with the fluid-first position vector (corrected gradients need not be odd). - Use the almostzero near-zero distance check from #1349. - Keep both NEWS entries for #1338 and the pair-local DEM cutoff (#1347).
efaulhaber
requested changes
Oct 7, 2026
efaulhaber
approved these changes
Oct 7, 2026
Collaborator
Author
|
/run-gpu-tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow up on #1349 by making the DEM near-zero distance cutoff symmetric and pair-local:
almostzerohelper introduced in Use simpleralmostzerowithout computing asqrt#1349.Dependency
This PR follows #1349. Its base branch,
simpler-almostzerointrixi-framework/TrixiParticles.jl, mirrors #1349's fork head at62ea696efe6bb76c554d05355173606c337d4a7fso the follow-up diff can be reviewed directly. Retarget tomainafter #1349 merges.Validation
1,212/1,212 tests passed on Julia 1.11.9 with bounds checking: all existing smoothing-kernel tests and DEM system/contact-model tests, including 36 new DEM regression assertions.
JuliaFormatter 2.1.1 and whitespace checks passed.