A tag for the stabilized Bi-conjugate gradient solver. Used for supplying solver parameters and for dispatching the solve() function.
More...
#include <bicgstab.hpp>
A tag for the stabilized Bi-conjugate gradient solver. Used for supplying solver parameters and for dispatching the solve() function.
The constructor.
- Parameters
-
tol | Relative tolerance for the residual (solver quits if ||r|| < tol * ||r_initial||) |
max_iters | The maximum number of iterations |
max_iters_before_restart | The maximum number of iterations before BiCGStab is reinitialized (to avoid accumulation of round-off errors) |
Returns the estimated relative error at the end of the solver run.
void error |
( |
double |
e | ) |
const |
|
inline |
Sets the estimated relative error at the end of the solver run.
Return the number of solver iterations:
Returns the maximum number of iterations.
vcl_size_t max_iterations_before_restart |
( |
| ) |
const |
|
inline |
Returns the maximum number of iterations before a restart.
double tolerance |
( |
| ) |
const |
|
inline |
Returns the relative tolerance.
The documentation for this class was generated from the following file: