#include <SOR.hpp>
Inheritance diagram for SORPrecond< T >:


Public Member Functions | |
| void | PrintParam () |
| Prints the name of the preconditioner. | |
| void | PreProcess (void *&context, SparseMatrix< T > &A) |
| Saves the system matrix. | |
| void | Run (void *&context, MultiVector< T > &r, MultiVector< T > &c) |
Applies the preconditioner to a given vector 'r', i.e. computes . | |
| SORPrecond (unsigned the_disp_type, T the_omega, bool sym=0) | |
| Constructor which sets the display type and the symmetry flag. | |
| SORPrecond< T >::SORPrecond | ( | unsigned | the_disp_type, | |
| T | the_omega, | |||
| bool | sym = 0 | |||
| ) | [inline] |
Constructor which sets the display type and the symmetry flag.
| void SORPrecond< T >::PrintParam | ( | ) | [inline, virtual] |
| void SORPrecond< T >::PreProcess | ( | void *& | context, | |
| SparseMatrix< T > & | A | |||
| ) | [inline, virtual] |
Saves the system matrix.
| [in] | context | The preconditioner context to initialize |
| [in] | A | The system matrix hierarchy |
Implements LinPrecond< T >.
| void SORPrecond< 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 >.
1.5.2