dune-istl  2.7.0
Namespaces | Classes | Typedefs | Functions
ISTL_Factory
Collaboration diagram for ISTL_Factory:

Namespaces

 Dune
 

Classes

class  Dune::UnsupportedType
 
class  Dune::SolverFactory< Operator >
 Factory to assembly solvers configured by a ParameterTree. More...
 

Typedefs

template<class M , class X , class Y >
using Dune::DirectSolverSignature = std::shared_ptr< InverseOperator< X, Y > >(const M &, const ParameterTree &)
 
template<class M , class X , class Y >
using Dune::DirectSolverFactory = Singleton< ParameterizedObjectFactory< DirectSolverSignature< M, X, Y > >>
 
template<class M , class X , class Y >
using Dune::PreconditionerSignature = std::shared_ptr< Preconditioner< X, Y > >(const M &, const ParameterTree &)
 
template<class M , class X , class Y >
using Dune::PreconditionerFactory = Singleton< ParameterizedObjectFactory< PreconditionerSignature< M, X, Y > >>
 
template<class X , class Y >
using Dune::IterativeSolverSignature = std::shared_ptr< InverseOperator< X, Y > >(const std::shared_ptr< LinearOperator< X, Y > > &, const std::shared_ptr< ScalarProduct< X > > &, const std::shared_ptr< Preconditioner< X, Y > >, const ParameterTree &)
 
template<class X , class Y >
using Dune::IterativeSolverFactory = Singleton< ParameterizedObjectFactory< IterativeSolverSignature< X, Y > >>
 

Functions

template<template< class, class, class, int >class Preconditioner, int l = 1>
auto Dune::default_preconditoner_BL_creator ()
 
template<template< class, class, class >class Preconditioner>
auto Dune::default_preconditoner_creator ()
 
template<template< class... >class Solver>
auto Dune::default_iterative_solver_creator ()
 
template<class Operator >
std::shared_ptr< InverseOperator< typename Operator::domain_type, typename Operator::range_type > > Dune::getSolverFromFactory (std::shared_ptr< Operator > op, const ParameterTree &config, std::shared_ptr< Preconditioner< typename Operator::domain_type, typename Operator::range_type >> prec=nullptr)
 Instanciates an InverseOperator from an Operator and a configuration given in a ParameterTree. More...
 

Detailed Description

Typedef Documentation

◆ DirectSolverFactory

template<class M , class X , class Y >
using Dune::DirectSolverFactory = typedef Singleton<ParameterizedObjectFactory<DirectSolverSignature<M,X,Y> >>

◆ DirectSolverSignature

template<class M , class X , class Y >
using Dune::DirectSolverSignature = typedef std::shared_ptr<InverseOperator<X,Y> >(const M&, const ParameterTree&)

◆ IterativeSolverFactory

template<class X , class Y >
using Dune::IterativeSolverFactory = typedef Singleton<ParameterizedObjectFactory<IterativeSolverSignature<X,Y> >>

◆ IterativeSolverSignature

template<class X , class Y >
using Dune::IterativeSolverSignature = typedef std::shared_ptr<InverseOperator<X,Y> >(const std::shared_ptr<LinearOperator<X,Y> >&, const std::shared_ptr<ScalarProduct<X> >&, const std::shared_ptr<Preconditioner<X,Y> >, const ParameterTree&)

◆ PreconditionerFactory

template<class M , class X , class Y >
using Dune::PreconditionerFactory = typedef Singleton<ParameterizedObjectFactory<PreconditionerSignature<M,X,Y> >>

◆ PreconditionerSignature

template<class M , class X , class Y >
using Dune::PreconditionerSignature = typedef std::shared_ptr<Preconditioner<X,Y> >(const M&, const ParameterTree&)

Function Documentation

◆ default_iterative_solver_creator()

template<template< class... >class Solver>
auto Dune::default_iterative_solver_creator ( )

◆ default_preconditoner_BL_creator()

template<template< class, class, class, int >class Preconditioner, int l = 1>
auto Dune::default_preconditoner_BL_creator ( )

◆ default_preconditoner_creator()

template<template< class, class, class >class Preconditioner>
auto Dune::default_preconditoner_creator ( )

◆ getSolverFromFactory()

template<class Operator >
std::shared_ptr<InverseOperator<typename Operator::domain_type, typename Operator::range_type> > Dune::getSolverFromFactory ( std::shared_ptr< Operator >  op,
const ParameterTree &  config,
std::shared_ptr< Preconditioner< typename Operator::domain_type, typename Operator::range_type >>  prec = nullptr 
)

Instanciates an InverseOperator from an Operator and a configuration given in a ParameterTree.

Parameters
opOperator
configParameterTree with configuration
precCustom Preconditioner (optional). If not given it will be created with the PreconditionerFactory and the configuration given in subKey "preconditioner".