bicgstab.hpp File Reference

Stabilized Biconjugate Gradient solver. More...

#include "matrix.hpp"
#include "precond.hpp"

Go to the source code of this file.

Defines

#define BICGSTAB_HPP   1

Functions

bool bicgstab (const Matrix &mat, const Vector &rhs, Vector &sol, const Precond &pc, uint32_t &imax, double &eps)
 BiCGSTAB linear matrix equation solver.


Detailed Description

Stabilized Biconjugate Gradient solver.


Define Documentation

#define BICGSTAB_HPP   1


Function Documentation

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.

Returns:
True on success, false on errors
Parameters:
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


Generated on Thu Apr 21 13:39:59 2011 for IBSimu by  doxygen 1.4.7