HLIBpro  2.4
Public Member Functions | List of all members
TGMRES Class Reference

Implements GMRES iteration with restart.

#include <TGMRES.hh>

Inherits TSolver.

Public Member Functions

 TGMRES (const uint restart, const uint max_iter=100, const real abs_res_red=real(1e-8), const real rel_res_red=real(1e-8), const real rel_res_growth=real(1e6))
 
 TGMRES (const uint restart, const TStopCriterion &stop_crit)
 
virtual void solve (const TLinearOperator *A, TVector *x, const TVector *b, const TLinearOperator *W=nullptr, TInfo *data=nullptr) const
 solve A·x = b with optional preconditioner W
 

Constructor & Destructor Documentation

TGMRES ( const uint  restart,
const uint  max_iter = 100,
const real  abs_res_red = real(1e-8),
const real  rel_res_red = real(1e-8),
const real  rel_res_growth = real(1e6) 
)

construct GMRES solver object with corresponding stop criteria and restart after restart steps

TGMRES ( const uint  restart,
const TStopCriterion &  stop_crit 
)

construct GMRES solver object with corresponding stop criteria and restart after restart steps