Switch to sub-packages of OrdinaryDiffEq.jl#1154
Switch to sub-packages of OrdinaryDiffEq.jl#1154efaulhaber merged 16 commits intotrixi-framework:devfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #1154 +/- ##
=======================================
Coverage 89.03% 89.03%
=======================================
Files 128 128
Lines 10039 10039
=======================================
Hits 8938 8938
Misses 1101 1101
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:
|
There was a problem hiding this comment.
Pull request overview
This PR switches the repository’s example/validation/test/documentation code from depending on the full OrdinaryDiffEq.jl package to using smaller OrdinaryDiffEq.jl sub-packages (e.g. OrdinaryDiffEqLowStorageRK, OrdinaryDiffEqSymplecticRK) to reduce precompile time and latency (closes #1107).
Changes:
- Replace
using OrdinaryDiffEqwith targeted sub-package imports across examples, validations, docs, and tests. - Update docs/README/install instructions and NEWS to reflect the new time-integration dependency story.
- Minor internal updates (outer-product construction in shifting; clarify pressure-acceleration formulas in comments).
Reviewed changes
Copilot reviewed 54 out of 54 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| validation/oscillating_beam_2d/validation_oscillating_beam_2d.jl | Use OrdinaryDiffEqLowStorageRK instead of OrdinaryDiffEq. |
| validation/hydrostatic_water_column_2d/validation.jl | Use OrdinaryDiffEqLowStorageRK instead of OrdinaryDiffEq. |
| test/test_util.jl | Load OrdinaryDiffEqSymplecticRK so the symplectic extension is available in tests. |
| test/Project.toml | Swap OrdinaryDiffEq dep for OrdinaryDiffEqLowStorageRK + OrdinaryDiffEqSymplecticRK. |
| src/schemes/fluid/shifting_techniques.jl | Adjust TVF tensor construction to use permutedims. |
| src/schemes/fluid/pressure_acceleration.jl | Add clarifying formula comments for pressure acceleration variants. |
| src/general/time_integration.jl | Update extension reference and error message to OrdinaryDiffEqSymplecticRK. |
| src/general/semidiscretization.jl | Docstring wording update for OrdinaryDiffEq reference. |
| src/callbacks/split_integration.jl | Doctest uses OrdinaryDiffEqLowStorageRK. |
| examples/structure/oscillating_beam_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/structure/colliding_rigid_spheres_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/preprocessing/packing_3d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/preprocessing/packing_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/n_body/n_body_solar_system.jl | Use OrdinaryDiffEqSymplecticRK. |
| examples/fsi/hydrostatic_water_column_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fsi/falling_water_column_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fsi/falling_spheres_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fsi/falling_rotating_rigid_squares_w_buoys_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fsi/falling_rotating_rigid_squares_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fsi/falling_rigid_spheres_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fsi/dam_break_plate_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fsi/dam_break_gate_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/taylor_green_vortex_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/sphere_surface_tension_wall_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/sphere_surface_tension_3d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/sphere_surface_tension_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/poiseuille_flow_3d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/poiseuille_flow_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/pipe_flow_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/periodic_channel_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/periodic_array_of_cylinders_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/oscillating_drop_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/moving_wall_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/lid_driven_cavity_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/hydrostatic_water_column_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/falling_water_spheres_3d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/falling_water_spheres_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/falling_water_column_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/dam_break_oil_film_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/dam_break_3d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/dam_break_2phase_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/dam_break_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/fluid/accelerated_tank_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/dem/rectangular_tank_2d.jl | Use OrdinaryDiffEqLowStorageRK. |
| examples/dem/collapsing_sand_pile_3d.jl | Use OrdinaryDiffEqLowStorageRK. |
| docs/src/time_integration.md | Update narrative + code examples to sub-packages. |
| docs/src/install.md | Update install instructions to sub-package approach. |
| docs/literate/src/tut_setup.jl | Use OrdinaryDiffEqLowStorageRK in tutorial code. |
| docs/literate/src/tut_rigid_body_fsi.jl | Use OrdinaryDiffEqLowStorageRK in tutorial code. |
| docs/literate/src/tut_packing.jl | Use OrdinaryDiffEqLowStorageRK in tutorial code. |
| docs/literate/src/tut_custom_kernel.jl | Use OrdinaryDiffEqLowStorageRK in tutorial code. |
| docs/Project.toml | Swap docs env dep from OrdinaryDiffEq to OrdinaryDiffEqLowStorageRK. |
| README.md | Update user/dev install instructions to sub-package approach. |
| NEWS.md | Document switch to OrdinaryDiffEq sub-packages. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
/run-gpu-tests |
| - The example files are now loading sub-packages of OrdinaryDiffEq.jl instead of | ||
| OrdinaryDiffEq.jl itself. For example, `using OrdinaryDiffEqLowStorageRK` instead of | ||
| `using OrdinaryDiffEq` (#1154). | ||
| - `DensityDiffusionAntuono` now only takes only one kwarg `delta` (#1142). |
There was a problem hiding this comment.
| - `DensityDiffusionAntuono` now only takes only one kwarg `delta` (#1142). | |
| - `DensityDiffusionAntuono` now only takes one kwarg `delta` (#1142). |
There was a problem hiding this comment.
It had one kwarg before. The difference is that the positional argument has been removed. Let's change that in #1162.
There was a problem hiding this comment.
Ah, now I see the duplicate word.
Closes #1107.