TBCI::DiagPreconditioner< T, MatrixType > Class Template Reference

#include <diagprecond.h>

Inheritance diagram for TBCI::DiagPreconditioner< T, MatrixType >:

Inheritance graph
[legend]
Collaboration diagram for TBCI::DiagPreconditioner< T, MatrixType >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DiagPreconditioner ()
 DiagPreconditioner (const MatrixType &A)
 ~DiagPreconditioner ()
void update (const MatrixType &A)
TVector< T > solve (const Vector< T > &v) const
TVector< T > solve (TVector< T > tv) const
TVector< T > transSolve (const Vector< T > &v) const
TVector< T > transSolve (TVector< T > tv) const

Friends

class SystemMatrix


Detailed Description

template<typename T, typename MatrixType = BdMatrix<T>>
class TBCI::DiagPreconditioner< T, MatrixType >

Diagonal Preconditioner (Jacobi Preconditioner) for solvers for the linear system of type A * x = b

Definition at line 27 of file diagprecond.h.


Constructor & Destructor Documentation

template<typename T, typename MatrixType = BdMatrix<T>>
TBCI::DiagPreconditioner< T, MatrixType >::DiagPreconditioner (  )  [inline]

Definition at line 35 of file diagprecond.h.

template<typename T, typename MatrixType = BdMatrix<T>>
TBCI::DiagPreconditioner< T, MatrixType >::DiagPreconditioner ( const MatrixType &  A  )  [inline]

Definition at line 37 of file diagprecond.h.

template<typename T, typename MatrixType = BdMatrix<T>>
TBCI::DiagPreconditioner< T, MatrixType >::~DiagPreconditioner (  )  [inline]

Definition at line 39 of file diagprecond.h.


Member Function Documentation

template<typename T, typename MatrixType = BdMatrix<T>>
void TBCI::DiagPreconditioner< T, MatrixType >::update ( const MatrixType &  A  )  [inline, virtual]

Implements TBCI::Preconditioner_Sig< T, MatrixType >.

Definition at line 42 of file diagprecond.h.

References BCHK, and T.

template<typename T, typename MatrixType = BdMatrix<T>>
TVector<T> TBCI::DiagPreconditioner< T, MatrixType >::solve ( const Vector< T > &  v  )  const [inline, virtual]

Implements TBCI::Preconditioner_Sig< T, MatrixType >.

Definition at line 60 of file diagprecond.h.

template<typename T, typename MatrixType = BdMatrix<T>>
TVector<T> TBCI::DiagPreconditioner< T, MatrixType >::solve ( TVector< T >  tv  )  const [inline, virtual]

template<typename T, typename MatrixType = BdMatrix<T>>
TVector<T> TBCI::DiagPreconditioner< T, MatrixType >::transSolve ( const Vector< T > &  v  )  const [inline, virtual]

Implements TBCI::Preconditioner_Sig< T, MatrixType >.

Definition at line 75 of file diagprecond.h.

template<typename T, typename MatrixType = BdMatrix<T>>
TVector<T> TBCI::DiagPreconditioner< T, MatrixType >::transSolve ( TVector< T >  tv  )  const [inline, virtual]

Implements TBCI::Preconditioner_Sig< T, MatrixType >.

Definition at line 78 of file diagprecond.h.


Friends And Related Function Documentation

template<typename T, typename MatrixType = BdMatrix<T>>
friend class SystemMatrix [friend]

Definition at line 33 of file diagprecond.h.


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

Generated on Wed Nov 20 09:29:48 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6