Dune Core Modules (2.8.0)
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
-
op Operator config ParameterTree
with configurationprec Custom Preconditioner
(optional). If not given it will be created with thePreconditionerFactory
and the configuration given in subKey "preconditioner".
References Dune::SolverFactory< Operator >::get().
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 22, 23:30, 2024)