Dune Core Modules (2.9.1)

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 (Nov 21, 23:30, 2024)