13#ifndef TRIVIALPRECONDITIONER_HH
14#define TRIVIALPRECONDITIONER_HH
35 template <
class Operator>
69 virtual Dune::SolverCategory::Category
category()
const override
71 return Dune::SolverCategory::sequential;
Interface for symmetric preconditioners.
The trivial preconditioner: this is simply the identity that does exactly nothing.
virtual void post(domain_type &)
Preconditioner cleanup.
virtual field_type applyDp(domain_type &x, range_type const &y) override
Computes and returns .
virtual bool requiresInitializedInput() const override
Returns true if the target vector x has to be initialized to zero before calling apply or applyDp.
virtual void pre(domain_type &, range_type &)
Preconditioner preparation.
virtual void apply(domain_type &x, range_type const &y)
typename Operator::domain_type domain_type
virtual Dune::SolverCategory::Category category() const override
returns the category of the operator
typename Operator::field_type field_type
typename Operator::range_type range_type