Commit b91b9403 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Removed unused timer from ExplicitSolver

parent 0f505907
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -11,7 +11,6 @@
#pragma once

#include <iomanip>
#include <TNL/Timer.h>
#include <TNL/Experimental/Arithmetics/FlopsCounter.h>
#include <TNL/Object.h>
#include <TNL/Solvers/IterativeSolverMonitor.h>
@@ -67,8 +66,6 @@ class ExplicitSolver : public IterativeSolver< typename Problem::RealType,
 
   void setVerbose( IndexType v );

   void setTimer( Timer* timer );

   virtual bool solve( DofVectorPointer& u ) = 0;

   void setTestingMode( bool testingMode );
@@ -98,8 +95,6 @@ protected:

   IndexType verbosity;

   Timer* timer;
 
   bool testingMode;

   Problem* problem;
+0 −9
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@ ExplicitSolver()
   tau( 0.0 ),
   maxTau( DBL_MAX ),
   verbosity( 0 ),
   timer( &defaultTimer ),
   testingMode( false ),
   problem( 0 )//,
   //solverMonitor( 0 )
@@ -130,14 +129,6 @@ setVerbose( IndexType v )
   this->verbosity = v;
};

template< class Problem >
void
ExplicitSolver< Problem >::
setTimer( Timer* timer )
{
   this->timer = timer;
};

template< class Problem >
void
ExplicitSolver< Problem >::