#include <GaussSeidel.hpp>
Inheritance diagram for GSPrecond< 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 . | |
| GSPrecond (unsigned the_disp_type, bool sym=0) | |
| Constructor which sets the display type and the symmetry flag. | |
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.
Constructor which sets the display type and the symmetry flag.
| void GSPrecond< T >::PrintParam | ( | ) | [inline, virtual] |
| void GSPrecond< 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 GSPrecond< 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