83 std::vector<std::string> vars{
"x",
"y",
"z",
"vx",
"vy",
"vz"};
92 ss <<
"QSS stats:" << std::endl;
96 ss <<
" Total steps: " << steps << std::endl
97 <<
" Total substeps: " <<
substeps << std::endl
98 <<
" Substeps average per step: " << avg_substeps << std::endl;
100 ss <<
" Substeps by track-step:" << std::endl;
104 ss <<
" Track #" << it->first << std::endl;
105 for (
auto it2 = it->second.begin(); it2 != it->second.end(); ++it2) {
106 ss <<
" Step " << it2->first <<
" => " << it2->second <<
" substeps" << std::endl;
111 <<
" Integration time average (step): " << avg_integration_time << std::endl
112 <<
" Integration time average (substep): " << avg_substeps_integration_time << std::endl;
114 ss <<
" Reset time: " <<
reset_time << std::endl
115 <<
" Reset time average: " << avg_reset_time << std::endl;
118 ss <<
" Variable " << vars[index] <<
":" << std::endl;
119 ss <<
" dQRel changes: " <<
dqrel_changes[index] << std::endl;
120 ss <<
" dQMin changes: " <<
dqmin_changes[index] << std::endl;
121 ss <<
" Max error: " <<
max_error[index] << std::endl;
124 std::cout << ss.rdbuf();