13#ifndef TRIVIALPRECONDITIONER_HH
14#define TRIVIALPRECONDITIONER_HH
16#include "dune/istl/preconditioners.hh"
17#include "dune/istl/solvercategory.hh"
33 template <
class Operator>
34 class TrivialPreconditioner:
public Dune::Preconditioner<typename Operator::domain_type,typename Operator::range_type>
49 virtual Dune::SolverCategory::Category
category()
const override
51 return Dune::SolverCategory::sequential;
The trivial preconditioner: this is simply the identity that does exactly nothing.
virtual void post(domain_type &)
Operator::range_type range_type
virtual void pre(domain_type &, range_type &)
virtual void apply(domain_type &x, range_type const &y)
virtual Dune::SolverCategory::Category category() const override
returns the category of the operator
Operator::domain_type domain_type