Tweak histograms and output
This commit is contained in:
@@ -780,7 +780,10 @@ namespace ABACUS {
|
||||
if (info[i].Nfull > 0.0) {
|
||||
int TT_hr = int(info[i].TT/3600);
|
||||
int TT_min = int((info[i].TT - 3600.0*TT_hr)/60);
|
||||
outfile << std::endl << std::setw(20) << base_label[i] << std::setw(25) << std::fixed << std::setprecision(20) << info[i].sumrule_obtained;
|
||||
outfile << std::endl << std::setw(20) << base_label[i] << std::setw(25);
|
||||
if (info[i].sumrule_obtained < 1.0) outfile << std::fixed;
|
||||
else outfile << std::scientific;
|
||||
outfile << std::setprecision(16) << info[i].sumrule_obtained;
|
||||
if (info[i].Nfull < 1.0e+10) outfile << std::setw(25) << std::fixed << std::setprecision(0) << info[i].Nfull;
|
||||
else outfile << std::setw(25) << std::scientific << std::setprecision(16) << info[i].Nfull;
|
||||
outfile << std::setw(10) << info[i].Ninadm << std::setw(10) << info[i].Ndata << std::setw(10) << info[i].Ndata_conv << std::setw(10) << info[i].Ndata_conv0 << std::setw(10) << TT_hr << " h " << TT_min << " m " << std::fixed << std::showpoint << std::setprecision(3) << info[i].TT - 3600.0*TT_hr - 60.0*TT_min << " s";
|
||||
|
||||
Reference in New Issue
Block a user