[SPH] move sink predictor step into solvergraph - #2372
Conversation
Register the sink predictor's velocity/position leapfrog update as a "sink predictor" node in the solver graph, gated on the "has_sinks" edge via OperationIf (mirroring "sink ext force"), instead of building the nodes ad hoc inside SinkParticlesUpdate::predictor_step every timestep. The call site now just evaluates the registered node. Assisted-by: Claude Code
|
Warning Review limit reachedNext included review available in 51 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks @tdavidcl for opening this PR! You can do multiple things directly here: Once the workflow completes a message will appear displaying informations related to the run. Also the PR gets automatically reviewed by gemini, you can: |
Workflow reportworkflow report corresponding to commit e73d4be Light CI is enabled (the default for pull requests). This will only run the basic tests and not the full tests. Pre-commit check reportPre-commit check: ✅ Test pipeline can run. Clang-tidy diff reportDoxygen diff with
|
|
@Mergifyio queue |
Merge Queue Status
This pull request spent 2 hours 10 minutes 15 seconds in the queue, including 2 hours 7 minutes 3 seconds running CI. Required conditions to merge
|
Mirrors the predictor migration (Shamrock-code#2372): the velocity kick moves into a ForwardEulerHost2Deriv node on sink_vel/sink_acc_sph/sink_acc_ext, gated by OperationIf on has_sinks, reusing the main solver's dt_half edge since it is already up to date by the time the corrector runs. SinkParticlesUpdate::corrector_step is now dead and removed. Assisted-by: Claude Code
Mirrors the predictor migration (#2372): the velocity kick moves into a ForwardEulerHost2Deriv node on sink_vel/sink_acc_sph/sink_acc_ext, gated by OperationIf on has_sinks, reusing the main solver's dt_half edge since it is already up to date by the time the corrector runs. SinkParticlesUpdate::corrector_step is now dead and removed. Assisted-by: Claude Code
No description provided.