Alien  1.3.0
Developer documentation
Loading...
Searching...
No Matches
Alien::DiagPreconditioner< AlgebraT > Class Template Reference
Collaboration diagram for Alien::DiagPreconditioner< AlgebraT >:

Public Types

typedef AlgebraT AlgebraType
typedef AlgebraType::Matrix MatrixType
typedef AlgebraType::Vector VectorType
typedef MatrixType::ValueType ValueType

Public Member Functions

 DiagPreconditioner (AlgebraType &algebra, MatrixType const &matrix)
void init ()
 operator preparation
void update ()
template<typename AlgebraType>
void solve (AlgebraType &algebra, VectorType const &x, VectorType &y) const

Private Attributes

AlgebraType & m_algebra
MatrixType const & m_matrix
VectorType m_inv_diag

Detailed Description

template<typename AlgebraT>
class Alien::DiagPreconditioner< AlgebraT >

Definition at line 13 of file DiagPreconditioner.h.

Member Typedef Documentation

◆ AlgebraType

template<typename AlgebraT>
typedef AlgebraT Alien::DiagPreconditioner< AlgebraT >::AlgebraType

Definition at line 17 of file DiagPreconditioner.h.

◆ MatrixType

template<typename AlgebraT>
typedef AlgebraType::Matrix Alien::DiagPreconditioner< AlgebraT >::MatrixType

Definition at line 18 of file DiagPreconditioner.h.

◆ ValueType

template<typename AlgebraT>
typedef MatrixType::ValueType Alien::DiagPreconditioner< AlgebraT >::ValueType

Definition at line 20 of file DiagPreconditioner.h.

◆ VectorType

template<typename AlgebraT>
typedef AlgebraType::Vector Alien::DiagPreconditioner< AlgebraT >::VectorType

Definition at line 19 of file DiagPreconditioner.h.

Constructor & Destructor Documentation

◆ DiagPreconditioner()

template<typename AlgebraT>
Alien::DiagPreconditioner< AlgebraT >::DiagPreconditioner ( AlgebraType & algebra,
MatrixType const & matrix )
inline

Definition at line 23 of file DiagPreconditioner.h.

◆ ~DiagPreconditioner()

template<typename AlgebraT>
virtual Alien::DiagPreconditioner< AlgebraT >::~DiagPreconditioner ( )
inlinevirtual

Definition at line 29 of file DiagPreconditioner.h.

Member Function Documentation

◆ init()

template<typename AlgebraT>
void Alien::DiagPreconditioner< AlgebraT >::init ( )
inline

operator preparation

Definition at line 32 of file DiagPreconditioner.h.

◆ solve()

template<typename AlgebraT>
template<typename AlgebraType>
void Alien::DiagPreconditioner< AlgebraT >::solve ( AlgebraType & algebra,
VectorType const & x,
VectorType & y ) const
inline

Definition at line 45 of file DiagPreconditioner.h.

◆ update()

template<typename AlgebraT>
void Alien::DiagPreconditioner< AlgebraT >::update ( )
inline

Definition at line 39 of file DiagPreconditioner.h.

Member Data Documentation

◆ m_algebra

template<typename AlgebraT>
AlgebraType& Alien::DiagPreconditioner< AlgebraT >::m_algebra
private

Definition at line 53 of file DiagPreconditioner.h.

◆ m_inv_diag

template<typename AlgebraT>
VectorType Alien::DiagPreconditioner< AlgebraT >::m_inv_diag
private

Definition at line 55 of file DiagPreconditioner.h.

◆ m_matrix

template<typename AlgebraT>
MatrixType const& Alien::DiagPreconditioner< AlgebraT >::m_matrix
private

Definition at line 54 of file DiagPreconditioner.h.


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