AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
IterativeSolverWrapper< S > Class Template Reference

#include <SolverWrapper.hpp>

Inherits InverseOperator< S::domain_type, S::range_type >.

Public Types

using domain_type = typename S::domain_type
 
using range_type = typename S::range_type
 
using LinOp = Dune::LinearOperator< domain_type, range_type >
 
using Prec = Dune::Preconditioner< domain_type, range_type >
 
using ScalProd = Dune::ScalarProduct< domain_type >
 

Public Member Functions

template<class... Args>
 IterativeSolverWrapper (LinOp &linOp, Prec &prec, Args &&... args)
 
template<class... Args>
 IterativeSolverWrapper (std::shared_ptr< LinOp > linOp, std::shared_ptr< Prec > prec, Args &&... args)
 
template<class... Args>
 IterativeSolverWrapper (LinOp &linOp, ScalProd &sp, Prec &prec, Args &&... args)
 
template<class... Args>
 IterativeSolverWrapper (std::shared_ptr< LinOp > linOp, std::shared_ptr< ScalProd > sp, std::shared_ptr< Prec > prec, Args &&... args)
 
void apply (domain_type &x, range_type &b, Dune::InverseOperatorResult &res) override
 Apply inverse operator.
 
void apply (domain_type &x, range_type &b, double reduction, Dune::InverseOperatorResult &res) override
 Apply inverse operator with given reduction factor.
 
Dune::SolverCategory::Category category () const override
 Category of the solver.
 

Detailed Description

template<class S>
class AMDiS::IterativeSolverWrapper< S >

Wrapper around dune-istl inverse operator, like Dune::IterativeSolver, to store a shared_ptr instead of a reference.


The documentation for this class was generated from the following file: