HCL_PCG_d implements the preconditioned conjugate gradients algorithm for solving a linear operator equation with a symmetric positive definite operator
HCL_PCG_d ( char *fname, HCL_LinearOp_d * m, HCL_LinearSolver_d * ls, HCL_Recorder_d * rec = NULL) Constructor | |
HCL_PCG_d ( char *fname, HCL_LinearOp_d * minv, HCL_Recorder_d * rec = NULL ) Alternate constructor | |
Table& | Parameters () const Access to parameter table |
virtual int | Solve ( const HCL_LinearOp_d & A, const HCL_Vector_d & b, HCL_Vector_d & x ) const Solve (approximately) the equation Ax=b for x |
virtual ostream& | Write ( ostream & str ) const Prints description of the object |
HCL_PCG_d implements the preconditioned conjugate gradients algorithm for solving a linear operator equation with a symmetric positive definite operator. By passing an (optional pointer to an) HCL_Recorder_d object, the user can record all of the intermediate estimates of the solution generated during the iteration.
Default = 0
minv - Inverse of the preconditioner or NULL
rec - Optional Recorder object
b - RHS vector
x - Initially, this must be a starting vector for the
iteration. On exit, this contains the approximate solution
Default = 100
Default = 1.0e-3
0 - No output
1 - One-line summary output
2 - Detailed header and footer with timing information
3 - Per-iteration information
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de