Ginkgo
Generated from pipelines/1556235455 branch based on develop. Ginkgo version 1.9.0
A numerical linear algebra library targeting many-core architectures
|
A LinOp deriving from this CRTP class stores a stopping criterion factory and allows applying with a guess. More...
#include <ginkgo/core/solver/solver_base.hpp>
Public Member Functions | |
EnableIterativeBase & | operator= (const EnableIterativeBase &other) |
Creates a shallow copy of the provided stopping criterion, clones it onto this executor if executors don't match. | |
EnableIterativeBase & | operator= (EnableIterativeBase &&other) |
Moves the provided stopping criterion, clones it onto this executor if executors don't match. More... | |
EnableIterativeBase (std::shared_ptr< const stop::CriterionFactory > stop_factory) | |
EnableIterativeBase (const EnableIterativeBase &other) | |
Creates a shallow copy of the provided stopping criterion. | |
EnableIterativeBase (EnableIterativeBase &&other) | |
Moves the provided stopping criterion. More... | |
void | set_stop_criterion_factory (std::shared_ptr< const stop::CriterionFactory > new_stop_factory) override |
Sets the stopping criterion of the solver. More... | |
Public Member Functions inherited from gko::solver::IterativeBase | |
std::shared_ptr< const stop::CriterionFactory > | get_stop_criterion_factory () const |
Gets the stopping criterion factory of the solver. More... | |
A LinOp deriving from this CRTP class stores a stopping criterion factory and allows applying with a guess.
DerivedType | the CRTP type that derives from this |
|
inline |
Moves the provided stopping criterion.
The moved-from object has a nullptr stopping criterion.
|
inline |
Moves the provided stopping criterion, clones it onto this executor if executors don't match.
The moved-from object has a nullptr stopping criterion.
|
inlineoverridevirtual |
Sets the stopping criterion of the solver.
other | the new stopping criterion factory |
Reimplemented from gko::solver::IterativeBase.
Referenced by gko::solver::EnableIterativeBase< Bicg< ValueType > >::operator=().