Dune Core Modules (unstable)

ISTL_Factory

Classes

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

Functions

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)
 Instantiates an InverseOperator from an Operator and a configuration given as a ParameterTree. More...
 

Detailed Description

Function Documentation

◆ 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 
)

Instantiates an InverseOperator from an Operator and a configuration given as 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".

References Dune::SolverFactory< Operator >::get().

Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Jul 17, 22:30, 2024)