Refactor SPH system initialization to use keyword arguments#1144
Merged
efaulhaber merged 64 commits intotrixi-framework:devfrom Apr 28, 2026
Merged
Refactor SPH system initialization to use keyword arguments#1144efaulhaber merged 64 commits intotrixi-framework:devfrom
efaulhaber merged 64 commits intotrixi-framework:devfrom
Conversation
- Updated the initialization of `WeaklyCompressibleSPHSystem` and `EntropicallyDampedSPHSystem` across multiple examples to utilize keyword arguments for better readability and maintainability. - Adjusted the documentation for both systems to reflect the new argument structure. - Ensured consistency in the usage of density calculators and state equations in the examples. - Modified tests to validate the new keyword argument structure for both SPH systems.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev #1144 +/- ##
======================================
Coverage ? 68.10%
======================================
Files ? 128
Lines ? 10019
Branches ? 0
======================================
Hits ? 6823
Misses ? 3196
Partials ? 0
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:
|
efaulhaber
requested changes
Apr 20, 2026
Co-authored-by: Erik Faulhaber <[email protected]>
LasNikas
requested changes
Apr 21, 2026
… keyword arguments for improved clarity and consistency
LasNikas
approved these changes
Apr 22, 2026
efaulhaber
requested changes
Apr 22, 2026
Co-authored-by: Erik Faulhaber <[email protected]>
Co-authored-by: Erik Faulhaber <[email protected]>
Co-authored-by: Erik Faulhaber <[email protected]>
Co-authored-by: Erik Faulhaber <[email protected]>
Co-authored-by: Erik Faulhaber <[email protected]>
Co-authored-by: Erik Faulhaber <[email protected]>
Co-authored-by: Erik Faulhaber <[email protected]>
…Particles.jlOpen into api/unify-fluid-constructors
…tructors # Conflicts: # examples/fluid/dam_break_3d.jl # examples/fluid/falling_water_column_2d.jl # examples/fsi/dam_break_gate_2d.jl # examples/fsi/dam_break_plate_2d.jl # examples/fsi/falling_rigid_spheres_2d.jl # examples/fsi/falling_rotating_rigid_squares_2d.jl # examples/fsi/falling_spheres_2d.jl
efaulhaber
requested changes
Apr 28, 2026
Co-authored-by: Erik Faulhaber <[email protected]>
Co-authored-by: Copilot <[email protected]>
…Particles.jlOpen into api/unify-fluid-constructors
efaulhaber
requested changes
Apr 28, 2026
Co-authored-by: Erik Faulhaber <[email protected]>
Co-authored-by: Erik Faulhaber <[email protected]>
Merged
efaulhaber
added a commit
that referenced
this pull request
Apr 29, 2026
* Apply Copilot suggestion * Apply Copilot suggestion * Fix unit tests * Fix dam break GPU example * Refactor dam break simulation parameters for clarity * Fix syntax error in dam_break_2d_gpu.jl * fix * fix allocations * pin static.jl to 1.3.1 * Fix 2adeecd --------- Co-authored-by: Sven Berger <[email protected]>
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.
WeaklyCompressibleSPHSystem,ImplicitIncompressibleSPHSystem,TotalLagrangianSPHSystem,DEMSystemandEntropicallyDampedSPHSystemacross multiple examples to utilize keyword arguments for better readability and maintainability.