11 #ifndef BOGUS_PRECONDITIONERS_HPP 
   12 #define BOGUS_PRECONDITIONERS_HPP 
   17 template < 
typename MatrixType >
 
   21     void setMatrix( 
const MatrixType & )
 
   24     template < 
bool transpose, 
typename ResT, 
typename RhsT >
 
   25     void apply( 
const RhsT& rhs, ResT &res )
 const 
   37 template < 
typename MatrixType >
 
   47 template < 
typename MatrixType >
 
   57 template < 
typename MatrixType >
 
   65 template < 
typename PreconditionerMatrixType >
 
   68     template < 
typename MatrixType >
 
   71         const PreconditionerMatrixType* m_preconditionerMatrix ;
 
   75         Type() : m_preconditionerMatrix( 0 )
 
   78         void setMatrix( 
const MatrixType & )
 
   81         void setPreconditionerMatrix( 
const PreconditionerMatrixType & preconditioner )
 
   83             m_preconditionerMatrix = &preconditioner ;
 
   86         template < 
bool transpose, 
typename ResT, 
typename RhsT >
 
   87         void apply( 
const RhsT& rhs, ResT &res )
 const 
   89             m_preconditionerMatrix->template multiply< transpose >( rhs, res ) ;
 
Trivial ( identity ) preconditioner. Does nothing. 
Definition: Preconditioners.hpp:18
Diagonal Block-LU preconditioner. 
Definition: Preconditioners.hpp:48
Diagonal preconditioner. 
Definition: Preconditioners.hpp:38
Matrix preconditioner. 
Definition: Preconditioners.hpp:66
Diagonal Block-LDLT preconditioner. 
Definition: Preconditioners.hpp:58
Definition: Preconditioners.hpp:69