Zero fill-in incomplete LU preconditioner class. More...
#include <ilu0_precond.hpp>
Public Member Functions | |
ILU0_Precond (const Matrix &A) | |
Constructor for an ILU0 preconditioner for matrix A. | |
~ILU0_Precond () | |
Destructor. | |
void | debug_print (std::ostream &os) const |
Print debugging information to os. | |
const Matrix * | get_L (void) const |
Returns a pointer to the internal L matrix. | |
const Matrix * | get_U (void) const |
Returns a pointer to the internal U matrix. | |
void | solve (Vector &x, const Vector &b) const |
Solve M* x = b and return x. |
Zero fill-in incomplete LU preconditioner class.
ILU0_Precond::ILU0_Precond | ( | const Matrix & | A | ) |
Constructor for an ILU0 preconditioner for matrix A.
Destructor.
void ILU0_Precond::debug_print | ( | std::ostream & | os | ) | const |
Print debugging information to os.
const Matrix* ILU0_Precond::get_L | ( | void | ) | const [inline] |
Returns a pointer to the internal L matrix.
const Matrix* ILU0_Precond::get_U | ( | void | ) | const [inline] |
Returns a pointer to the internal U matrix.
void ILU0_Precond::solve | ( | Vector & | x, |
const Vector & | b | ||
) | const [virtual] |
Solve M* x = b and return x.
Implements Precond.