DUNE PDELab (2.8)
preconditioner.hh
95 DUNE_THROW(Dune::Exception,"It is necessary to implement the category method in a derived classes, in the future this method will pure virtual.");
Base class for matrix free definition of preconditioners.
Definition: preconditioner.hh:30
virtual void apply(X &v, const Y &d)=0
Apply one step of the preconditioner to the system A(v)=d.
virtual ~Preconditioner()
every abstract base class has a virtual destructor
Definition: preconditioner.hh:102
Y range_type
The range type of the preconditioner.
Definition: preconditioner.hh:35
X domain_type
The domain type of the preconditioner.
Definition: preconditioner.hh:33
virtual SolverCategory::Category category() const =0
Category of the preconditioner (see SolverCategory::Category)
X::field_type field_type
The field type of the preconditioner.
Definition: preconditioner.hh:37
A few common exception classes.
![Creative Commons License](https://i.creativecommons.org/l/by-sa/4.0/80x15.png)