Alien  1.3.0
User documentation
Loading...
Searching...
No Matches
Alien::CG< AlgebraT > Class Template Reference

Public Types

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

Public Member Functions

 CG (AlgebraType &algebra, ITraceMng *trace_mng=nullptr)
void setOutputLevel (int level)
template<typename PrecondT, typename iterT>
int solve (PrecondT &precond, iterT &iter, MatrixType const &A, VectorType const &b, VectorType &x)
template<typename PrecondT, typename iterT>
int solve2 (PrecondT &precond, iterT &iter, MatrixType const &A, VectorType const &b, VectorType &x)

Detailed Description

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

Definition at line 34 of file CG.h.

Member Typedef Documentation

◆ AlgebraType

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

Definition at line 38 of file CG.h.

◆ FutureType

template<typename AlgebraT>
typedef AlgebraType::FutureType Alien::CG< AlgebraT >::FutureType

Definition at line 42 of file CG.h.

◆ MatrixType

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

Definition at line 39 of file CG.h.

◆ ValueType

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

Definition at line 41 of file CG.h.

◆ VectorType

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

Definition at line 40 of file CG.h.

Constructor & Destructor Documentation

◆ CG()

template<typename AlgebraT>
Alien::CG< AlgebraT >::CG ( AlgebraType & algebra,
ITraceMng * trace_mng = nullptr )
inline

Definition at line 45 of file CG.h.

◆ ~CG()

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

Definition at line 50 of file CG.h.

Member Function Documentation

◆ setOutputLevel()

template<typename AlgebraT>
void Alien::CG< AlgebraT >::setOutputLevel ( int level)
inline

Definition at line 53 of file CG.h.

◆ solve()

template<typename AlgebraT>
template<typename PrecondT, typename iterT>
int Alien::CG< AlgebraT >::solve ( PrecondT & precond,
iterT & iter,
MatrixType const & A,
VectorType const & b,
VectorType & x )
inline

Definition at line 59 of file CG.h.

◆ solve2()

template<typename AlgebraT>
template<typename PrecondT, typename iterT>
int Alien::CG< AlgebraT >::solve2 ( PrecondT & precond,
iterT & iter,
MatrixType const & A,
VectorType const & b,
VectorType & x )
inline

Definition at line 153 of file CG.h.


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