Repository navigation
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1290 +/- ##
==========================================
+ Coverage 90.71% 90.94% +0.22%
==========================================
Files 143 148 +5
Lines 11493 12103 +610
==========================================
+ Hits 10426 11007 +581
- Misses 1067 1096 +29
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:
|
Fix conflicts in src/schemes/fluid/entropically_damped_sph/rhs.jl and src/schemes/fluid/weakly_compressible_sph/rhs.jl: - Use gradient_correction (and force_correction) from correction lifecycle branch - Preserve mapreduce_neighbor functional API (add_dv_* functions) from origin/main - pressure_acceleration now uses gradient_correction - shifting now uses add_dv_shifting with gradient_correction
Fix conflicts in EDAC and WCSPH RHS: - adopt mapreduce_neighbor / add_dv_* functional API from origin/main - preserve gradient/force correction splitting from stack (gradient_correction for pressure/shifting, force_correction for free-surface)
…ecycle to restore stack diff
svchb
force-pushed
the
fix/gradient-correction-lifecycle
branch
from
August 27, 2026 21:31
8ac748e to
75e051e
Compare
This was referenced Nov 11, 2026
…ings - Temporarily require `correction=nothing` for the `BoundaryModelDummyParticles` of a `TotalLagrangianSPHSystem` or `RigidBodySystem`. Their correction values require the complete current hydrodynamic neighborhood, which is added in trixi-framework#1351. - Assemble the renormalized density gradient of `DensityDiffusionAntuono` from the uncorrected kernel gradient instead of the corrected fluid gradient, whose correction values are not computed yet when the density diffusion is updated. - Allocate the dummy-particle correction caches with the element type of the density. - Compute the kernel gradient of the boundary model once for the pressure acceleration and the continuity equation in the structure-fluid interaction. - Define `system_correction` for `BoundaryModelDummyParticles` instead of a custom `smoothing_kernel_grad` method, so that the safe and unsafe gradients are consistent.
…uted-search-query-capacity
…re-boundary-correction-caches # Conflicts: # NEWS.md
- Allow corrections of the `BoundaryModelDummyParticles` of structures again. The correction may differ from the fluid correction, but a boundary gradient that doesn't vanish at zero distance (`KernelCorrection`, `MixedKernelGradientCorrection`) requires every fluid to use such a correction, since pairs at the same position are skipped otherwise. - With `SummationDensity`, compute the density of structure boundary models in every update with the kernel of the boundary model over the current hydrodynamic neighborhood. Previously, it kept its initial value, and `ShepardKernelCorrection` divided this value by the Shepard coefficient in every update. - Reuse the regular structure-fluid searches for the hydrodynamic sums instead of creating and updating copies, and don't update searches of static walls. - Rename the correction-specific search helpers to hydrodynamic search helpers, since they are also used for the density summation.
…re-boundary-correction-caches
…uted-search-query-capacity
Like rigid bodies with only a contact model, a `TotalLagrangianSPHSystem` without boundary model has no hydrodynamic density or mass. Including it in the correction values or summation density of a structure boundary model failed with an error.
This branch has not been deployed
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.
Current stack refresh (2026-11-13)
2af99a208, propagated through Harden kernel gradient correction #1291 (618291a65).852ce3d10. Parent updates were merged without rewriting history.-O1, bounds checking enabled: 470/470 focused correction checks passed.Earlier revision-specific stack pins and validation results below are historical.
Summary
Stack
Depends on #1291. This PR targets
mainand temporarily includes the preceding stack.Review-only diff: svchb/TrixiParticles.jlOpen@fix/kernel-correction-lifecycle...fix/gradient-correction-lifecycle
Isolated layer: 7 files, 296 additions, 8 deletions.
Restack verification (2026-11-11)
Current stack: #1284 → #1292 → #1291 → #1290. Updated head:
fe0b2fc38; parent #1291:9448a9de5.Includes the updated #1284 foundation (
061e9a278), its FSI dependencies #1342, #1351, #1344, and #1345, and the fresh rigid-body Shepard summation numerator fix. Conflicts were resolved while preserving current boundary-model kernels/neighborhoods and the shared physical pair operator.-O1, and bounds checking enabled.Previous verification
Updated against
mainatc6ef5bd8eand propagated through the full correction stack on 2026-10-30.