Commit f0297920 authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Renaming mCGSolver to tnlCGSolver.

parent 85342f78
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ headers = \
	  mPETSCMatrix.h \
	  mPETSCSolver.h \
	  mSORSolver.h \
	  mCGSolver.h \
	  tnlCGSolver.h \
	  tnlBICGSolver.h \
	  tnlBICGStabSolver.h \
	  mGMRESSolver.h  \
+6 −6
Original line number Diff line number Diff line
/***************************************************************************
                          mCGSolver.h  -  description
                          tnlCGSolver.h  -  description
                             -------------------
    begin                : 2007/07/31
    copyright            : (C) 2007 by Tomá¹ Oberhuber
@@ -15,17 +15,17 @@
 *                                                                         *
 ***************************************************************************/

#ifndef mCGSolverH
#define mCGSolverH
#ifndef tnlCGSolverH
#define tnlCGSolverH

#include <math.h>
#include <matrix/mMatrixSolver.h>

template< typename T > class mCGSolver : public mMatrixSolver< T >
template< typename T > class tnlCGSolver : public mMatrixSolver< T >
{
   public:

   mCGSolver()
   tnlCGSolver()
   : r( 0 ), new_r( 0 ), p( 0 ), Ap( 0 ), size( 0 )
   {};
   
@@ -111,7 +111,7 @@ template< typename T > class mCGSolver : public mMatrixSolver< T >
         mMatrixSolver< T > :: PrintOut();
   };

   ~mCGSolver()
   ~tnlCGSolver()
   {
      FreeSupportingArrays();
   };