ViennaCL - The Vienna Computing Library  1.5.1
Data Structures | Namespaces | Functions
ilut.hpp File Reference

Implementations of an incomplete factorization preconditioner with threshold (ILUT) More...

#include <vector>
#include <cmath>
#include <iostream>
#include "viennacl/forwards.h"
#include "viennacl/tools/tools.hpp"
#include "viennacl/linalg/detail/ilu/common.hpp"
#include "viennacl/compressed_matrix.hpp"
#include "viennacl/linalg/host_based/common.hpp"
#include <map>

Go to the source code of this file.

Data Structures

class  ilut_tag
 A tag for incomplete LU factorization with threshold (ILUT) More...
 
class  ilut_precond< MatrixType >
 ILUT preconditioner class, can be supplied to solve()-routines. More...
 
class  ilut_precond< compressed_matrix< ScalarType, MAT_ALIGNMENT > >
 ILUT preconditioner class, can be supplied to solve()-routines. More...
 

Namespaces

 viennacl
 Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
 
 viennacl::linalg
 Provides all linear algebra operations which are not covered by operator overloads.
 

Functions

template<typename ScalarType , typename SizeType , typename SparseVector >
ScalarType setup_w (viennacl::compressed_matrix< ScalarType > const &A, SizeType row, SparseVector &w)
 Dispatcher overload for extracting the row of nonzeros of a compressed matrix. More...
 
template<typename ScalarType , typename SizeType , typename SparseVector >
ScalarType setup_w (std::vector< std::map< SizeType, ScalarType > > const &A, SizeType row, SparseVector &w)
 Dispatcher overload for extracting the row of nonzeros of a STL-grown sparse matrix. More...
 
template<typename SparseMatrixType , typename ScalarType , typename SizeType >
void precondition (SparseMatrixType const &A, std::vector< std::map< SizeType, ScalarType > > &output, ilut_tag const &tag)
 Implementation of a ILU-preconditioner with threshold. Optimized implementation for compressed_matrix. More...
 

Detailed Description

Implementations of an incomplete factorization preconditioner with threshold (ILUT)