From 0a4a56d9b057907d5a945e2afab4aa44dba66a43 Mon Sep 17 00:00:00 2001 From: Nicolas Thiolliere <nicolas.thiolliere@subatech.in2p3.fr> Date: Fri, 23 Feb 2018 12:13:40 -0600 Subject: [PATCH] Remove progress bar managment... Update old one. --- source/include/Scenario.hxx | 2 +- source/src/Scenario.cxx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/include/Scenario.hxx b/source/include/Scenario.hxx index b82686fe3..1775d5613 100644 --- a/source/include/Scenario.hxx +++ b/source/include/Scenario.hxx @@ -308,7 +308,7 @@ public : void PrintClover(int i); //!< Print a nuclear clover for progression void ProgressPrintout(cSecond t); //!< Update the prompt output to the time t - void OldProgressPrintout(cSecond t); //!< Update the prompt output to the time t (without nuclear clover) + void BalProgressPrintout(cSecond t); //!< Update the prompt output to the time t (without nuclear clover) void SetSoberTerminalOutput() { fOldProgressBar = true; //!< Dont display animated nuclear clover in terminal } diff --git a/source/src/Scenario.cxx b/source/src/Scenario.cxx index 81326d046..78e3b0016 100644 --- a/source/src/Scenario.cxx +++ b/source/src/Scenario.cxx @@ -680,7 +680,7 @@ void Scenario::Evolution(cSecond t) //________________________________________________________________________ //________________________________________________________________________ -void Scenario::OldProgressPrintout(cSecond t) +void Scenario::ProgressPrintout(cSecond t) { double Time = (fAbsoluteTime-fStartingTime)/(double)cYear ; double Total = (t-fStartingTime)/(double)cYear; @@ -706,14 +706,14 @@ void Scenario::OldProgressPrintout(cSecond t) } //________________________________________________________________________ -void Scenario::ProgressPrintout(cSecond t) +void Scenario::BalProgressPrintout(cSecond t) // Obsolete... { double Time = (fAbsoluteTime-fStartingTime)/(double)cYear ; double Total = (t-fStartingTime)/(double)cYear; if(fOldProgressBar) - OldProgressPrintout(t); - + //OldProgressPrintout(t); + ProgressPrintout(t); else { int system_out = system("clear"); -- GitLab