|
@@ -780,7 +780,10 @@ namespace ABACUS {
|
780
|
780
|
if (info[i].Nfull > 0.0) {
|
781
|
781
|
int TT_hr = int(info[i].TT/3600);
|
782
|
782
|
int TT_min = int((info[i].TT - 3600.0*TT_hr)/60);
|
783
|
|
- outfile << std::endl << std::setw(20) << base_label[i] << std::setw(25) << std::fixed << std::setprecision(20) << info[i].sumrule_obtained;
|
|
783
|
+ outfile << std::endl << std::setw(20) << base_label[i] << std::setw(25);
|
|
784
|
+ if (info[i].sumrule_obtained < 1.0) outfile << std::fixed;
|
|
785
|
+ else outfile << std::scientific;
|
|
786
|
+ outfile << std::setprecision(16) << info[i].sumrule_obtained;
|
784
|
787
|
if (info[i].Nfull < 1.0e+10) outfile << std::setw(25) << std::fixed << std::setprecision(0) << info[i].Nfull;
|
785
|
788
|
else outfile << std::setw(25) << std::scientific << std::setprecision(16) << info[i].Nfull;
|
786
|
789
|
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";
|