Skip to content

[SPH] give the option to print CFL calculation detail (e.g. per CFL prints)#1888

Merged
tdavidcl merged 4 commits into
Shamrock-code:mainfrom
tdavidcl:better_cfl2
Jun 23, 2026
Merged

[SPH] give the option to print CFL calculation detail (e.g. per CFL prints)#1888
tdavidcl merged 4 commits into
Shamrock-code:mainfrom
tdavidcl:better_cfl2

Conversation

@tdavidcl

Copy link
Copy Markdown
Member

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks @tdavidcl for opening this PR!

You can do multiple things directly here:
1 - Comment pre-commit.ci run to run pre-commit checks.
2 - Comment pre-commit.ci autofix to apply fixes.
3 - Add label autofix.ci to fix authorship & pre-commit for every commit made.
4 - Add label light-ci to only trigger a reduced & faster version of the CI (need the full one before merge).
5 - Add label trigger-ci to create an empty commit to trigger the CI.

Once the workflow completes a message will appear displaying informations related to the run.

Also the PR gets automatically reviewed by gemini, you can:
1 - Comment /gemini review to trigger a review
2 - Comment /gemini summary for a summary
3 - Tag it using @gemini-code-assist either in the PR or in review comments on files

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the CFL timestep calculation in the SPH solver into separate modular nodes (ComputeCFL_Courant, ComputeCFL_Force, and ComputeCFL_DivB_Cleaning) and introduces a configuration option show_cfl_detail to log a detailed breakdown of the different CFL contributions. However, a critical bug was identified: when show_cfl_detail is disabled, the dt_part field is never updated with the calculated SPH timesteps, leaving it filled with infinity. A suggestion is provided to ensure save_dt_min_to_dt_part() is called even when detailed logging is disabled.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread src/shammodels/sph/src/Solver.cpp
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Workflow report

workflow report corresponding to commit 15d9239
Commiter email is timothee.davidcleris@proton.me
GitHub page artifact URL GitHub page artifact link (can expire)

Pre-commit check report

Pre-commit check: ✅

trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
check for merge conflicts................................................Passed
check that executables have shebangs.....................................Passed
check that scripts with shebangs are executable..........................Passed
check for added large files..............................................Passed
check for case conflicts.................................................Passed
check for broken symlinks................................................Passed
check yaml...............................................................Passed
detect private key.......................................................Passed
No-tabs checker..........................................................Passed
Tabs remover.............................................................Passed
cmake-format.............................................................Passed
Validate GitHub Workflows................................................Passed
clang-format.............................................................Passed
ruff check...............................................................Passed
ruff format..............................................................Passed
Check doxygen headers....................................................Passed
Check license headers....................................................Passed
Check #pragma once.......................................................Passed
Check SYCL #include......................................................Passed
No ssh in git submodules remote..........................................Passed
No UTF-8 in files (except for authors)...................................Passed

Test pipeline can run.

Clang-tidy diff report


600 warnings generated.
Suppressed 601 warnings (598 in non-user code, 2 due to line filter, 1 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

1132 warnings generated.
Suppressed 1133 warnings (1034 in non-user code, 98 due to line filter, 1 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

1101 warnings generated.
Suppressed 1102 warnings (1088 in non-user code, 13 due to line filter, 1 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.

Doxygen diff with main

Removed warnings : 113
New warnings : 120
Warnings count : 7956 → 7963 (0.1%)

Detailed changes :
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1005: warning: Member check_config() (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1007: warning: Member check_config() (function) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1023: warning: Member set_layout(shamrock::patch::PatchDataLayerLayout &pdl) (function) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1024: warning: Member set_ghost_layout(shamrock::patch::PatchDataLayerLayout &ghost_layout) (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1025: warning: Member set_layout(shamrock::patch::PatchDataLayerLayout &pdl) (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1026: warning: Member set_ghost_layout(shamrock::patch::PatchDataLayerLayout &ghost_layout) (function) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1093: warning: Member to_json(nlohmann::json &j, const ParticleKillingConfig< Tvec > &p) (function) of namespace shammodels::sph is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1095: warning: Member to_json(nlohmann::json &j, const ParticleKillingConfig< Tvec > &p) (function) of namespace shammodels::sph is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1106: warning: Member from_json(const nlohmann::json &j, ParticleKillingConfig< Tvec > &p) (function) of namespace shammodels::sph is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1108: warning: Member from_json(const nlohmann::json &j, ParticleKillingConfig< Tvec > &p) (function) of namespace shammodels::sph is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1121: warning: Member to_json(nlohmann::json &j, const SmoothingLengthConfig &p) (function) of namespace shammodels::sph is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1123: warning: Member to_json(nlohmann::json &j, const SmoothingLengthConfig &p) (function) of namespace shammodels::sph is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1141: warning: Member from_json(const nlohmann::json &j, SmoothingLengthConfig &p) (function) of namespace shammodels::sph is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1143: warning: Member from_json(const nlohmann::json &j, SmoothingLengthConfig &p) (function) of namespace shammodels::sph is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1239: warning: Member to_json(nlohmann::json &j, const DustConfig< Tvec > &p) (function) of namespace shammodels::sph is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1241: warning: Member to_json(nlohmann::json &j, const DustConfig< Tvec > &p) (function) of namespace shammodels::sph is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1247: warning: Member from_json(const nlohmann::json &j, DustConfig< Tvec > &p) (function) of namespace shammodels::sph is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:1249: warning: Member from_json(const nlohmann::json &j, DustConfig< Tvec > &p) (function) of namespace shammodels::sph is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:519: warning: Member show_cfl_detail (variable) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:527: warning: Member MHDConfig (typedef) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:528: warning: Member mhd_config (variable) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:529: warning: Member MHDConfig (typedef) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:530: warning: Member mhd_config (variable) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:541: warning: Member set_NonIdealMHD(typename MHDConfig::NonIdealMHD v) (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:543: warning: Member set_NonIdealMHD(typename MHDConfig::NonIdealMHD v) (function) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:551: warning: Member DustConfig (typedef) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:552: warning: Member dust_config (variable) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:553: warning: Member DustConfig (typedef) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:554: warning: Member dust_config (variable) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:562: warning: Member self_grav_config (variable) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:564: warning: Member self_grav_config (variable) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:580: warning: Member show_neigh_stats (variable) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:581: warning: Member set_show_neigh_stats(bool enable) (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:582: warning: Member show_neigh_stats (variable) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:583: warning: Member set_show_neigh_stats(bool enable) (function) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:600: warning: Member smoothing_length_config (variable) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:602: warning: Member set_smoothing_length_density_based() (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:602: warning: Member smoothing_length_config (variable) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:604: warning: Member set_smoothing_length_density_based() (function) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:605: warning: Member set_smoothing_length_density_based_neigh_lim(u32 max_neigh_count) (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:607: warning: Member set_smoothing_length_density_based_neigh_lim(u32 max_neigh_count) (function) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:609: warning: Member enable_particle_reordering (variable) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:610: warning: Member set_enable_particle_reordering(bool enable) (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:611: warning: Member enable_particle_reordering (variable) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:611: warning: Member particle_reordering_step_freq (variable) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:612: warning: Member set_enable_particle_reordering(bool enable) (function) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:612: warning: Member set_particle_reordering_step_freq(u64 freq) (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:613: warning: Member particle_reordering_step_freq (variable) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:614: warning: Member set_particle_reordering_step_freq(u64 freq) (function) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:620: warning: Member save_dt_to_fields (variable) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:621: warning: Member set_save_dt_to_fields(bool enable) (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:622: warning: Member save_dt_to_fields (variable) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:622: warning: Member should_save_dt_to_fields() const (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:623: warning: Member set_save_dt_to_fields(bool enable) (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:624: warning: Member should_save_dt_to_fields() const (function) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:624: warning: Member show_ghost_zone_graph (variable) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:625: warning: Member set_show_ghost_zone_graph(bool enable) (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:626: warning: Member show_ghost_zone_graph (variable) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:627: warning: Member set_show_ghost_zone_graph(bool enable) (function) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:688: warning: The following parameter of shammodels::sph::SolverConfig::set_eos_polytropic(Tscal K, Tscal gamma) is not documented:
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:690: warning: The following parameter of shammodels::sph::SolverConfig::set_eos_polytropic(Tscal K, Tscal gamma) is not documented:
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:712: warning: The following parameter of shammodels::sph::SolverConfig::set_eos_locally_isothermalFA2014(Tscal h_over_r) is not documented:
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:712: warning: argument 'cs0' of command @param is not found in the argument list of shammodels::sph::SolverConfig< Tvec, SPHKernel >::set_eos_locally_isothermalFA2014(Tscal h_over_r)
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:712: warning: argument 'q' of command @param is not found in the argument list of shammodels::sph::SolverConfig< Tvec, SPHKernel >::set_eos_locally_isothermalFA2014(Tscal h_over_r)
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:712: warning: argument 'r0' of command @param is not found in the argument list of shammodels::sph::SolverConfig< Tvec, SPHKernel >::set_eos_locally_isothermalFA2014(Tscal h_over_r)
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:714: warning: The following parameter of shammodels::sph::SolverConfig::set_eos_locally_isothermalFA2014(Tscal h_over_r) is not documented:
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:714: warning: argument 'cs0' of command @param is not found in the argument list of shammodels::sph::SolverConfig< Tvec, SPHKernel >::set_eos_locally_isothermalFA2014(Tscal h_over_r)
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:714: warning: argument 'q' of command @param is not found in the argument list of shammodels::sph::SolverConfig< Tvec, SPHKernel >::set_eos_locally_isothermalFA2014(Tscal h_over_r)
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:714: warning: argument 'r0' of command @param is not found in the argument list of shammodels::sph::SolverConfig< Tvec, SPHKernel >::set_eos_locally_isothermalFA2014(Tscal h_over_r)
- src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:993: warning: Member use_luminosity(bool enable) (function) of struct shammodels::sph::SolverConfig is not documented.
+ src/shammodels/sph/include/shammodels/sph/SolverConfig.hpp:995: warning: Member use_luminosity(bool enable) (function) of struct shammodels::sph::SolverConfig is not documented.
- src/shammodels/sph/src/Solver.cpp:1632: warning: Member map_field_refs(PatchScheduler &sched, u32 field_idx, shamrock::solvergraph::FieldRefs< T > &refs) (function) of file Solver.cpp is not documented.
+ src/shammodels/sph/src/Solver.cpp:1633: warning: Member map_field_refs(PatchScheduler &sched, u32 field_idx, shamrock::solvergraph::FieldRefs< T > &refs) (function) of file Solver.cpp is not documented.
- src/shammodels/sph/src/Solver.cpp:1647: warning: Member map_field_refs_ext(PatchScheduler &sched, shambase::DistributedData< shamrock::patch::PatchDataLayer > &mpdats, u32 field_idx, shamrock::solvergraph::FieldRefs< T > &refs) (function) of file Solver.cpp is not documented.
+ src/shammodels/sph/src/Solver.cpp:1648: warning: Member map_field_refs_ext(PatchScheduler &sched, shambase::DistributedData< shamrock::patch::PatchDataLayer > &mpdats, u32 field_idx, shamrock::solvergraph::FieldRefs< T > &refs) (function) of file Solver.cpp is not documented.
- src/shammodels/sph/src/Solver.cpp:1666: warning: Member map_field_refs_ext(PatchScheduler &sched, shamrock::ComputeField< T > &field_data, shamrock::solvergraph::FieldRefs< T > &refs) (function) of file Solver.cpp is not documented.
+ src/shammodels/sph/src/Solver.cpp:1667: warning: Member map_field_refs_ext(PatchScheduler &sched, shamrock::ComputeField< T > &field_data, shamrock::solvergraph::FieldRefs< T > &refs) (function) of file Solver.cpp is not documented.
+ src/shammodels/sph/src/Solver.cpp:1683: warning: Member NODE_EDGES(X_RO, X_RW) (macro definition) of file Solver.cpp is not documented.
+ src/shammodels/sph/src/Solver.cpp:1691: warning: Compound ComputeCFL_Courant is not documented.
+ src/shammodels/sph/src/Solver.cpp:1727: warning: Member NODE_EDGES(X_RO, X_RW) (macro definition) of file Solver.cpp is not documented.
+ src/shammodels/sph/src/Solver.cpp:1735: warning: Compound ComputeCFL_Force is not documented.
+ src/shammodels/sph/src/Solver.cpp:1773: warning: Member NODE_EDGES(X_RO, X_RW) (macro definition) of file Solver.cpp is not documented.
+ src/shammodels/sph/src/Solver.cpp:1781: warning: Compound ComputeCFL_DivB_Cleaning is not documented.
- src/shammodels/sph/src/Solver.cpp:607: warning: Compound shammodels::sph::Debug_ph_dump is not documented.
+ src/shammodels/sph/src/Solver.cpp:608: warning: Compound shammodels::sph::Debug_ph_dump is not documented.
- src/shammodels/sph/src/Solver.cpp:608: warning: Member Tscal (typedef) of struct shammodels::sph::Debug_ph_dump is not documented.
+ src/shammodels/sph/src/Solver.cpp:609: warning: Member Tscal (typedef) of struct shammodels::sph::Debug_ph_dump is not documented.
- src/shammodels/sph/src/Solver.cpp:610: warning: Member nobj (variable) of struct shammodels::sph::Debug_ph_dump is not documented.
- src/shammodels/sph/src/Solver.cpp:611: warning: Member gpart_mass (variable) of struct shammodels::sph::Debug_ph_dump is not documented.
+ src/shammodels/sph/src/Solver.cpp:611: warning: Member nobj (variable) of struct shammodels::sph::Debug_ph_dump is not documented.
+ src/shammodels/sph/src/Solver.cpp:612: warning: Member gpart_mass (variable) of struct shammodels::sph::Debug_ph_dump is not documented.
- src/shammodels/sph/src/Solver.cpp:613: warning: Member buf_xyz (variable) of struct shammodels::sph::Debug_ph_dump is not documented.
- src/shammodels/sph/src/Solver.cpp:614: warning: Member buf_hpart (variable) of struct shammodels::sph::Debug_ph_dump is not documented.
+ src/shammodels/sph/src/Solver.cpp:614: warning: Member buf_xyz (variable) of struct shammodels::sph::Debug_ph_dump is not documented.
+ src/shammodels/sph/src/Solver.cpp:615: warning: Member buf_hpart (variable) of struct shammodels::sph::Debug_ph_dump is not documented.
- src/shammodels/sph/src/Solver.cpp:615: warning: Member buf_vxyz (variable) of struct shammodels::sph::Debug_ph_dump is not documented.
+ src/shammodels/sph/src/Solver.cpp:616: warning: Member buf_vxyz (variable) of struct shammodels::sph::Debug_ph_dump is not documented.
- src/shammodels/sph/src/Solver.cpp:619: warning: Member fill_blocks(PhantomDumpBlock &block, Debug_ph_dump< Tvec > &info) (function) of namespace shammodels::sph is not documented.
+ src/shammodels/sph/src/Solver.cpp:620: warning: Member fill_blocks(PhantomDumpBlock &block, Debug_ph_dump< Tvec > &info) (function) of namespace shammodels::sph is not documented.
- src/shammodels/sph/src/Solver.cpp:656: warning: Member make_interface_debug_phantom_dump(Debug_ph_dump< Tvec > info) (function) of namespace shammodels::sph is not documented.
+ src/shammodels/sph/src/Solver.cpp:657: warning: Member make_interface_debug_phantom_dump(Debug_ph_dump< Tvec > info) (function) of namespace shammodels::sph is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1441: warning: Member add_analysisBarycenter_instance(py::module &m, const std::string &name_model) (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1447: warning: Member add_analysisBarycenter_instance(py::module &m, const std::string &name_model) (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1459: warning: Member add_analysisEnergyKinetic_instance(py::module &m, const std::string &name_model) (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1465: warning: Member add_analysisEnergyKinetic_instance(py::module &m, const std::string &name_model) (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1475: warning: Member add_analysisEnergyPotential_instance(py::module &m, const std::string &name_model) (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1481: warning: Member add_analysisEnergyPotential_instance(py::module &m, const std::string &name_model) (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1491: warning: Member add_analysisTotalMomentum_instance(py::module &m, const std::string &name_model) (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1497: warning: Member add_analysisTotalMomentum_instance(py::module &m, const std::string &name_model) (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1507: warning: Member add_analysisAngularMomentum_instance(py::module &m, const std::string &name_model) (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1513: warning: Member add_analysisAngularMomentum_instance(py::module &m, const std::string &name_model) (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1523: warning: Member add_analysisDustMass_instance(py::module &m, const std::string &name_model) (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1529: warning: Member add_analysisDustMass_instance(py::module &m, const std::string &name_model) (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1541: warning: Member analysis_impl(shammodels::sph::Model< Tvec, SPHKernel > &model) -> Analysis (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1546: warning: Member register_analysis_impl_for_each_kernel(py::module &msph, const char *name_class) (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1547: warning: Member analysis_impl(shammodels::sph::Model< Tvec, SPHKernel > &model) -> Analysis (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1552: warning: Member register_analysis_impl_for_each_kernel(py::module &msph, const char *name_class) (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1606: warning: Member ON_PYTHON_INIT (variable) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1609: warning: Member msph (variable) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1609: warning: documented symbol 'py::class_< EvolveUntilResults >' was not declared or defined.
+ src/shammodels/sph/src/pySPHModel.cpp:1612: warning: Member ON_PYTHON_INIT (variable) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1613: warning: Member def_readwrite("reach_niter_max", &EvolveUntilResults::reach_niter_max) .def_readwrite("reach_max_walltime" (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1615: warning: Member def_readwrite("iter_count", &EvolveUntilResults::iter_count) .def("__repr__" (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1615: warning: Member msph (variable) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1615: warning: documented symbol 'py::class_< EvolveUntilResults >' was not declared or defined.
- src/shammodels/sph/src/pySPHModel.cpp:1616: warning: Member add_instance< f64_3, shammath::C2 >(msph, "SPHModel_f64_3_C2_SolverConfig", "SPHModel_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1616: warning: Member add_instance< f64_3, shammath::C4 >(msph, "SPHModel_f64_3_C4_SolverConfig", "SPHModel_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1616: warning: Member add_instance< f64_3, shammath::C6 >(msph, "SPHModel_f64_3_C6_SolverConfig", "SPHModel_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1616: warning: Member add_instance< f64_3, shammath::M4 >(msph, "SPHModel_f64_3_M4_SolverConfig", "SPHModel_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1616: warning: Member add_instance< f64_3, shammath::M6 >(msph, "SPHModel_f64_3_M6_SolverConfig", "SPHModel_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1616: warning: Member add_instance< f64_3, shammath::M8 >(msph, "SPHModel_f64_3_M8_SolverConfig", "SPHModel_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1616: warning: Member self (variable) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1619: warning: Member def_readwrite("reach_niter_max", &EvolveUntilResults::reach_niter_max) .def_readwrite("reach_max_walltime" (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1621: warning: Member def_readwrite("iter_count", &EvolveUntilResults::iter_count) .def("__repr__" (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1622: warning: Member add_instance< f64_3, shammath::C2 >(msph, "SPHModel_f64_3_C2_SolverConfig", "SPHModel_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1622: warning: Member add_instance< f64_3, shammath::C4 >(msph, "SPHModel_f64_3_C4_SolverConfig", "SPHModel_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1622: warning: Member add_instance< f64_3, shammath::C6 >(msph, "SPHModel_f64_3_C6_SolverConfig", "SPHModel_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1622: warning: Member add_instance< f64_3, shammath::M4 >(msph, "SPHModel_f64_3_M4_SolverConfig", "SPHModel_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1622: warning: Member add_instance< f64_3, shammath::M6 >(msph, "SPHModel_f64_3_M6_SolverConfig", "SPHModel_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1622: warning: Member add_instance< f64_3, shammath::M8 >(msph, "SPHModel_f64_3_M8_SolverConfig", "SPHModel_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1622: warning: Member self (variable) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1636: warning: Member VariantSPHModelBind (typedef) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1642: warning: Member VariantSPHModelBind (typedef) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1644: warning: Member def("get_Model_SPH", [](ShamrockCtx &ctx, const std::string &vector_type, const std::string &kernel) -> VariantSPHModelBind { VariantSPHModelBind ret;if(vector_type=="f64_3" &&kernel=="M4") { ret=std::make_unique< Model< f64_3, shammath::M4 > >(ctx);} else if(vector_type=="f64_3" &&kernel=="M6") { ret=std::make_unique< Model< f64_3, shammath::M6 > >(ctx);} else if(vector_type=="f64_3" &&kernel=="M8") { ret=std::make_unique< Model< f64_3, shammath::M8 > >(ctx);} else if(vector_type=="f64_3" &&kernel=="C2") { ret=std::make_unique< Model< f64_3, shammath::C2 > >(ctx);} else if(vector_type=="f64_3" &&kernel=="C4") { ret=std::make_unique< Model< f64_3, shammath::C4 > >(ctx);} else if(vector_type=="f64_3" &&kernel=="C6") { ret=std::make_unique< Model< f64_3, shammath::C6 > >(ctx);} else { throw shambase::make_except_with_loc< std::invalid_argument >("unknown combination of representation and kernel");} return ret;}, py::kw_only(), py::arg("context"), py::arg("vector_type"), py::arg("sph_kernel")) (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1644: warning: Member py::class_< shammodels::sph::modules::ISPHSetupNode, std::shared_ptr< shammodels::sph::modules::ISPHSetupNode > >(msph, "ISPHSetupNode") .def("get_dot" (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1650: warning: Member def("get_Model_SPH", [](ShamrockCtx &ctx, const std::string &vector_type, const std::string &kernel) -> VariantSPHModelBind { VariantSPHModelBind ret;if(vector_type=="f64_3" &&kernel=="M4") { ret=std::make_unique< Model< f64_3, shammath::M4 > >(ctx);} else if(vector_type=="f64_3" &&kernel=="M6") { ret=std::make_unique< Model< f64_3, shammath::M6 > >(ctx);} else if(vector_type=="f64_3" &&kernel=="M8") { ret=std::make_unique< Model< f64_3, shammath::M8 > >(ctx);} else if(vector_type=="f64_3" &&kernel=="C2") { ret=std::make_unique< Model< f64_3, shammath::C2 > >(ctx);} else if(vector_type=="f64_3" &&kernel=="C4") { ret=std::make_unique< Model< f64_3, shammath::C4 > >(ctx);} else if(vector_type=="f64_3" &&kernel=="C6") { ret=std::make_unique< Model< f64_3, shammath::C6 > >(ctx);} else { throw shambase::make_except_with_loc< std::invalid_argument >("unknown combination of representation and kernel");} return ret;}, py::kw_only(), py::arg("context"), py::arg("vector_type"), py::arg("sph_kernel")) (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1650: warning: Member py::class_< shammodels::sph::modules::ISPHSetupNode, std::shared_ptr< shammodels::sph::modules::ISPHSetupNode > >(msph, "ISPHSetupNode") .def("get_dot" (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisAngularMomentum_instance< f64_3, shammath::C2 >(msph, "AnalysisAngularMomentum_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisAngularMomentum_instance< f64_3, shammath::C4 >(msph, "AnalysisAngularMomentum_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisAngularMomentum_instance< f64_3, shammath::C6 >(msph, "AnalysisAngularMomentum_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisAngularMomentum_instance< f64_3, shammath::M4 >(msph, "AnalysisAngularMomentum_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisAngularMomentum_instance< f64_3, shammath::M6 >(msph, "AnalysisAngularMomentum_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisAngularMomentum_instance< f64_3, shammath::M8 >(msph, "AnalysisAngularMomentum_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisBarycenter_instance< f64_3, shammath::C2 >(msph, "AnalysisBarycenter_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisBarycenter_instance< f64_3, shammath::C4 >(msph, "AnalysisBarycenter_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisBarycenter_instance< f64_3, shammath::C6 >(msph, "AnalysisBarycenter_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisBarycenter_instance< f64_3, shammath::M4 >(msph, "AnalysisBarycenter_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisBarycenter_instance< f64_3, shammath::M6 >(msph, "AnalysisBarycenter_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisBarycenter_instance< f64_3, shammath::M8 >(msph, "AnalysisBarycenter_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisDustMass_instance< f64_3, shammath::C2 >(msph, "AnalysisDustMass_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisDustMass_instance< f64_3, shammath::C4 >(msph, "AnalysisDustMass_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisDustMass_instance< f64_3, shammath::C6 >(msph, "AnalysisDustMass_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisDustMass_instance< f64_3, shammath::M4 >(msph, "AnalysisDustMass_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisDustMass_instance< f64_3, shammath::M6 >(msph, "AnalysisDustMass_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisDustMass_instance< f64_3, shammath::M8 >(msph, "AnalysisDustMass_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisEnergyKinetic_instance< f64_3, shammath::C2 >(msph, "AnalysisEnergyKinetic_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisEnergyKinetic_instance< f64_3, shammath::C4 >(msph, "AnalysisEnergyKinetic_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisEnergyKinetic_instance< f64_3, shammath::C6 >(msph, "AnalysisEnergyKinetic_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisEnergyKinetic_instance< f64_3, shammath::M4 >(msph, "AnalysisEnergyKinetic_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisEnergyKinetic_instance< f64_3, shammath::M6 >(msph, "AnalysisEnergyKinetic_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisEnergyKinetic_instance< f64_3, shammath::M8 >(msph, "AnalysisEnergyKinetic_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisEnergyPotential_instance< f64_3, shammath::C2 >(msph, "AnalysisEnergyPotential_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisEnergyPotential_instance< f64_3, shammath::C4 >(msph, "AnalysisEnergyPotential_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisEnergyPotential_instance< f64_3, shammath::C6 >(msph, "AnalysisEnergyPotential_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisEnergyPotential_instance< f64_3, shammath::M4 >(msph, "AnalysisEnergyPotential_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisEnergyPotential_instance< f64_3, shammath::M6 >(msph, "AnalysisEnergyPotential_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisEnergyPotential_instance< f64_3, shammath::M8 >(msph, "AnalysisEnergyPotential_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisTotalMomentum_instance< f64_3, shammath::C2 >(msph, "AnalysisTotalMomentum_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisTotalMomentum_instance< f64_3, shammath::C4 >(msph, "AnalysisTotalMomentum_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisTotalMomentum_instance< f64_3, shammath::C6 >(msph, "AnalysisTotalMomentum_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisTotalMomentum_instance< f64_3, shammath::M4 >(msph, "AnalysisTotalMomentum_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisTotalMomentum_instance< f64_3, shammath::M6 >(msph, "AnalysisTotalMomentum_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member add_analysisTotalMomentum_instance< f64_3, shammath::M8 >(msph, "AnalysisTotalMomentum_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member register_analysis_impl_for_each_kernel< modules::AnalysisAngularMomentum >(msph, "analysisAngularMomentum") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member register_analysis_impl_for_each_kernel< modules::AnalysisBarycenter >(msph, "analysisBarycenter") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member register_analysis_impl_for_each_kernel< modules::AnalysisDustMass >(msph, "analysisDustMass") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member register_analysis_impl_for_each_kernel< modules::AnalysisEnergyKinetic >(msph, "analysisEnergyKinetic") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member register_analysis_impl_for_each_kernel< modules::AnalysisEnergyPotential >(msph, "analysisEnergyPotential") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1678: warning: Member register_analysis_impl_for_each_kernel< modules::AnalysisTotalMomentum >(msph, "analysisTotalMomentum") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisAngularMomentum_instance< f64_3, shammath::C2 >(msph, "AnalysisAngularMomentum_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisAngularMomentum_instance< f64_3, shammath::C4 >(msph, "AnalysisAngularMomentum_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisAngularMomentum_instance< f64_3, shammath::C6 >(msph, "AnalysisAngularMomentum_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisAngularMomentum_instance< f64_3, shammath::M4 >(msph, "AnalysisAngularMomentum_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisAngularMomentum_instance< f64_3, shammath::M6 >(msph, "AnalysisAngularMomentum_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisAngularMomentum_instance< f64_3, shammath::M8 >(msph, "AnalysisAngularMomentum_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisBarycenter_instance< f64_3, shammath::C2 >(msph, "AnalysisBarycenter_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisBarycenter_instance< f64_3, shammath::C4 >(msph, "AnalysisBarycenter_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisBarycenter_instance< f64_3, shammath::C6 >(msph, "AnalysisBarycenter_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisBarycenter_instance< f64_3, shammath::M4 >(msph, "AnalysisBarycenter_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisBarycenter_instance< f64_3, shammath::M6 >(msph, "AnalysisBarycenter_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisBarycenter_instance< f64_3, shammath::M8 >(msph, "AnalysisBarycenter_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisDustMass_instance< f64_3, shammath::C2 >(msph, "AnalysisDustMass_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisDustMass_instance< f64_3, shammath::C4 >(msph, "AnalysisDustMass_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisDustMass_instance< f64_3, shammath::C6 >(msph, "AnalysisDustMass_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisDustMass_instance< f64_3, shammath::M4 >(msph, "AnalysisDustMass_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisDustMass_instance< f64_3, shammath::M6 >(msph, "AnalysisDustMass_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisDustMass_instance< f64_3, shammath::M8 >(msph, "AnalysisDustMass_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisEnergyKinetic_instance< f64_3, shammath::C2 >(msph, "AnalysisEnergyKinetic_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisEnergyKinetic_instance< f64_3, shammath::C4 >(msph, "AnalysisEnergyKinetic_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisEnergyKinetic_instance< f64_3, shammath::C6 >(msph, "AnalysisEnergyKinetic_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisEnergyKinetic_instance< f64_3, shammath::M4 >(msph, "AnalysisEnergyKinetic_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisEnergyKinetic_instance< f64_3, shammath::M6 >(msph, "AnalysisEnergyKinetic_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisEnergyKinetic_instance< f64_3, shammath::M8 >(msph, "AnalysisEnergyKinetic_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisEnergyPotential_instance< f64_3, shammath::C2 >(msph, "AnalysisEnergyPotential_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisEnergyPotential_instance< f64_3, shammath::C4 >(msph, "AnalysisEnergyPotential_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisEnergyPotential_instance< f64_3, shammath::C6 >(msph, "AnalysisEnergyPotential_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisEnergyPotential_instance< f64_3, shammath::M4 >(msph, "AnalysisEnergyPotential_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisEnergyPotential_instance< f64_3, shammath::M6 >(msph, "AnalysisEnergyPotential_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisEnergyPotential_instance< f64_3, shammath::M8 >(msph, "AnalysisEnergyPotential_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisTotalMomentum_instance< f64_3, shammath::C2 >(msph, "AnalysisTotalMomentum_f64_3_C2") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisTotalMomentum_instance< f64_3, shammath::C4 >(msph, "AnalysisTotalMomentum_f64_3_C4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisTotalMomentum_instance< f64_3, shammath::C6 >(msph, "AnalysisTotalMomentum_f64_3_C6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisTotalMomentum_instance< f64_3, shammath::M4 >(msph, "AnalysisTotalMomentum_f64_3_M4") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisTotalMomentum_instance< f64_3, shammath::M6 >(msph, "AnalysisTotalMomentum_f64_3_M6") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member add_analysisTotalMomentum_instance< f64_3, shammath::M8 >(msph, "AnalysisTotalMomentum_f64_3_M8") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member register_analysis_impl_for_each_kernel< modules::AnalysisAngularMomentum >(msph, "analysisAngularMomentum") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member register_analysis_impl_for_each_kernel< modules::AnalysisBarycenter >(msph, "analysisBarycenter") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member register_analysis_impl_for_each_kernel< modules::AnalysisDustMass >(msph, "analysisDustMass") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member register_analysis_impl_for_each_kernel< modules::AnalysisEnergyKinetic >(msph, "analysisEnergyKinetic") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member register_analysis_impl_for_each_kernel< modules::AnalysisEnergyPotential >(msph, "analysisEnergyPotential") (function) of file pySPHModel.cpp is not documented.
+ src/shammodels/sph/src/pySPHModel.cpp:1684: warning: Member register_analysis_impl_for_each_kernel< modules::AnalysisTotalMomentum >(msph, "analysisTotalMomentum") (function) of file pySPHModel.cpp is not documented.
- src/shammodels/sph/src/pySPHModel.cpp:1689: warning: Found ';' while parsing initializer list! (doxygen could be confused by a macro call without semicolon)
+ src/shammodels/sph/src/pySPHModel.cpp:1695: warning: Found ';' while parsing initializer list! (doxygen could be confused by a macro call without semicolon)

@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 2.17391% with 180 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/shammodels/sph/src/Solver.cpp 0.00% 176 Missing ⚠️
...models/sph/include/shammodels/sph/SolverConfig.hpp 0.00% 2 Missing ⚠️
src/shammodels/sph/src/pySPHModel.cpp 66.66% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@tdavidcl

Copy link
Copy Markdown
Member Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a show_cfl_detail configuration option to output detailed CFL timestep information, refactoring the CFL calculations in Solver.cpp into dedicated solver graph nodes (ComputeCFL_Courant, ComputeCFL_Force, and ComputeCFL_DivB_Cleaning). The review feedback highlights critical division-by-zero risks in these new nodes when vsig_a, abs_a_a, or vclean_a are zero, and suggests adding guards to prevent NaNs or infinities from crashing the simulation.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread src/shammodels/sph/src/Solver.cpp
Comment thread src/shammodels/sph/src/Solver.cpp
Comment thread src/shammodels/sph/src/Solver.cpp
@tdavidcl tdavidcl merged commit 9a4b047 into Shamrock-code:main Jun 23, 2026
85 checks passed
@tdavidcl tdavidcl deleted the better_cfl2 branch June 23, 2026 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant