![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Class holding the logs of the solver /todo add a variable to keep only a definite number of steps in the step_logs. More...
#include <shammodels/sph/include/shammodels/sph/SolverLog.hpp>
Collaboration diagram for shammodels::sph::SolverLog:Classes | |
| struct | StepInfo |
Public Member Functions | |
| void | register_log (StepInfo info) |
| f64 | get_last_rate () |
| u64 | get_last_obj_count () |
| shamsys::SystemMetrics | get_last_system_metrics () |
| u64 | get_iteration_count () |
| f64 | get_cumulated_step_time () |
| void | reset_cumulated_step_time () |
| u64 | get_step_count () |
| void | reset_step_count () |
Public Attributes | |
| std::vector< StepInfo > | step_logs = {} |
| f64 | cumulated_step_time = 0 |
| u64 | step_count = 0 |
Class holding the logs of the solver /todo add a variable to keep only a definite number of steps in the step_logs.
Definition at line 33 of file SolverLog.hpp.
|
inline |
Definition at line 63 of file SolverLog.hpp.
|
inline |
Definition at line 61 of file SolverLog.hpp.
| u64 shammodels::sph::SolverLog::get_last_obj_count | ( | ) |
Definition at line 39 of file SolverLog.cpp.
| f64 shammodels::sph::SolverLog::get_last_rate | ( | ) |
Definition at line 22 of file SolverLog.cpp.
| shamsys::SystemMetrics shammodels::sph::SolverLog::get_last_system_metrics | ( | ) |
Definition at line 54 of file SolverLog.cpp.
|
inline |
Definition at line 67 of file SolverLog.hpp.
|
inline |
Definition at line 51 of file SolverLog.hpp.
|
inline |
Definition at line 65 of file SolverLog.hpp.
|
inline |
Definition at line 68 of file SolverLog.hpp.
| f64 shammodels::sph::SolverLog::cumulated_step_time = 0 |
Definition at line 48 of file SolverLog.hpp.
| u64 shammodels::sph::SolverLog::step_count = 0 |
Definition at line 49 of file SolverLog.hpp.
| std::vector<StepInfo> shammodels::sph::SolverLog::step_logs = {} |
Definition at line 46 of file SolverLog.hpp.