Navigation

Main Page
Download
Support
Installation
Tutorial
Examples
Reference Manual
   Version 1.0.6dev
      Class Index
      File List
   Version 1.0.6
   Version 1.0.5new_solver
   Version 1.0.5dev
   Version 1.0.5b
   Version 1.0.4dev
   Version 1.0.4
Publications


Hosted by Get Ion Beam Simulator at SourceForge.net. Fast, secure and Free Open Source software downloads
ILU1_Precond Class Reference

First level fill-in incomplete LU preconditioner class. More...

#include <ilu1_precond.hpp>

Inheritance diagram for ILU1_Precond:
Precond

Public Member Functions

 ILU1_Precond ()
 Constructor for an ILU1 preconditioner. More...
 
 ~ILU1_Precond ()
 Destructor. More...
 
ILU1_Precondcopy (void) const
 Get a new copy of preconditioner. More...
 
void prepare (const CRowMatrix &A)
 Prepare preconditioner for matrices with non-zero pattern equal to A. More...
 
void construct (const CRowMatrix &A)
 Construct preconditioner for matrix A. More...
 
void clear (void)
 Clear preconditioner. More...
 
bool is_prepared (void) const
 Return false if prepare is needed. More...
 
const CRowMatrixget_matrix (void) const
 Return LU matrix. More...
 
void debug_print (std::ostream &os) const
 Print debugging information to os. More...
 
std::string typestring (void) const
 Return string indicating type of preconditioner. More...
 
void solve (Vector &x, const Vector &b) const
 Solve M* x = b and return x. More...
 
- Public Member Functions inherited from Precond
virtual ~Precond ()
 Virtual destructor. More...
 

Detailed Description

First level fill-in incomplete LU preconditioner class.

Constructor & Destructor Documentation

◆ ILU1_Precond()

ILU1_Precond::ILU1_Precond ( )

Constructor for an ILU1 preconditioner.

◆ ~ILU1_Precond()

ILU1_Precond::~ILU1_Precond ( )

Destructor.

Member Function Documentation

◆ clear()

void ILU1_Precond::clear ( void  )
virtual

Clear preconditioner.

Clears preconditioner. Both prepare() and construct() functions have to be called after this.

Implements Precond.

◆ construct()

void ILU1_Precond::construct ( const CRowMatrix A)
virtual

Construct preconditioner for matrix A.

Assumes ascending order matrix.

Implements Precond.

◆ copy()

ILU1_Precond* ILU1_Precond::copy ( void  ) const
inlinevirtual

Get a new copy of preconditioner.

Does not copy matrix.

Implements Precond.

◆ debug_print()

void ILU1_Precond::debug_print ( std::ostream &  os) const

Print debugging information to os.

◆ get_matrix()

const CRowMatrix * ILU1_Precond::get_matrix ( void  ) const

Return LU matrix.

◆ is_prepared()

bool ILU1_Precond::is_prepared ( void  ) const
virtual

Return false if prepare is needed.

Returns true if prepare is not needed and false if it is.

Implements Precond.

◆ prepare()

void ILU1_Precond::prepare ( const CRowMatrix A)
virtual

Prepare preconditioner for matrices with non-zero pattern equal to A.

Assumes ascending order matrix. Makes LU matrix a copy of A with elements where level is 1.

Implements Precond.

◆ solve()

void ILU1_Precond::solve ( Vector x,
const Vector b 
) const
virtual

Solve M* x = b and return x.

Implements Precond.

◆ typestring()

std::string ILU1_Precond::typestring ( void  ) const
virtual

Return string indicating type of preconditioner.

Implements Precond.


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


Reference manual for Ion Beam Simulator 1.0.6dev
Generated by Doxygen 1.9.1 on Thu Sep 11 2025 09:37:24.