IBSimu 1.0.4
|
Stabilized Biconjugate Gradient solver. More...
Go to the source code of this file.
Functions | |
bool | bicgstab (const Matrix &mat, const Vector &rhs, Vector &sol, const Precond &pc, uint32_t &imax, double &eps) |
BiCGSTAB linear matrix equation solver. |
Stabilized Biconjugate Gradient solver.
bool bicgstab | ( | const Matrix & | mat, |
const Vector & | rhs, | ||
Vector & | sol, | ||
const Precond & | pc, | ||
uint32_t & | imax, | ||
double & | eps | ||
) |
BiCGSTAB linear matrix equation solver.
Solves linear matrix equations of form A*X=B.
mat | Matrix on the linear equation |
rhs | Right hand side vector on the linear equation |
sol | Solution vector on the linear equation |
pc | Preconditioner used by the iterator |
imax | Maximum number of iterations to be done in input, number of iterations actually done on output |
eps | Accuracy request for iteration on input, estimated error achieved on output |