NeoPZ
|
Contains the implementation of the BiCG function which solves the unsymmetric linear system using Preconditioned BiConjugate Gradient method. More...
Go to the source code of this file.
Functions | |
template<class Matrix , class Vector , class Preconditioner , class Real > | |
int | BiCG (Matrix &A, Vector &x, const Vector &b, Preconditioner &M, int64_t &max_iter, Real &tol) |
Contains the implementation of the BiCG function which solves the unsymmetric linear system using Preconditioned BiConjugate Gradient method.
Definition in file bicg.h.
int BiCG | ( | Matrix & | A, |
Vector & | x, | ||
const Vector & | b, | ||
Preconditioner & | M, | ||
int64_t & | max_iter, | ||
Real & | tol | ||
) |
Iterative template routine – BiCG
BiCG follows the algorithm described on p. 22 of the SIAM Templates book.
Definition at line 27 of file bicg.h.
References Dot(), Norm(), and TPZExtractVal::val().
Referenced by TPZMatrix< STATE >::SolveBICG().