NeoPZ
Functions
bicg.h File Reference

Contains the implementation of the BiCG function which solves the unsymmetric linear system using Preconditioned BiConjugate Gradient method. More...

This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Contains the implementation of the BiCG function which solves the unsymmetric linear system using Preconditioned BiConjugate Gradient method.

Definition in file bicg.h.

Function Documentation

◆ BiCG()

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 
)

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().