Deactivate out of bounds particle#1000
Deactivate out of bounds particle#1000LasNikas wants to merge 23 commits intotrixi-framework:mainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1000 +/- ##
==========================================
- Coverage 89.17% 89.16% -0.02%
==========================================
Files 128 129 +1
Lines 9925 9950 +25
==========================================
+ Hits 8851 8872 +21
- Misses 1074 1078 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
PR 1000 🎉🔥 |
|
Any thoughts on this, @efaulhaber and @svchb ? I can't think of anything better at the moment. However, I can't see any reason why we shouldn't have this (except for performance, but I think that's negligible?) |
9fb29f5 to
e3eac7b
Compare
|
/run-gpu-tests |
I think it should be optional. Otherwise I am fine with this. |
I also considered making this optional. However, it would then be necessary to explain that this can only be set if a full grid cell list and a system buffer are used. Users should not expect this to apply to other constellations. This would need to be explained in more detail. Should I do that? @svchb @efaulhaber |
You could of course implement this for the other nhs types as well. |
But the domain is potentially infinite for the other NHS. Also, it only works with system buffer, as the particles are not deleted but only deactivated. |
Hmm... You could throw an error message if its activated for other nhs types. |
8ac6a42 to
e1bceff
Compare
|
Tests are failing. |
efaulhaber
left a comment
There was a problem hiding this comment.
Please add more comments explaining why this is done and when. Something like "the full grid cell list requires a bounding box. For this cell list, we deactivate particles that are outside the bounding box. These particles are glitched out of the open boundary and don't contribute anyway, and would crash the simulation if they move outside the bounding box and are not removed.
No description provided.