#include <LexILU.hpp>
Inheritance diagram for LexILUPrecond< T >:


Public Member Functions | |
| void | PrintParam () |
| Prints the name of the preconditioner. | |
| void | PreProcess (void *&context, SparseMatrix< T > &A) |
| Creates the preconditioner matrices. | |
| void | Run (void *&context, MultiVector< T > &r, MultiVector< T > &c) |
Applies the preconditioner to a given vector 'r', i.e. computes . | |
| void | PostProcess (void *&context) |
| Releases the information referenced by the context. | |
| LexILUPrecond (unsigned the_disp_type, T the_omega=0) | |
This version uses the lexicographical ordering of the grid points. The templates depend on a type T. This type should satisfy the conditions listed in small_matrix.hpp for small matrices.
| LexILUPrecond< T >::LexILUPrecond | ( | unsigned | the_disp_type, | |
| T | the_omega = 0 | |||
| ) | [inline] |
| void LexILUPrecond< T >::PrintParam | ( | ) | [inline, virtual] |
| void LexILUPrecond< T >::PreProcess | ( | void *& | context, | |
| SparseMatrix< T > & | A | |||
| ) | [inline, virtual] |
Creates the preconditioner matrices.
These matrices are saved in one SparseMatrix<T>-structure: The upper diagonal part is
, the lower-diagonal one is
and the diagonal blocks represent
. The context stores a pointer to this structure
| [in] | context | The preconditioner context to initialize |
| [in] | A | The system matrix hierarchy |
Implements LinPrecond< T >.
| void LexILUPrecond< T >::Run | ( | void *& | context, | |
| MultiVector< T > & | r, | |||
| MultiVector< T > & | c | |||
| ) | [inline, virtual] |
Applies the preconditioner to a given vector 'r', i.e. computes
.
| [in] | context | The preconditioner context |
| [in] | r | The residual |
| [in] | c | The correction |
Implements LinPrecond< T >.
| void LexILUPrecond< T >::PostProcess | ( | void *& | context | ) | [inline, virtual] |
Releases the information referenced by the context.
| [in] | context | The context to release |
Reimplemented from LinPrecond< T >.
1.5.2