dune-istl
2.2.1
|
Richardson preconditioner. More...
#include <dune/istl/preconditioners.hh>
Public Types | |
enum | { category =SolverCategory::sequential } |
typedef X | domain_type |
The domain type of the preconditioner. More... | |
typedef Y | range_type |
The range type of the preconditioner. More... | |
typedef X::field_type | field_type |
The field type of the preconditioner. More... | |
Public Member Functions | |
Richardson (field_type w=1.0) | |
Constructor. More... | |
virtual void | pre (X &x, Y &b) |
Prepare the preconditioner. More... | |
virtual void | apply (X &v, const Y &d) |
Apply the precondioner. More... | |
virtual void | post (X &x) |
Clean up. More... | |
Richardson preconditioner.
Multiply simply by a constant.
X | Type of the update |
Y | Type of the defect |
typedef X Dune::Richardson< X, Y >::domain_type |
The domain type of the preconditioner.
typedef X::field_type Dune::Richardson< X, Y >::field_type |
The field type of the preconditioner.
typedef Y Dune::Richardson< X, Y >::range_type |
The range type of the preconditioner.
anonymous enum |
|
inline |
Constructor.
Constructor gets all parameters to operate the prec.
w | The relaxation factor. |
|
inlinevirtual |
Apply the precondioner.
Apply one step of the preconditioner to the system A(v)=d.
Implements Dune::Preconditioner< X, Y >.
|
inlinevirtual |
|
inlinevirtual |