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. | |
![]() | |
virtual | ~Precond () |
Virtual destructor. |
Zero fill-in incomplete LU preconditioner class.
ILU0_Precond::ILU0_Precond | ( | const Matrix & | A | ) |
Constructor for an ILU0 preconditioner for matrix A.
ILU0_Precond::~ILU0_Precond | ( | ) |
Destructor.
void ILU0_Precond::debug_print | ( | std::ostream & | os | ) | const |
Print debugging information to os.
|
inline |
Returns a pointer to the internal L matrix.
|
inline |
Returns a pointer to the internal U matrix.
Solve M* x = b and return x.
Implements Precond.