HCL_GMRES_d implements the preconditioned Generalized Minimal Residual (GMRES) algorithm for solving a linear operator equation with a (possibly) non-symmetric operator (See Golub and VanLoan [1996])
![]() | Input Parameters
| ||||||||||
![]() | Methods
| ||||||||||
![]() | Output parameters
|
HCL_GMRES_d implements the preconditioned Generalized Minimal Residual (GMRES) algorithm for solving a linear operator equation with a (possibly) non-symmetric operator (See Golub and VanLoan [1996])
Takes (a pointer to) the preconditioner and (a pointer to) the linear solver (used for inverting the preconditioner).
HCL_GMRES_d( char *fname, HCL_LinearOp_d * minv )
minv - Inverse of preconditioning operator or NULL. Table& Parameters()
int Solve( const HCL_LinearOp_d & A, const HCL_Vector_d & b, HCL_Vector_d & x )
b - RHS vector
x - Initially, this must be a (nonzero) starting vector for the
iteration. On exit, this contains the approximate solution
Default = 2
int SubspaceDim
Default = 10
int Flexible
Default = 0
int SaveMemory
Default = 0
int DispFlag
0 - No output
1 - One-line summary output
2 - Detailed header and footer with timing information
3 - Per-iteration information
0 - Success int TermCode
1 - Too many GMRES iterations taken
-1 - SubspaceDim < 2
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de