[SPH] move sink-sink CFL into ComputeCFLSinkSink solvergraph node - #2443
mergify[bot] merged 2 commits into
Conversation
Replace the inline host double loop computing the sink-sink CFL in evolve_once() with a new ComputeCFLSinkSink<Tvec> node, modelled on ComputeCFLDust1Fluid. The node reads G, C_force, eta_phi and the synchronized sink_pos/sink_mass/sink_acc_ext edges and writes the rank CFL into an IDataEdge<Tscal>. The !pos.empty() guard and the cfl_detail entry stay in the solver, so the logged CFL table is unchanged. Assisted-by: Claude Code
Write the node's LaTeX description from its edge tex symbols, following the replace_all pattern used by the other SPH nodes. Also add the missing `template` keyword on the synchronized_data get_edge_ptr calls, which are dependent names inside the Solver template. Assisted-by: Claude Code
|
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: |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe sink-sink CFL calculation now runs in a solver-graph node. ChangesSink-sink CFL calculation
Estimated code review effort: 2 (Simple) | ~15 minutes Suggested reviewers: Merge Risk: ⚪ Minimal · up to The extracted CFL calculation retains the existing timestep aggregation; no identified issue prevents merging after normal checks. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
@Mergifyio queue |
Merge Queue Status
This pull request spent 5 hours 50 minutes 49 seconds in the queue, including 3 hours 25 minutes 53 seconds running CI. Required conditions to merge
|
Workflow reportworkflow report corresponding to commit 0271b8f 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
|
No description provided.