[SPH] migrate non inertial forces to sgraph#1306
[SPH] migrate non inertial forces to sgraph#1306tdavidcl merged 13 commits intoShamrock-code:mainfrom
Conversation
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request refactors the calculation of non-inertial external forces, such as Lense-Thirring and Shearing Box forces, to use the SolverGraph system. This is a good step towards a more modular and maintainable implementation.
My review has identified a critical issue with the Lense-Thirring force calculation which appears to be a pre-existing sign error. I've also pointed out several medium-severity issues, including misleading comments and variable names, some dead code, and an opportunity to simplify the logic for setting up the solver graph. Addressing these points will improve the correctness and clarity of the code.
src/shammodels/common/include/shammodels/common/modules/AddForceLenseThirring.hpp
Show resolved
Hide resolved
src/shammodels/common/include/shammodels/common/modules/AddForceLenseThirring.hpp
Outdated
Show resolved
Hide resolved
src/shammodels/common/include/shammodels/common/modules/AddForceLenseThirring.hpp
Show resolved
Hide resolved
src/shammodels/common/include/shammodels/common/modules/AddForceShearingBoxNonInertial.hpp
Outdated
Show resolved
Hide resolved
src/shammodels/common/include/shammodels/common/modules/AddForceShearingBoxNonInertial.hpp
Show resolved
Hide resolved
…ceLenseThirring.hpp Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
…ceShearingBoxNonInertial.hpp Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Workflow reportworkflow report corresponding to commit 6ac333c Pre-commit check reportPre-commit check: ✅ Test pipeline can run. Clang-tidy diff reportNo relevant changes found. You should now go back to your normal life and enjoy a hopefully sunny day while waiting for the review. Doxygen diff with
|
No description provided.