Public Member Functions | List of all members
ILU0_Precond Class Reference

Zero fill-in incomplete LU preconditioner class. More...

#include <ilu0_precond.hpp>

Inheritance diagram for ILU0_Precond:
Precond

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 Matrixget_L (void) const
 Returns a pointer to the internal L matrix.
 
const Matrixget_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.
 
- Public Member Functions inherited from Precond
virtual ~Precond ()
 Virtual destructor.
 

Detailed Description

Zero fill-in incomplete LU preconditioner class.

Constructor & Destructor Documentation

ILU0_Precond::ILU0_Precond ( const Matrix A)

Constructor for an ILU0 preconditioner for matrix A.

ILU0_Precond::~ILU0_Precond ( )

Destructor.

Member Function Documentation

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.


The documentation for this class was generated from the following file: