Merge dev to main for 0.5 release#1164
Merged
efaulhaber merged 17 commits intomainfrom Apr 29, 2026
Merged
Conversation
…nitialCondition` (#959) * Update vtk2trixi function to return `NamedTuple` instead of `InitialCondition` * Refactor vtk2trixi function to accept custom fields * Enhance vtk2trixi function to support scalar and vector custom quantities and update tests * Fix typo in documentation for vtk2trixi function * Fix capitalization in comments * Fix formatting in documentation * Corrected failing doctest output * Corrected failing doctest output * add NEWS entry * revise * fix doc test * fix NEWS entry * fix merge bug * load `custom_quantities` automatically * implement suggestions * fix jldoctest * Add `create_initial_condition` parameter --------- Co-authored-by: Niklas Neher <73897120+LasNikas@users.noreply.github.com> Co-authored-by: Sven Berger <berger.sven@gmail.com> Co-authored-by: LasNikas <niklas.nehe@web.de> Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com>
* add automatic reordering * fix typo * revise docs * indentation * add tests * add vector variant * force unique indices * add depwarning * drop `n_particles_clamped` * fix regex * rm regex * fix again * implement suggestions * apply formatter * fix examples * fix * implement suggestions * rm datatype restriction * implement suggestions * adapt example files * fix merge conflict * fix again * fix unit tests * fix tests * fix tests * add docs * remove unnecessary info --------- Co-authored-by: LasNikas <niklas.nehe@web.de>
* Make pressure clipping in `BoundaryModelDummyParticles` optional * Reformat * Disable pressure clipping by default * Add NEWS.md entry * Make free surface examples use boundary pressure clipping * Fix tests * Fix smoothing length in example tests * Fix * Fix * Update docstring * Update docstrings * Unify example tests * Reformat
* Switch to sub-packages of OrdinaryDiffEq.jl * Update NEWS.md * Fix * Fix allocations? * Fix imported packages in IISPH examples * Fix typo * Simplify tests * Fix remaining allocations * Unify example tests * Revert "Unify example tests" This reverts commit 9af09e6. * Add comments * Fix NEWS.md * Update installation instructions * Fix missing NEWS entry
* Refactor SPH system initialization to use keyword arguments - 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. * fix test * Update docs/literate/src/tut_setup.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * remove unneeded named arguments * more fixes * Refactor constructors to use keyword arguments for DEM and SPH systems * Refactor constructors in DEM, SPH, and TotalLagrangian systems to use keyword arguments for improved clarity and consistency * fix tests * better fix for included parameters * another pass to reduce unreqed named args * even more unreq named keyword use * format * typo * fix tests * fix tests * fix tests * fix tests * format * format * fix * format * Apply suggestion from @efaulhaber Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update examples/fluid/dam_break_oil_film_2d.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update examples/fluid/falling_water_spheres_2d.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update examples/fluid/falling_water_spheres_2d.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update test/systems/tlsph_system.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update test/systems/tlsph_system.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update test/systems/edac_system.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update test/schemes/structure/total_lagrangian_sph/rhs.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update examples/fluid/poiseuille_flow_3d.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update examples/fsi/dam_break_gate_2d.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update examples/fsi/dam_break_plate_2d.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update examples/fsi/hydrostatic_water_column_2d.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update examples/structure/oscillating_beam_2d.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update src/schemes/boundary/dem_boundary/system.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update src/schemes/fluid/entropically_damped_sph/system.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update src/schemes/fluid/implicit_incompressible_sph/system.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update src/schemes/fluid/weakly_compressible_sph/system.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update src/schemes/structure/discrete_element_method/system.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update test/general/custom_quantities.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update test/general/interpolation.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update test/general/interpolation.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update test/schemes/boundary/dummy_particles/rhs.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update test/schemes/fluid/rhs.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update test/schemes/boundary/dummy_particles/dummy_particles.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update test/schemes/boundary/dummy_particles/dummy_particles.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * fix doc strings * review * format * fix test * fix NEWS.md * add news section * Update src/schemes/fluid/implicit_incompressible_sph/system.jl Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * review comments Co-authored-by: Copilot <copilot@github.com> * Update NEWS.md Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> * Update NEWS.md Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> --------- Co-authored-by: Erik Faulhaber <44124897+efaulhaber@users.noreply.github.com> Co-authored-by: Copilot <copilot@github.com>
* Update NEWS.md and prepare release * Fix typo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* 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 <berger.sven@gmail.com>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1164 +/- ##
==========================================
+ Coverage 88.97% 89.05% +0.07%
==========================================
Files 129 128 -1
Lines 9980 10039 +59
==========================================
+ Hits 8880 8940 +60
+ Misses 1100 1099 -1
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:
|
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.
Supersedes #1146 to get rid of the individual non-PR commits before (non-squash) merging to main.