ViennaCL - The Vienna Computing Library  1.5.1
Public Types | Public Member Functions
block_ilu_precond< MatrixType, ILUTag > Class Template Reference

A block ILU preconditioner class, can be supplied to solve()-routines. More...

#include <block_ilu.hpp>

Public Types

typedef std::vector< std::pair
< vcl_size_t, vcl_size_t > > 
index_vector_type

Public Member Functions

 block_ilu_precond (MatrixType const &mat, ILUTag const &tag, vcl_size_t num_blocks=8)
 block_ilu_precond (MatrixType const &mat, ILUTag const &tag, index_vector_type const &block_boundaries)
template<typename VectorType >
void apply (VectorType &vec) const

Detailed Description

template<typename MatrixType, typename ILUTag>
class viennacl::linalg::block_ilu_precond< MatrixType, ILUTag >

A block ILU preconditioner class, can be supplied to solve()-routines.

Template Parameters:
MatrixTypeType of the system matrix
ILUTagType of the tag identifiying the ILU preconditioner to be used on each block.

Member Typedef Documentation

typedef std::vector<std::pair<vcl_size_t, vcl_size_t> > index_vector_type

Constructor & Destructor Documentation

block_ilu_precond ( MatrixType const &  mat,
ILUTag const &  tag,
vcl_size_t  num_blocks = 8 
) [inline]
block_ilu_precond ( MatrixType const &  mat,
ILUTag const &  tag,
index_vector_type const &  block_boundaries 
) [inline]

Member Function Documentation

void apply ( VectorType &  vec) const [inline]

The documentation for this class was generated from the following file: