Commit 461bb02e authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Added attribution for ILU(0)

parent 71f6c6d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
/***************************************************************************
                          IndexPermutationApplier.h  -  description
                          ParallelFor.h  -  description
                             -------------------
    begin                : Mar 10, 2017
    copyright            : (C) 2017 by Tomas Oberhuber et al.
+13 −3
Original line number Diff line number Diff line
/***************************************************************************
                          ILU0.h  -  description
                             -------------------
    begin                : Dec 24, 2016
    copyright            : (C) 2016 by Tomas Oberhuber et al.
    email                : tomas.oberhuber@fjfi.cvut.cz
 ***************************************************************************/

/* See Copyright Notice in tnl/Copyright */

// Implemented by: Jakub Klinkovsky

#pragma once

@@ -22,8 +33,8 @@ public:
   typedef Devices::Host DeviceType;
   typedef Index IndexType;

   template< typename Matrix >
   void update( const Matrix& matrix );
   template< typename MatrixPointer >
   void update( const MatrixPointer& matrixPointer );

   template< typename Vector1, typename Vector2 >
   bool solve( const Vector1& b, Vector2& x ) const;
@@ -45,4 +56,3 @@ protected:
} // namespace TNL

#include <TNL/Solvers/Linear/Preconditioners/ILU0_impl.h>
//#include <TNL/Solvers/Linear/Preconditioners/ILU0_impl_original.h>
+13 −0
Original line number Diff line number Diff line
/***************************************************************************
                          ILU0_impl.h  -  description
                             -------------------
    begin                : Dec 24, 2016
    copyright            : (C) 2016 by Tomas Oberhuber et al.
    email                : tomas.oberhuber@fjfi.cvut.cz
 ***************************************************************************/

/* See Copyright Notice in tnl/Copyright */

// Implemented by: Jakub Klinkovsky

#pragma once

#include "ILU0.h"

#include <TNL/Exceptions/CudaSupportMissing.h>

namespace TNL {
namespace Solvers {
namespace Linear {