From d9271129a20594245361a91aae757bd27aed9699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkovsky@mmg.fjfi.cvut.cz> Date: Tue, 7 Jan 2020 15:52:41 +0100 Subject: [PATCH] Removed unused verbose parameter from SemiImplicitTimeStepper --- src/TNL/Solvers/PDE/SemiImplicitTimeStepper.h | 2 -- src/TNL/Solvers/PDE/SemiImplicitTimeStepper_impl.h | 10 ---------- 2 files changed, 12 deletions(-) diff --git a/src/TNL/Solvers/PDE/SemiImplicitTimeStepper.h b/src/TNL/Solvers/PDE/SemiImplicitTimeStepper.h index 9fbd9b3c65..da1612ce2d 100644 --- a/src/TNL/Solvers/PDE/SemiImplicitTimeStepper.h +++ b/src/TNL/Solvers/PDE/SemiImplicitTimeStepper.h @@ -86,8 +86,6 @@ class SemiImplicitTimeStepper Timer preIterateTimer, linearSystemAssemblerTimer, preconditionerUpdateTimer, linearSystemSolverTimer, postIterateTimer; - bool verbose = false; - long long int allIterations = 0; }; diff --git a/src/TNL/Solvers/PDE/SemiImplicitTimeStepper_impl.h b/src/TNL/Solvers/PDE/SemiImplicitTimeStepper_impl.h index 68a1163b69..5faa7902e1 100644 --- a/src/TNL/Solvers/PDE/SemiImplicitTimeStepper_impl.h +++ b/src/TNL/Solvers/PDE/SemiImplicitTimeStepper_impl.h @@ -24,7 +24,6 @@ SemiImplicitTimeStepper< Problem >:: configSetup( Config::ConfigDescription& config, const String& prefix ) { - config.addEntry< bool >( "verbose", "Verbose mode.", true ); } template< typename Problem > @@ -33,8 +32,6 @@ SemiImplicitTimeStepper< Problem >:: setup( const Config::ParameterContainer& parameters, const String& prefix ) { - this->verbose = parameters.getParameter< bool >( "verbose" ); - // set up the linear solver linearSystemSolver = getLinearSolver< MatrixType >( parameters ); if( ! linearSystemSolver ) @@ -156,8 +153,6 @@ solve( const RealType& time, } this->preIterateTimer.stop(); -// if( verbose ) -// std::cout << " Assembling the linear system ... \r" << std::flush; if( this->solverMonitor ) this->solverMonitor->setStage( "Assembling the linear system" ); @@ -169,8 +164,6 @@ solve( const RealType& time, this->rightHandSidePointer ); this->linearSystemAssemblerTimer.stop(); -// if( verbose ) -// std::cout << " Solving the linear system for time " << t + currentTau << " \r" << std::flush; if( this->solverMonitor ) this->solverMonitor->setStage( "Solving the linear system" ); @@ -192,9 +185,6 @@ solve( const RealType& time, this->linearSystemSolverTimer.stop(); this->allIterations += this->linearSystemSolver->getIterations(); - //if( verbose ) - // std::cout << std::endl; - if( this->solverMonitor ) this->solverMonitor->setStage( "Postiteration" ); -- GitLab